0 Replies Latest reply on Jan 16, 2007 10:53 PM by David Liu

    A problem when a client insert message to a queue deployed o

    David Liu Newbie

      For I know the user/pw of the Jboss jms,

      so I use spring to insert message to queue on localhost

      It's ok

      but when I try to do the same thing on queue in jboss on another machine

      error occurs as following

      for I use jotm to cope with the distributed transaction

      The error is related to jotm?

      but I think it's still authentication stuff

      a little confused

      :)

      Thanks advance for any advice






      5469 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      5469 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      5485 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      5485 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      7454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      7454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      7454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      7454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      13532 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      13532 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      13532 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      13532 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      19469 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      19469 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      19469 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      19469 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      25454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      25454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      25469 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      25469 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      31454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      31454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      31454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      31454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      Start the task
      37454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      37454 [Timer-0] ERROR org.objectweb.jotm - Got XAException from res.commit: Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
      37454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      37454 [Timer-0] ERROR org.objectweb.jotm - Unexpected Exception on commit_one_phase:
      java.rmi.RemoteException: XAException:Cannot send res.commit:org.jboss.mq.SpyXAException: Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs) (error code = -3) --Resource manager error during commit; - nested throwable: (javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination: queuefromrs)
       at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:1276)
       at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:451)
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
      org.springframework.transaction.TransactionSystemException: JTA failure on commit; nested exception is javax.transaction.SystemException: Unexpected Exception on commit_one_phase
      javax.transaction.SystemException: Unexpected Exception on commit_one_phase
       at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:251)
       at org.objectweb.jotm.Current.commit(Current.java:488)
       at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
       at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
       at com.jc.cxc.processor.Rs2hqTransferProcessor$$EnhancerByCGLIB$$bdfd64ed.run(<generated>)
       at com.jc.cxc.tasks.TaskWrapper.run(TaskWrapper.java:47)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)