[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB login for topic subscriber
adrian@jboss.org
do-not-reply at jboss.com
Fri May 16 12:41:44 EDT 2008
You're tryin to create a pool of connections all with the same client id.
This isn't allowed. Only one connection can use a client id at once.
| javax.resource.spi.CommException: javax.jms.JMSSecurityException: The login id has an assigned client id 'guest', that is already connected to the server!
| at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
| at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172)
| at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:95)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
|
You can use the jms resource adapter with a client id,
but only if you set the max-pool-size to 1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151487#4151487
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151487
More information about the jboss-user
mailing list