|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS Config service command issue. |
« View previous topic :: View next topic » |
Author |
Message
|
sravan |
Posted: Fri Jul 09, 2021 9:20 am Post subject: JMS Config service command issue. |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Jul 09, 2021 1:16 pm Post subject: Re: JMS Config service command issue. |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|