4 Replies Latest reply on Jul 26, 2006 6:46 AM by Lakshmi Dasari

    User: Null is NOT authenticated

    hari krishna Newbie

      I'm using JBoss 4.0 and Oracle 9i.
      when I'm using default server(hypersonic) for jms it is working but when I'm shifting to Oracle it is giving the following error.

      javax.jms.JMSSecurityException: User: Null is NOT authenticated
      at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
      at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
      at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:781)
      at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:287)
      at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:301)
      at org.jboss.mq.Connection.authenticate(Connection.java:1153)
      at org.jboss.mq.Connection.(Connection.java:248)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:55)
      at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:108)
      at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:129)
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:154)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:545)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:767)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1272)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:779)

      The things that which I have done is :
      Copied Oracle's JDBC driver .zip file /jdbc/lib/classes12.zip to the server/default/lib directory.

      modifed the oracle-ds.xml configuration file, the <driver-class/> and <connection-url/> settings.

      Next, modified the standardjbosscmp-jdbc.xml and copied into jboss_home/server/default/deploy directoy by setting the and <datasource-mapping> elements to use Oracle:

      <jbosscmp-jdbc>

      java:/OracleDS
      <datasource-mapping>Oracle8</datasource-mapping>

      </jbosscmp-jdbc>


      Next modified login-config.xml to use Oracle. Added the following <application-policy> element to login-config.xml:

      <application-policy name = "OracleDbRealm">

      <login-module code =
      "org.jboss.resource.security.ConfiguredIdentityLoginModule"
      flag = "required">
      <module-option name = "principal">sa</module-option>
      <module-option name = "userName">sa</module-option>
      <module-option name = "password"></module-option>
      <module-option name ="managedConnectionFactoryName">
      jboss.jca:service=LocalTxCM,name=OracleDS
      </module-option>
      </login-module>

      </application-policy>


      next changed the state manager oracle-jdbc-state-service.xml


      <depends optional-attribute-name="ConnectionManager">jboss.jca:service=LocalTxCM,name=OracleDS

      Additionally, In conf/login-config.xml changed dsJndiName.


      <!-- Security domain for JBossMQ -->
      <application-policy name = "jbossmq">

      <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
      flag = "required">
      <module-option name = "unauthenticatedIdentity">guest</module-option>
      <module-option name = "dsJndiName">java:/OracleDS</module-option>
      <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
      <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
      </login-module>

      </application-policy>

      and finally in MDB, jboss.xml the following is written

      jboss>
      <enterprise-beans>
      <message-driven>
      <ejb-name>SampleMDB</ejb-name>
      <destination-jndi-name>queue/testQueue</destination-jndi-name>
      </message-driven>
      </enterprise-beans>

      <resource-managers>
      </resource-managers>



      But I'm getting the error as mentioned aboue.
      Should I need to add something elsewhere.
      Thank in advance,

      Regards,
      Hari

        • 1. Re: User: Null is NOT authenticated
          Mark Miller Newbie

          I am getting this same problem. I am using Postgres instead of Oracle. We are upgrading from JBoss 3.2.3 to 4.0.0, and everything worked fine in 3.2.3, but now I get this exception when creating a topic connection. Did you or anyone else figure out what your problem was?

          Thanks in advance,
          Markl

          • 2. Re: User: Null is NOT authenticated
            Scott Stark Master

            Enable trace level logging of the org.jboss.security category to better see what is going on by adding the following to the conf/log4j.xml:

             <category name="org.jboss.security">
             <priority value="TRACE" class="org.jboss.logging.XLevel"/>
             </category>
            



            • 3. Re: User: Null is NOT authenticated
              Mark Miller Newbie

              Thanks, I figured out what I had wrong, when I converted JMS to use postgres I changed the state service to use the file version instead of the database and I had forgotten to the change the conf/login-config.xml file to use DynamicLoginModule instead of the DatabaseServerLoginModule for the jbossmq security domain. Once I fixed that it started working fine.

              Thanks,
              Mark

              • 4. Re: User: Null is NOT authenticated
                Lakshmi Dasari Newbie

                I see this exception on server startup at times. Its very inconsistence and disappears on server restart

                Iam using Jboss4.0.4GA with Oracle 9i persistence. I have pointed DatabaseServerLoginModule to my datasource in login-config.xml .

                15:43:33,750 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
                javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: null is NOT authenticated
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: javax.jms.JMSSecurityException: User: null is NOT authenticated
                 at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230)
                 at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)
                 at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:744)
                 at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:302)
                 at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:316)
                 at org.jboss.mq.Connection.authenticate(Connection.java:1065)
                 at org.jboss.mq.Connection.<init>(Connection.java:252)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                15:43:33,781 ERROR [JmsSessionFactoryImpl] could not create session
                javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: null is NOT authenticated
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: javax.jms.JMSSecurityException: User: null is NOT authenticated
                 at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230)
                 at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)
                 at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:744)
                 at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:302)
                 at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:316)
                 at org.jboss.mq.Connection.authenticate(Connection.java:1065)
                 at org.jboss.mq.Connection.<init>(Connection.java:252)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                15:43:33,781 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed
                javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: n
                ull is NOT authenticated
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                15:43:33,843 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
                javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C
                lassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o
                rg/jboss/mq/SpyXAResourceManager)
                 at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
                 at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
                 at org.jboss.mq.Connection.<init>(Connection.java:311)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager
                 at org.jboss.mq.Connection.<init>(Connection.java:281)
                 ... 23 more
                15:43:33,843 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
                javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C
                lassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o
                rg/jboss/mq/SpyXAResourceManager)
                 at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
                 at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
                 at org.jboss.mq.Connection.<init>(Connection.java:311)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager
                 at org.jboss.mq.Connection.<init>(Connection.java:281)
                 ... 23 more
                15:43:33,843 ERROR [JmsSessionFactoryImpl] could not create session
                javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C
                lassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o
                rg/jboss/mq/SpyXAResourceManager)
                 at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
                 at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
                 at org.jboss.mq.Connection.<init>(Connection.java:311)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager
                 at org.jboss.mq.Connection.<init>(Connection.java:281)
                 ... 23 more
                15:43:33,875 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed
                javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to
                 create connection; - nested throwable: (java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                15:43:33,875 ERROR [JmsSessionFactoryImpl] could not create session
                javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C
                lassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172)
                 at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav
                a:95)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo
                nnectionPool.java:539)
                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav
                a:228)
                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.
                java:417)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti
                onManager2.java:812)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o
                rg/jboss/mq/SpyXAResourceManager)
                 at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
                 at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
                 at org.jboss.mq.Connection.<init>(Connection.java:311)
                 at org.jboss.mq.Connection.<init>(Connection.java:323)
                 at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:90)
                 at org.jboss.mq.SpyXAConnection.<init>(SpyXAConnection.java:70)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88)
                 at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125)
                 at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149)
                 at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690)
                 ... 16 more
                Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager
                 at org.jboss.mq.Connection.<init>(Connection.java:281)
                 ... 23 more
                15:43:33,875 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed
                javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to
                 create connection; - nested throwable: (java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392)
                 at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1
                02.java:64)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess
                ary(DefaultMessageListenerContainer.java:398)
                 at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis
                tenerContainer.java:366)
                 at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja
                va:203)
                 at java.lang.Thread.run(Thread.java:534)
                15:43:37,437 WARN [StartupServlet]