After setting up the connection, session, and create a durable TopicSubscriber from
within the MBean, I start a separate thread to perform the message receiving loop
similar to the following:
while (true) {
Message msg = recv.receive();
processMsg(msg);
}
but the 2nd loop on the recv.receive() after the 1st message received, it encountered
the following exception that I wonder people can shed some lights what's the issue
here.
Thanks in advance.
Alan
-----------
09:16:56,258 WARN [OILServerILService] Client request resulted in a server exception:
javax.jms.JMSSecurityException: The login id has an assigned client id. That client id
is already connected to the server!
at
org.jboss.mq.sm.AbstractStateManager.checkUser(AbstractStateManager.java:213)
at
org.jboss.mq.server.JMSDestinationManager.checkUser(JMSDestinationManager.java:
748)
at
org.jboss.mq.server.JMSServerInterceptorSupport.checkUser(JMSServerInterceptorS
upport.java:274)
at
org.jboss.mq.server.TracingInterceptor.checkUser(TracingInterceptor.java:741)
at org.jboss.mq.server.JMSServerInvoker.checkUser(JMSServerInvoker.java:274)
at
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:321)
at java.lang.Thread.run(Thread.java:534)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828646#3828646
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828646
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user