Re: Problem while creating a queue connection and session

Tim Anderson <[email protected]> Tue, 04 Jul 2006 21:32:54 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Nooreazam wrote:
> Hi,
>
> I have common code which creates queue connection and session.
> Following are the two outputs in the log files
>
> In Web logic
> =======================
> qCon created = weblogic.jms.client.JMSConnection@1566b7d
> qSession created = weblogic.jms.client.JMSSession@523ca2
>
> In Jboss
> ======================
> qCon created =
> Connection@7960257[token=ConnectionToken:ID:1/b01d8f81e0f3bec50cb6945ef4dfa847
> rcvstate=STOPPED]
>
> qSession created = SpySession@8120514[tx=false ack=DUPSOK txid=null RUNNING
> connection=Connection@15612583[token=ConnectionToken:ID:2/4913c9a84c53dba13b54b0415c00d239
> rcvstate=STOPPED]]
>
> I want to know--
>   - The creation of connection and session will be different for different
> servers.
>   
>   -  Y it is creating spy session in the Jboss while it is JMS session in
> web logic.
>   
Each JMS provider has different implementations for the 
javax.jms.Connection and javax.jms.Session interfaces.
>   
>   -  Also y it is giving "rcvstate=STOPPED".
>   
On creation all JMS connections are stopped. They don't  receive 
messages until start() is invoked.
> Is this the configuration problem. If it is do let me know what we have to
> modify.
>   
I don't see any problems here.

-Tim

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642