Author |
Message
|
nageshkumar2008 |
Posted: Mon Sep 29, 2014 5:03 am Post subject: Error while using v7.5 com.ibm.mq.MQQueue get() APi-MQJE001b |
|
|
Newbie
Joined: 26 Apr 2014 Posts: 4
|
Hi All,
I am getting
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MQJE001b
at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
at java.util.ResourceBundle.getObject(ResourceBundle.java:371)
at java.util.ResourceBundle.getObject(ResourceBundle.java:371)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at com.ibm.mq.MQException.getMessage(MQException.java:1637)
at com.ibm.mq.MQException.<init>(MQException.java:1444)
at com.ibm.mq.MQDestination.getInt(MQDestination.java:647)
at com.ibm.mq.MQDestination.get(MQDestination.java:456)
when using version 7.5 java APIs.
Please, any one have idea?
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 29, 2014 10:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Missing a jar on the classpath?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nageshkumar2008 |
Posted: Mon Sep 29, 2014 11:19 pm Post subject: |
|
|
Newbie
Joined: 26 Apr 2014 Posts: 4
|
fjb_saper,
Thanks for quick reply. Verified classpath, all jars in place.
Searched for MQJE001b in all libraries at C:\Program Files (x86)\IBM\WebSphere MQ (mqc75_7.5.0.4_win client). not available.
Did not get why this error occurs? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 30, 2014 4:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks to me like you are missing the *jms*.jar or one of it's components... as the exception points towards a JMSException... On the other hand you might be getting the JMSException because an underlying native exception could not be thrown?
Dig deeper into your classpath. See if it happens when you have all the jars in <MQ_Install>/java/lib on your classpath. If it still does open a PMR.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
calanais |
Posted: Wed Oct 01, 2014 12:50 am Post subject: |
|
|
Apprentice
Joined: 12 Mar 2010 Posts: 32
|
That property file need should be in com.ibm.mq.jar - but that looks to be on the classpath if you can use MQDestination.
Is this a standalone command line started JVM here? Or inside some other framework? Any security policies or other special classloading in use? |
|
Back to top |
|
 |
nageshkumar2008 |
Posted: Wed Oct 01, 2014 2:45 am Post subject: |
|
|
Newbie
Joined: 26 Apr 2014 Posts: 4
|
Hi,
Yes, I found that property in com.ibm.mq.jar. And this jar, associated jar are available in classpath.
I tried removing all MQ jars and keeping only required jars.
Still it did not work
Actually no issue with app flow.
This is not a stand alone command line JVM. But it will be called from our Application frame work.
opening PMR might be only option  |
|
Back to top |
|
 |
|