users@genericjmsra.java.net

Re: RE: Re: Problem with with SJAS 9 and WebSphere MQ 5.3

From: Binod P G <Binod.Pg_at_Sun.COM>
Date: Thu, 29 Jun 2006 10:42:23 +0500

----- Original Message -----
From: "Janardhanan, Ajith (AJANARDH)" <AJANARDH_at_arinc.com>
Date: Thursday, June 29, 2006 10:48 am
Subject: RE: Re: Problem with with SJAS 9 and WebSphere MQ 5.3
To: users_at_genericjmsra.dev.java.net

>
>
> I donot have any resource operation in my mdb, except that the MDB
> has to read the message from the MQ queue, and propagate the read
> message to somewhere, by calling the webservice and the propagated
> message is deleted from the queue. I do not send a reply nor do I
> use a database. Do these set of operations require SupportsXA ?

It should be fine to use SupportsXA=false in this case.

>
>
> In my MDB onMessage() method, Im reading the message and calling
> the webservice. I have an empty MDB constructor, I donot have any
> other methods in the mdb.
>
> Now, I tried SupportsXA=false , the pool created in the AppServer
> to point to the XAQCF created using JMSAdmin and while deploying
> the mdb I receive the error "SupportsXA is false and MDB has
> container managed transaction" and the ejb is not loaded. Is there
> anything else to be configured like changing any of the generated
> xml files?

Please configure a QCF and XAQCF in JMSAdmin and configure
the MDB deployment descriptor to not use transaction mode "Required"

- Binod.

>
>
> Thanks
> Ajith
>
>
> ________________________________
>
> From: Binod [mailto:Binod.Pg_at_Sun.COM]
> Sent: Wed 6/28/2006 11:14 PM
> To: users_at_genericjmsra.dev.java.net
> Subject: Re: Problem with with SJAS 9 and WebSphere MQ 5.3
>
>
>
> Janardhanan, Ajith (AJANARDH) wrote:
>
> >Binod,
> >I am running into another problem. Before that, I would appreciate if
> >you could clarify this:
> >
> >My requirement is I need to listen to a bunch of MQ queues on IBM
> MQ5.3>and get the messages and once message arrive, call a
> webservice. My
> >solution is I am using the MDB for listening on the IBM MQ queues,
> using>genericra on SJAS9.0. I don't have MQ an extended transaction
> client>installed and don't have the licence for that. Is my
> solution sound the
> >best way /what is the best solution?
> >
> >
> Transactions doesnt get propagated to webservice anyway. If you dont
> have any
> other resource operation within the MDB (eg writing to a DB or
> sending a
> reply message)
> then you are okay. If you have any of those, then you might have
> atomicity issues.
>
> >Do I have to create XAQCF inorder to have a container managed
> >transation, is qcf not enough?
> >
> >
> Yes. Keep the SupportsXA flag to false and make MDB non-transacted
> also.
> >
> >Now, where I am facing problem is, I see that the server session is
> >getting created every minute and the connections are not getting
> close>and at the end AppServer does not respond. The log is is
> attached.>
> >
> Others in the list experienced this issue as well. From what I
> understood, this is
> because you dont have ETC and you are trying to use XA.
>
> If you use non-XA mode and still face the issue, let us know.
>
> - Binod.
>
> >
> >
> >Thank you
> >Ajith
> >
> >
> >
> >[#|2006-06-28T20:14:39.838+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:39.839+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:39.905+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:39.906+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:39.955+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:39.956+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.005+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.006+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.054+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.055+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.102+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.103+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.151+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.152+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.221+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=_getServerSession;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418>a6b4;|JMS provider is getting the ServerSession|#]
> >
> >[#|2006-06-28T20:14:40.222+0000|FINER|sun-appserver-
> pe9.0|com.sun.generi>cjmsra|_ThreadID=15;_ThreadName=MQQueueAgent
> >(JMS1.QUEUE);ClassName=com.sun.genericra.inbound.InboundJmsResourcePool;
> >MethodName=create;_RequestID=8db28bad-4f0b-4243-b0bf-
> 1676d418a6b4;|Creat>ing the ServerSession|#]
> >
> >
> >-------------------------------------------------------------------
> -----
> >
> >-------------------------------------------------------------------
> --
> >To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> >For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
> >
> >
>
> --------------------------------------------------------------------
> -
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>
>
>