activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel OConnor <noel.ocon...@gmail.com>
Subject Re: already connected from tcp://xx.xxx.x.xxx:59357
Date Sat, 15 Feb 2014 00:12:42 GMT
Are you using topics and reusing the same client id for multiple producers.
Its just a guess but check just in case.


On Sat, Feb 15, 2014 at 9:18 AM, Rodrigo Ramos <crackduoro@gmail.com> wrote:

> Hi
>
>
> Im testing a web application that is connected with ActiveMQ as producer.
> IM getting below error with load:
>
>
> [#|2014-02-14T15:59:26.840-0600|WARNING|glassfish3.1.2|javax.enterprise.system.core.transaction.com.sun.jts.jta|_ThreadID=801;_ThreadName=Thread-2;|JTS5041:
> The resource manager is doing work outside a global transaction
>
> javax.transaction.xa.XAException: Broker: vass-desa-2 - Client:
> ID:ppapp01-48787-1392409634052-190:1 already connected from tcp://
> 10.100.1.103:59357
>
> at
>
> org.apache.activemq.TransactionContext.toXAException(TransactionContext.java:779)
>
> at
> org.apache.activemq.TransactionContext.setXid(TransactionContext.java:687)
>
> at
> org.apache.activemq.TransactionContext.start(TransactionContext.java:370)
>
> at
>
> org.apache.activemq.ra.LocalAndXATransaction.start(LocalAndXATransaction.java:136)
>
> at
>
> com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:311)
>
> at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:212)
>
> at
>
> com.sun.enterprise.transaction.JavaEETransactionImpl.enlistResource(JavaEETransactionImpl.java:639)
>
> at
>
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistXAResource(JavaEETransactionManagerSimplified.java:1314)
>
> at
>
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistResource(JavaEETransactionManagerSimplified.java:363)
>
> at
>
> com.sun.enterprise.resource.rm.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:152)
>
> at
>
> com.sun.enterprise.resource.rm.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:112)
>
> at
>
> com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:211)
>
> at
>
> com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:332)
>
> at
>
> com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
>
> at
>
> com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:236)
>
> at
>
> com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
>
> at
>
> com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
>
> at
>
> org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:94)
>
> at
>
> org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:67)
>
> at
>
> com.cm.sva.vass.smt.jms.vass.SendMsgToDirectMsgService.sendMessageToDirectMessage(SendMsgToDirectMsgService.java:58)
>
> at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
>
> at
>
> com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
>
> at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
>
> at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
>
> at
>
> com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
>
> at
>
> com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
>
> at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
>
> at
>
> com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
>
> at
> com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
>
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
>
> at
>
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
>
> at
>
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)
>
> at com.sun.proxy.$Proxy442.sendMessageToDirectMessage(Unknown Source)
>
> at
>
> com.cm.sva.vass.smt.jms.vass.ProcessSyncService.processSyncRequest(ProcessSyncService.java:67)
>
> at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
>
> at
>
> com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
>
> at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
>
> at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
>
> at
>
> com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
>
> at
>
> com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
>
> at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
>
> at
>
> com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
>
> at
>
> com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
>
> at
> com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
>
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
>
> at
>
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
>
> at
>
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)
>
> at com.sun.proxy.$Proxy441.processSyncRequest(Unknown Source)
>
> at
>
> com.cm.sva.vass.smt.jms.RequestDispatcherBean.onMessage(RequestDispatcherBean.java:126)
>
> at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
>
> at
>
> org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
>
> at
>
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4180)
>
> at
> com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5368)
>
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
>
> at
>
> com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1099)
>
> at
>
> com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)
>
> at
>
> com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)
>
> at com.sun.proxy.$Proxy443.onMessage(Unknown Source)
>
> at
>
> org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
>
> at
>
> org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
>
> at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:861)
>
> at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
>
> at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)
>
> at
>
> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
>
> at
>
> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
>
> Caused by: javax.jms.InvalidClientIDException: Broker: vass-desa-2 -
> Client: ID:ppapp01-48787-1392409634052-190:1 already connected from tcp://
> 10.100.1.103:59357
>
> at
>
> org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:216)
>
> at
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
>
> at
>
> org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:79)
>
> at
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
>
> at
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
>
> at
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
>
> at
>
> org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:97)
>
> at
>
> org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:91)
>
> at
>
> org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:766)
>
> at
>
> org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:79)
>
> at
> org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
>
> at
>
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)
>
> at
>
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)
>
> at
>
> org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
>
> at
>
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
>
> at
>
> org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:288)
>
> at
>
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>
> at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
>
> at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
>
> at java.lang.Thread.run(Thread.java:722)
>
> |#]
>
>
> Regards
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message