|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQJE001: Completion Code '2', Reason '2495' Error |
« View previous topic :: View next topic » |
Author |
Message
|
di.wang |
Posted: Tue Dec 20, 2011 8:03 am Post subject: |
|
|
Novice
Joined: 12 Sep 2011 Posts: 10
|
:the only information you need for a bindings connection is the name of the queue manager - the port provides no value.
Thanks mqjeff, I understand port value is not needed for binding, but will it PREVENT the binding happaning if it comes with a value based on client's current setup (queue manager has value, hostname as null, port 1414 as hardcode in Java code)?
:You otherwise need to make sure that the java application/app server is started up in a command shell that has the MQ libraries configured in it properly - see the post from roger lacroix.
I have looked at their windows system, and yes seems they installed mqm server software correctly, i can see mqjbnd.dll is located at: D:\apps\mqm\java\lib folder which not used to be there before when they only do client connection.
The following is their classpath, and seems to be OK with me.
d:\apps>echo %classpath%
d:\apps\mqm\Java\lib\com.ibm.mqjms.jar;d:\apps\mqm\Java\lib\com.ibm.mq.jar;D:\apps\mqm\java\lib\com.ibm.mq.jmqi.jar;d:\apps\mqm\Java\lib
what else do I miss?
Again, thanks for your continous response, we appreciate very much! |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Dec 20, 2011 8:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
CLASSPATH is not sufficient.
Read Roger's post again. Notice that it doesn't mention CLASSPATH. |
|
Back to top |
|
 |
di.wang |
Posted: Tue Dec 20, 2011 8:12 am Post subject: |
|
|
Novice
Joined: 12 Sep 2011 Posts: 10
|
wow, i missed that part. It is PATH instead of CLASSPATH.
I will verify with my client and let them get the path value from system variable.
However, i looked at my own machine, even if I only installed the mq client side software, i already have {MQ_install}\Java\lib on my path. So very likely, they already have this value on their path as well. What else could be missed  |
|
Back to top |
|
 |
di.wang |
Posted: Tue Dec 20, 2011 12:38 pm Post subject: |
|
|
Novice
Joined: 12 Sep 2011 Posts: 10
|
Hi mqjeff,
I just got verification from client, Path also contains {MQ_install}\Java\lib as part of the value as we expected. So, what else could be missing? Thanks. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|