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 » IBM MQ Java / JMS » MQJE001: Completion Code '2', Reason '2495' Error

Post new topic  Reply to topic Goto page Previous  1, 2
 MQJE001: Completion Code '2', Reason '2495' Error « View previous topic :: View next topic » 
Author Message
di.wang
PostPosted: Tue Dec 20, 2011 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Dec 20, 2011 8:05 am    Post subject: Reply with quote

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
View user's profile Send private message
di.wang
PostPosted: Tue Dec 20, 2011 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
di.wang
PostPosted: Tue Dec 20, 2011 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJE001: Completion Code '2', Reason '2495' Error
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.