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 » Error Publishing msg to MQ After migration to V 7.0.1.1

Post new topic  Reply to topic
 Error Publishing msg to MQ After migration to V 7.0.1.1 « View previous topic :: View next topic » 
Author Message
nallabalu
PostPosted: Tue May 11, 2010 8:32 am    Post subject: Error Publishing msg to MQ After migration to V 7.0.1.1 Reply with quote

Novice

Joined: 29 Mar 2005
Posts: 19
Location: Long Island, NY

We have noticed an application error, unable to create a session when connecting to Migrated MQ in our Test environment. The JMS pub/sub application connection is from Weblogic and current version of WMQ v7.0.1.1(the previous version was MQ v6.0.2.8 ) on Windows 2003, sp2. But it worked fine when it was connecting to the previous version of MQ. Are there any major application changes required, to connect to the new MQ 7.0. ( i haven't seen in one in IBM documentation for migration)

I am not a jms guy, so dont understand what exactly causing the issue.
Greatly appreciate any help/suggestions. Please see the error message below: (changed the actual names)

ERROR
xxxx.abc_xxxxxx_bridge.abc_xxxxx_bridge.jmscxn.wxyz.jms.JMSTopicConnection(770) - Error creating new map message: JMSCC0033: A synchronous method call is not permitted when a session is being used asynchronously: 'createMapMessage'
com.ibm.msg.client.jms.DetailedIllegalStateException: JMSCC0033: A synchronous method call is not permitted when a session is being used asynchronously: 'createMapMessage' The JMS specification does not permit the use of a session for synchronous methods when asynchronous message delivery is running. Create a separate session if you wish to use both synchronous methods and asynchronous delivery simultaneously.
.
.
ERROR
wxyz.abc_xxxxxx_bridge.abc_xxxxxxx_bridge.wxyz.jms.wxyzMessage(1084) - Null message, unable to get header value.
java.lang.Exception: Null message.
at wxyz.jms.wxyzMessage.getHeader(wxyzMessage.java:1084)
at wxyz.jms.wxyzMessage.getTopic(wxyzMessage.java:829)
at wxyz.jms.wxyzMessage.<init>(wxyzMessage.java:504)
at wxyz.xxxxxxx.abcxxxxxxxxMQReceiver.onMessageEvent(abcxxxxxxxxMQReceiver.java:142)
at wxyz.mq.MQSubscriber.run(MQSubscriber.java:265)
2010-05-06 10:53:41,614 DEBUG wxyz.abc_xxxxxx_bridge.abc_xxxxxxx_bridge.wxyz.jms.wxyzMessage(508) - Message topic is not defined, rewriting headers to set up the topic.
2010-05-06 10:53:41,614 ERROR wxyz.abc_xxxxxx_bridge.abc_xxxxxxx_bridge.wxyz.jms.wxyzMessage(1856) - Null pointer.
java.lang.NullPointerException
Back to top
View user's profile Send private message
mvic
PostPosted: Wed May 12, 2010 4:30 am    Post subject: Re: Error Publishing msg to MQ After migration to V 7.0.1.1 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Nothing related to com.ibm.mq.X appears in your exception - why is it thought something within MQ went wrong?

Did your application change at the same time as you upgraded MQ?
Back to top
View user's profile Send private message
nallabalu
PostPosted: Wed May 12, 2010 5:02 am    Post subject: Reply with quote

Novice

Joined: 29 Mar 2005
Posts: 19
Location: Long Island, NY

No application changes were made before or after MQ upgrade. Guess MQ should have went wrong, because the same application was working fine with v6.0 until the migration. This is the new error we noticed only after the migration. no clues..
Back to top
View user's profile Send private message
mvic
PostPosted: Wed May 12, 2010 5:14 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

nallabalu wrote:
no clues..

There are lots of clues, in the exceptions you pasted. There is no mention of com.ibm.mq but lots of mentions of other classes. Check with the owners of those classes.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 12, 2010 1:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You cannot use the session used to receive a message in an MDB to create an outbound message and connection. You have to create an additional session (from the same connection) to send your response.
This is what the message is telling you. Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Error Publishing msg to MQ After migration to V 7.0.1.1
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.