Author |
Message
|
ganeshxp |
Posted: Wed Jul 29, 2009 5:05 am Post subject: Getting Error when starting a Get Operation |
|
|
Newbie
Joined: 29 Jul 2009 Posts: 3
|
Hi I am using Business Objects Data Services Tool, and connect to the MQ Series Server using the JMS Adapter.
I am getting the below message for when I start a GET Operation
JMS GET OPERATION ERROR : ERROR IN JMS INITIALIZATION.
javax.jms.InvalidDestinationException: MQJMS2008: failed to open MQ
queue at com.ibm.mq.jms.MQQueueServices.getQueueOpenException
(MQQueueServices.java:412) at
com.ibm.mq.jms.JMSServicesMgr.getQueueOpenException
(JMSServicesMgr.java:120) at com.ibm.mq.jms.MQSession.createQReceiver
(MQSession.java:6000) at com.ibm.mq.jms.MQQueueSession.createReceiver
(MQQueueSession.java:278) at
com.ibm.mq.jms.MQQueueSession.createReceiver(MQQueueSession.java:256)"
Please anyone has any idea of this messgae?  |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Jul 29, 2009 5:11 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Whats the MQ reason code?
There should be more info in the exception trace which will help identify the issue |
|
Back to top |
|
 |
ganeshxp |
Posted: Wed Jul 29, 2009 5:50 am Post subject: |
|
|
Newbie
Joined: 29 Jul 2009 Posts: 3
|
In my trace log of my application I am not able to find any reason code????
By the way, my Websphere MQ server version is 6.0 and client is also same.
Is that true that we need to compulsorily use Username & Password from MQ v6.0? Somewhere I hered like that.
Also I get this Message previously:
java.lang.ClassCastException:
com.ibm.jms.JMSBytesMessage |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Jul 29, 2009 6:17 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
ganeshxp wrote: |
In my trace log of my application I am not able to find any reason code????
|
You may need to change the code to print all of the exception out but it will be most helpful to get to the MQRC.
Quote: |
Is that true that we need to compulsorily use Username & Password from MQ v6.0? Somewhere I hered like that.
|
no
Quote: |
Also I get this Message previously:
java.lang.ClassCastException:
com.ibm.jms.JMSBytesMessage |
Are you explicity casting a bytes message to some other type (eg text message) probably with a line of code like:
Code: |
TextMessage tm = (TextMessage) message |
|
|
Back to top |
|
 |
anilit99 |
Posted: Wed Jul 29, 2009 8:10 am Post subject: |
|
|
 Voyager
Joined: 28 May 2009 Posts: 75 Location: London, UK
|
Extract the linked exception from your JMSException. You can find the error code there.
I am not sure why you are getting the cast exception, since you weren't able to send the message across. _________________ "I almost care !" |
|
Back to top |
|
 |
anilit99 |
Posted: Wed Jul 29, 2009 8:13 am Post subject: |
|
|
 Voyager
Joined: 28 May 2009 Posts: 75 Location: London, UK
|
oops my bad.
You were doing a GET and you were trying to cast two different types as already been pointed. _________________ "I almost care !" |
|
Back to top |
|
 |
|