d***@letlocal.net
2016-07-10 18:19:21 UTC
Hi everyone,
I'm new to the forum and have been searching up and down trying new things
but am at a loss as to what my issues core problem is at this time.
I can see when TomEE starts that things are connecting and then continuous
failures. I've read a few articles in regards to network,
Here is what I'm getting out of the Catalina Log and everything else is just
kind of hung loading the application were trying to run.
Jul 10, 2016 12:50:39 PM
org.apache.activemq.transport.failover.FailoverTransport
handleTransportFailure
WARNING: Transport (tcp://TomEE1.fqdn/192.168.1.10:***@58413) failed,
attempting to automatically reconnect
java.io.IOException: Wire format negotiation timeout: peer did not send his
wire format.
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:98)
at
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:665)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1409)
at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1521)
at
org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:329)
at
org.apache.activemq.ActiveMQConnection.createTopicSession(ActiveMQConnection.java:1149)
at
net.sf.ehcache.distribution.jms.JMSCacheManagerPeerProvider.init(JMSCacheManagerPeerProvider.java:161)
at net.sf.ehcache.CacheManager.init(CacheManager.java:241)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:169)
at net.sf.ehcache.CacheManager.create(CacheManager.java:454)
at
ixos.sec.um.types.PrincipalRepository.<init>(PrincipalRepository.java:215)
at
ixos.sec.um.types.PrincipalRepository.getInstance(PrincipalRepository.java:388)
at ixos.sec.um.types.UMPrincipalFactory.<init>(UMPrincipalFactory.java:65)
at
ixos.sec.um.types.UMPrincipalFactory.getInstance(UMPrincipalFactory.java:84)
at ixos.sec.um.UserManagement.getInstance(UserManagement.java:131)
at ixos.ums.web.RPC.startUpUMS(RPC.java:930)
at ixos.ums.web.RPC.init(RPC.java:114)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5266)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5554)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
After several duplicate errors I can see the following error for a few hours
than things start on their own.
Jul 10, 2016 1:16:51 PM
org.apache.activemq.transport.failover.FailoverTransport doReconnect
WARNING: Failed to connect to [tcp://TomEE1.fqdn:61616,
tcp://TomEE2.fqdn:61616, tcp://TomEE3.fqdn:61616] after: 20 attempt(s)
continuing to retry.
I've tried changing the timeout on TomEE.xml for Failover like this
unsuccessfully:
<Resource id="JmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig
broker:(tcp://TomEE1.fqdn:61616)?persistent=true&useJmx=false
ServerUrl =
failover:(tcp://TomEEfqdn1:61616,tcp://TomEEfqdn2:61616,tcp://TomEE3.fqdn:61616)?randomize=false
DataSource JmsDS
</Resource>
At this point I'm not sure what finally allows everything to start working
hours later but it does. The one option I thought might resolve the issue
did not and removing clustering and running on a single node presented the
same issue.
This is the change I made to the JmsREsourceAdapter:
failover:(tcp://broker1:61616?wireFormat.maxInactivityDuration=1000,tcp://broker2:61616?wireFormat.maxInactivityDuration=1000,tcp://broker3:61616?wireFormat.maxInactivityDuration=1000)
Any ideas would be sincerely appreciated.
Thanks In Advance
Don
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/ActiveMQ-Connection-Failures-Random-to-Constant-tp4679269.html
Sent from the TomEE Users mailing list archive at Nabble.com.
I'm new to the forum and have been searching up and down trying new things
but am at a loss as to what my issues core problem is at this time.
I can see when TomEE starts that things are connecting and then continuous
failures. I've read a few articles in regards to network,
Here is what I'm getting out of the Catalina Log and everything else is just
kind of hung loading the application were trying to run.
Jul 10, 2016 12:50:39 PM
org.apache.activemq.transport.failover.FailoverTransport
handleTransportFailure
WARNING: Transport (tcp://TomEE1.fqdn/192.168.1.10:***@58413) failed,
attempting to automatically reconnect
java.io.IOException: Wire format negotiation timeout: peer did not send his
wire format.
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:98)
at
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:665)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1409)
at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1521)
at
org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:329)
at
org.apache.activemq.ActiveMQConnection.createTopicSession(ActiveMQConnection.java:1149)
at
net.sf.ehcache.distribution.jms.JMSCacheManagerPeerProvider.init(JMSCacheManagerPeerProvider.java:161)
at net.sf.ehcache.CacheManager.init(CacheManager.java:241)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:169)
at net.sf.ehcache.CacheManager.create(CacheManager.java:454)
at
ixos.sec.um.types.PrincipalRepository.<init>(PrincipalRepository.java:215)
at
ixos.sec.um.types.PrincipalRepository.getInstance(PrincipalRepository.java:388)
at ixos.sec.um.types.UMPrincipalFactory.<init>(UMPrincipalFactory.java:65)
at
ixos.sec.um.types.UMPrincipalFactory.getInstance(UMPrincipalFactory.java:84)
at ixos.sec.um.UserManagement.getInstance(UserManagement.java:131)
at ixos.ums.web.RPC.startUpUMS(RPC.java:930)
at ixos.ums.web.RPC.init(RPC.java:114)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5266)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5554)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
After several duplicate errors I can see the following error for a few hours
than things start on their own.
Jul 10, 2016 1:16:51 PM
org.apache.activemq.transport.failover.FailoverTransport doReconnect
WARNING: Failed to connect to [tcp://TomEE1.fqdn:61616,
tcp://TomEE2.fqdn:61616, tcp://TomEE3.fqdn:61616] after: 20 attempt(s)
continuing to retry.
I've tried changing the timeout on TomEE.xml for Failover like this
unsuccessfully:
<Resource id="JmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig
broker:(tcp://TomEE1.fqdn:61616)?persistent=true&useJmx=false
ServerUrl =
failover:(tcp://TomEEfqdn1:61616,tcp://TomEEfqdn2:61616,tcp://TomEE3.fqdn:61616)?randomize=false
DataSource JmsDS
</Resource>
At this point I'm not sure what finally allows everything to start working
hours later but it does. The one option I thought might resolve the issue
did not and removing clustering and running on a single node presented the
same issue.
This is the change I made to the JmsREsourceAdapter:
failover:(tcp://broker1:61616?wireFormat.maxInactivityDuration=1000,tcp://broker2:61616?wireFormat.maxInactivityDuration=1000,tcp://broker3:61616?wireFormat.maxInactivityDuration=1000)
Any ideas would be sincerely appreciated.
Thanks In Advance
Don
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/ActiveMQ-Connection-Failures-Random-to-Constant-tp4679269.html
Sent from the TomEE Users mailing list archive at Nabble.com.