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 » Search

 Search found 14 matches
Author Message
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Mon Jul 20, 2009 1:36 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
http://en.wikipedia.org/wiki/Java_Classloader

see the part about 'JAR Hell'! sounds like what happened to us.
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Mon Jul 20, 2009 1:04 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
it was indeed a class problem - more specifically, a class loader problem. Seems that MQ7 has its own class loader? anyway, that class loader interferes with out application's class loader.

In any ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 5:59 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
btw might there be a set of release notes specific to MQ 7 Java API? particularly any methods that might have been deprecated since MQ 6 (or just a list of changes between MQ 6 and MQ 7)

there is J ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 5:40 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
well certainly a full recompile of the 'big' app may be in order.

However, I did recompile the MQ specific classes against MQ 7 jars, jar'ed them up, prepended the jar to my classpath, and tried it ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 3:37 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
well here's the odd thing - the same code works as a separate application, but within our code, it fails with the 2298.

I stole this sample app from another post here. run separately, it works fine ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 3:04 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
I'll take a look at filemon but I can confirm that no MQ 6 jars are being used - only MQ 7 jar files.

My classpath is explicitly defined to only point to the 3 MQ jar files I mentioned earlier. No ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 2:31 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
I am certain that I only have MQ 7 jar files in my classpath. The test I mentioned with MQ 6 was just tried once and the old jars were immediately deleted.

I can certainly set '-verbose' - but that ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 2:15 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
sorry - I am on Windows XP SP3. running both MQ server + application on the same machine.

the old jar files don't seem to be enough - I tried by manually copying the ncessary MQ 6 jar files, but it ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 2:13 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
now that I am using MQ 7 with the application, I recompiled the application against the MQ 7 jar files, and run the application using the MQ 7 jar files (I don't even have anything left from MQ 6 to r ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 2:03 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
btw no FDC file is created.
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 17, 2009 1:53 am   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
Currently in my classpath, when using MQ 7, I have the following jars

com.ibm.mq.jar
connector.jar
com.ibm.mq.jmqi.jar

when the application was working fine with MQ 6, I had only the first two ...
  Topic: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
zvirbulis

Replies: 21
Views: 34133

PostForum: IBM MQ Java / JMS   Posted: Thu Jul 16, 2009 9:55 pm   Subject: MQ 6 to 7 - establishing of queue manager causes 2298, 2195
Unfortunately I will not be able to provide much info here, but perhaps can give some ideas about what might have changed between Mq 6 and 7 that would cause this strange behavior.

Our application ...
  Topic: com.ibm.mq.MQException in MQ7?
zvirbulis

Replies: 6
Views: 13473

PostForum: IBM MQ Java / JMS   Posted: Thu Jul 16, 2009 9:44 pm   Subject: com.ibm.mq.MQException in MQ7?
thanks - you are indeed correct - it is now in com.ibm.mq.jmqi.jar
  Topic: com.ibm.mq.MQException in MQ7?
zvirbulis

Replies: 6
Views: 13473

PostForum: IBM MQ Java / JMS   Posted: Thu Jul 16, 2009 8:06 am   Subject: com.ibm.mq.MQException in MQ7?
MQ 5/6 had a class com.ibm.mq.MQException in the com.ibm.mq.jar file

Has this class been removed in MQ7? Since the MQ7 com.ibm.mq.jar file does not have that class.
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.