|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Client jar fiel and com.ibm.mq.headers.jar for 7.5.0.2 |
« View previous topic :: View next topic » |
Author |
Message
|
Gideon |
Posted: Fri Jan 10, 2014 8:10 am Post subject: Client jar fiel and com.ibm.mq.headers.jar for 7.5.0.2 |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
I have a MQ client app in which I replaced the following 4 MQ client files (they were the 'only' 4 MQ client jar files contained within the larger client jar
Code: |
com.ibm.mq.jar
dhbcore.jar
com.ibm.mq.jmqi.jar
com.ibm.mqjms.jar |
The original jar file that contains the same 4 7.0.0.1 MQ client jars works well.
However, after I ran the jar file after replacing the 7.0.0.1 MQ client jars with 7.5.0.2 jar files, I get the following error (java stack):
Code: |
Caught Exception while Creating QueueConnection from QueueConnectionFactory
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
The Java(tm) MQI has thrown an exception describing the problem.
See the linked exception for further information.
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
The Java(tm) MQI has thrown an exception describing the problem.
See the linked exception for further information.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
...
...
...
... 11 more
Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/headers/MQDataException
at com.ibm.mq.ese.service.ServicesFactoryImpl.createPolicyService(ServicesFactoryImpl.java:173)
at com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.createServices(InterceptedJmqiImpl.java:224)
at com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.<init>(InterceptedJmqiImpl.java:184)
at com.ibm.mq.ese.jmqi.ESEJMQI.<init>(ESEJMQI.java:117)
... 16 more
Caused by: java.lang.ClassNotFoundException: com.ibm.mq.headers.MQDataException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 20 more
|
Does this mean that the new 7.5.0.2 jar files:
Code: |
com.ibm.mq.jar
dhbcore.jar
com.ibm.mq.jmqi.jar
com.ibm.mqjms.jar |
are now required to be packaged with the following file
Code: |
com.ibm.mq.headers.jar |
where the same jar files for 7.0.0.1 were not required to be packaged with this header file ?
Or is there some other problem I am not aware of
Many thanks in advance |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Jan 10, 2014 9:04 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Swapping jar files and only jar files is not a supported way of providing MQ connectivity to an MQ Client app.
Install the full MQ Client and point your app at the location of the jar files where the install put them.
When it comes time to upgrade, upgrade the MQ Client install.
And yes, I think its too much to have to do all this just for a few jar files. But its the only supported way, currently. I wish IBM would bring back the MA88 Support Pack. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Gideon |
Posted: Fri Jan 10, 2014 9:24 am Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
Yes, I agree that is the supported way, however I am being tasked to perform this configuration this way
Of the four standard client files used in 7.0.0.1 referenced below:
Code: |
com.ibm.mq.jar
dhbcore.jar
com.ibm.mq.jmqi.jar
com.ibm.mqjms.jar |
Do these same files within 7.6.0.2 now reference and thus require the presence of the following jar file ?
Code: |
com.ibm.mq.headers.jar |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jan 11, 2014 1:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Obviously, what you had is no longer enough. So what have you tried?  _________________ MQ & Broker admin |
|
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
|
|
|
|