Posted: Wed Jul 10, 2002 4:34 am Post subject: MQJMS1013
Master
Joined: 27 Mar 2002 Posts: 207 Location: India
Hi,
O.S AIX 4.3 & MQ 5.2 Latest MQ pub-Sub Any one knows where to find the Error Description for MQJMS1013 since IBM has only given the Reason Code & Completion Code related to QM but no doccument describes about the MQJMS Error
When ever Iam publishing the message through my application I get following Error ehat do you mean by MQJMS1013
javax.jms.JMSException: MQJMS1013: operation invalid whilst session is using asynchronous delivery
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:418)
at com.ibm.mq.jms.MQTopicPublisher.publish(MQTopicPublisher.java:286)
at com.ibm.mq.jms.MQTopicPublisher.publish(MQTopicPublisher.java:386)
at scb.util.MessageSender.sendMessage(MessageSender.java:171)
at scb.util.MessageSender.sendMessage(MessageSender.java:87)
at scb.ebbs.ecodes.gui.event.CurrencyApplet.okBtn_actionPerformed(CurrencyApplet.java:299)
at scb.ebbs.ecodes.gui.event.CurrencyApplet.currentStateChanged(CurrencyApplet.java:70)
at scb.com.SCBToolBar.fireCurrentStateChanged(SCBToolBar.java:532)
at scb.com.SCBToolBar.actionPerformed(SCBToolBar.java:518)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
This error normally comes when within the same session u create a messageListener (for asynchronus delivery) and u then also create the call the receive() function (for sync getting of messages).
Just try by creating seprate sessions and see the results....
one more issue cud be there that a session can not act simultaneously as a message producer as well as the message consumer....so just chk that too whether u have not created both these from the same session at a given time...
but most probably urs error shud be resolved once u create seprate sessions for async receiver and the sync receiver
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