Author |
Message
|
tingwen |
Posted: Thu Feb 23, 2006 3:51 pm Post subject: MQ 2072 (Sync Point Not Available) |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
This is my case:
1. MDB running on WAS 6.0, Linux,
2. MQ 6.0 and WAS 6.0 on same box
3. defined JMSAdmin object : xaqcf
4. bind mode defined
5. no channel, host name, etc defined in xaqcf object
6. MDB is running BMT
7. in MDB, UOW has: received msg, process some XA-DB2 works, put anohter msg in another queue
8. received MQ 2072 when doing queueSender.send(msg), com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2072
Comment and thoughts? please advise. thanks
wen |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 23, 2006 3:53 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you define the MDB method with transaction new, required or not supported ? Are sender and receiver using the same QCF ? _________________ MQ & Broker admin |
|
Back to top |
|
 |
mvic |
Posted: Thu Feb 23, 2006 4:08 pm Post subject: Re: MQ 2072 (Sync Point Not Available) |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
tingwen |
Posted: Thu Feb 23, 2006 4:15 pm Post subject: |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
I've set Tx 'Required' ... |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 23, 2006 4:19 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you upgraded MQ 6.0 to refresh pack 1? 6.0 base is a little bit too buggy. _________________ MQ & Broker admin
Last edited by fjb_saper on Thu Feb 23, 2006 4:20 pm; edited 1 time in total |
|
Back to top |
|
 |
tingwen |
Posted: Thu Feb 23, 2006 4:20 pm Post subject: |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
The receiver receives msg thru WAS 6.0 Message Listener Service which used non-XA QCF. However, the sender code is using xaqcf...
wen |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 23, 2006 4:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You will need XAQCF on both MDB listener and sender. Otherwise there is not multiphase commit possible. _________________ MQ & Broker admin |
|
Back to top |
|
 |
tingwen |
Posted: Thu Feb 23, 2006 4:23 pm Post subject: |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
nope i did not upgrade, will look for the upgrade now... |
|
Back to top |
|
 |
tingwen |
Posted: Thu Feb 23, 2006 6:10 pm Post subject: |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
Installed WMQ 6.0.1 Refresh Pack. Now facing following exception:
[2/23/06 17:41:59:721 PST] 0000002f SystemErr R java.lang.UnsupportedOperationException: MQJMS1091: operation invalid for unidentified producer
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:991)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1056)
at ejbs.PODSRcvBean.onMessage(PODSRcvBean.java:210)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:319)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:288)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:266)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1744)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:963)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:871)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:636)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:603)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
I will keep searching for info. Thanks for all helps on this site.
wen |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 23, 2006 8:19 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is the code that generated the exception ? _________________ MQ & Broker admin |
|
Back to top |
|
 |
tingwen |
Posted: Thu Feb 23, 2006 10:44 pm Post subject: |
|
|
Novice
Joined: 19 Aug 2005 Posts: 24
|
|
Back to top |
|
 |
BenR |
Posted: Thu Feb 23, 2006 11:09 pm Post subject: |
|
|
Acolyte
Joined: 31 Jan 2006 Posts: 60 Location: Hursley, UK
|
Quote: |
MQJMS1091: operation invalid for unidentified producer
|
When you create a MessageProducer, you usually specify the Destination to send messages to. However, you can leave this null - this is an 'unidentified producer'.
If you do this, then every time the producer sends a message you must specify a Destination - if you use a send method that does not include a Destination, then the producer doesn't know where to send the message and you'll get this error. |
|
Back to top |
|
 |
|