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 » mqjbnd02 vs mqjbnd05

Post new topic  Reply to topic
 mqjbnd02 vs mqjbnd05 « View previous topic :: View next topic » 
Author Message
olejvik
PostPosted: Wed Nov 28, 2007 1:48 am    Post subject: mqjbnd02 vs mqjbnd05 Reply with quote

Newbie

Joined: 28 Nov 2007
Posts: 2

I'm trying to kickstart an old java-application (in Windows) that uses an old version of the mq-client.

When running, errors occur about missing mqjbnd02. I have of course set up the path/classpath etc variables correctly. I'm using a new version of MQseries that uses mqjbnd05, but the application doesn't seem to want to use this.

I find it frustrating that a newer version seemingly cannot be used...
I've searched for mqseries v5.3, but is nowhere to be seen on the web. Any tips for a workaround?

Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 28, 2007 2:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you recompile the app against the newer MQ client? Or are you using the old .class files?

If you don't have code to recompile with, you're likely out of luck.

EDIT:

Also if it's trying to use either mqjbnd*, then it's not making a client connection!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
manicminer
PostPosted: Wed Nov 28, 2007 3:07 am    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

Has the application you are running bundled an old verison of the MQ Client along with it?

If only the new client is in your classpath then it should be trying to access mqjbnd05. The only thing that would access mqjbnd02 is an set of client jar files (unless you app is trying to be clever and checks for mqjbnd02 itself? is it definately the MQ jars that is throwing the error?)

AFAIK you shouldn't have to rebuild the app for this to work, just ensure that only the new java client jar files are available. It would be worth checking the jar files for your app to ensure they don't include the MQ client.
Back to top
View user's profile Send private message
olejvik
PostPosted: Wed Nov 28, 2007 3:10 am    Post subject: Reply with quote

Newbie

Joined: 28 Nov 2007
Posts: 2

manicminer wrote:
Has the application you are running bundled an old verison of the MQ Client along with it?


Bingo! I found an old version of com.ibm.mq.jar, and deleting it solved the problem.

Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » mqjbnd02 vs mqjbnd05
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.