ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS Config service command issue.

Post new topic  Reply to topic
 JMS Config service command issue. « View previous topic :: View next topic » 
Author Message
sravan
PostPosted: Fri Jul 09, 2021 9:20 am    Post subject: JMS Config service command issue. Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

I am facing an issue with a URL list while creating JMS Config service due to comma separated value.

Please let me know how to resolve it.

The issue is with the value java.naming.provider.url=tcps://host1:55443,tcps://host2:55443; as it has 2 values for one parameter with comma separated.
Copied error after the Config service commands.

mqsicreateconfigurableservice TESTBK -c JMSProviders -o Solace_JMS_IST_SSL

mqsichangeproperties TESTBK -c JMSProviders -o Solace_JMS_IST_SSL -n jarsURL -v "/apps/iib/classes"

mqsichangeproperties TESTBK -c JMSProviders -o Solace_JMS_IST_SSL -n jndiEnvironmentParms -v "java.naming.factory.initial=com.solacesystems.jndi.SolJNDIInitialContextFactory;jmsProviderXASupport=false;java.naming.provider.url=tcps://host1:55443,tcps://host2:55443;Solace_JMS_VPN=TEST_VPN;java.naming.security.principal=USER01;java.naming.security.credentials=USER01"


BIP8832E: Invalid number of property values specified.
'2' property values have been specified, but only '1' property names have been specified.
The number of property values specified must be less than or equal to the number of property names specified.
If you are attempting to specify commas in a property value, then that value must be enclosed with escaped double quotation marks (\\\" and \\\").
For example, -n Name1,Name2 -v Value1,\"Value21,Value22\".
_________________
skr_wmb
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 09, 2021 1:16 pm    Post subject: Re: JMS Config service command issue. Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

sravan wrote:
I am facing an issue with a URL list while creating JMS Config service due to comma separated value.

Please let me know how to resolve it.

The issue is with the value java.naming.provider.url=tcps://host1:55443,tcps://host2:55443; as it has 2 values for one parameter with comma separated.
Copied error after the Config service commands.

mqsicreateconfigurableservice TESTBK -c JMSProviders -o Solace_JMS_IST_SSL

mqsichangeproperties TESTBK -c JMSProviders -o Solace_JMS_IST_SSL -n jarsURL -v "/apps/iib/classes"

mqsichangeproperties TESTBK -c JMSProviders -o Solace_JMS_IST_SSL -n jndiEnvironmentParms -v "java.naming.factory.initial=com.solacesystems.jndi.SolJNDIInitialContextFactory;jmsProviderXASupport=false;java.naming.provider.url=tcps://host1:55443,tcps://host2:55443;Solace_JMS_VPN=TEST_VPN;java.naming.security.principal=USER01;java.naming.security.credentials=USER01"


BIP8832E: Invalid number of property values specified.
'2' property values have been specified, but only '1' property names have been specified.
The number of property values specified must be less than or equal to the number of property names specified.
If you are attempting to specify commas in a property value, then that value must be enclosed with escaped double quotation marks (\\\" and \\\").
For example, -n Name1,Name2 -v Value1,\"Value21,Value22\".

The solution is clearly outlined in the error message. Which part did you not understand?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS Config service command issue.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.