|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
LOCAL_ADDRESS not supported in Java / JMS? |
« View previous topic :: View next topic » |
Author |
Message
|
PeterPotkay |
Posted: Tue Sep 30, 2003 9:59 am Post subject: LOCAL_ADDRESS not supported in Java / JMS? |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
In all cases the objects are being stored in LDAP.
If I create a QCF using the JMSAdmin tool under 5.3, I see that there is a field called localaddress. I leave it unaltered (blank).
If I try and access this 5.3 created QCF using a JMS application running under 5.3, it fails with the below error:
Quote: |
Socket connection attempt refused due to LOCAL_ADDRESS_PROPERTY restrictions.
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
|
If I create a QCF using the JMSAdmin tool under 5.2, there is no way to set the property localaddress.
If I try and access this 5.2 created QCF using a JMS application running under 5.3, it works just fine.
And here is some more fun I found out playing with this QCF using the JMSAdmin tool.
If I create the QCF under 5.3, not specifying the localaddress, and then display this QCF using a 5.3 JMSAdmin tool, localaddress is not even displayed as a parameter.
If I create the QCF under 5.2, not specifying the localaddress, and then display this QCF using a 5.3 JMSAdmin tool, localaddress IS displayed as a paramter, with a blank value.
If I modify the 5.3 QCF using a 5.3 JMSAdmin tool, and specify the localaddress, and then display this QCF using a 5.3 JMSAdmin tool, localaddress is displayed with the proper value filled in.
If I modify the 5.3 QCF using a 5.3 JMSAdmin tool, and set the localaddress back to blank, and then display this QCF using a 5.3 JMSAdmin tool, localaddress is gone again!
The LOCAL_ADDRESS field is not mentioned at all in the MQ Using Java Manual. Has anyone successfully used a 5.3 QCF under Client mode without specifying localaddress? It seems that the JMSAdmin tool can't handle a 5.3 QCF that does not have some value in the localaddress field, and neither can my JMS application.  _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|