Indefinute wait on count down latch during createSessionFactory.
whitingjr Jul 11, 2016 12:15 PMHi,
I am testing running EAP7 with the Shenandoah jvm option. Which at the moment causes the jvm to not operate not quickly at the moment.
This slowdown is causing an installed application with does operate normally (without the Shenandoah flag) to cease processing requests.
A stack dump shows all but one of the threads processing jms requests to be blocked waiting on a lock. The one thread that has the lock is waiting on a count down latch. But this latch is never counted down.
Has this been seen before ?
- "httpWorker task-10" #547 prio=5 os_prio=0 tid=0x00002acc1c044000
- nid=0xf422 waiting on condition [0x00002ac9a7ffc000]
- java.lang.Thread.State: TIMED_WAITING (parking)
- at sun.misc.Unsafe.park(Native Method)
- - parking to wait for <0x00002ac2d0f072d0> (a
- java.util.concurrent.CountDownLatch$Sync)
- at
- java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
- at
- java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
- at
- java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
- at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
- at
- org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.waitForTopology(ClientSessionFactoryImpl.java:453)
- at
- org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:790)
- at
- org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:724)
- - locked <0x00002ac31e7b69b8> (a
- org.apache.activemq.artemis.jms.client.ActiveMQXAConnectionFactory)
- at
- org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createXAQueueConnection(ActiveMQConnectionFactory.java:333)
- at
- org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createXAQueueConnection(ActiveMQConnectionFactory.java:329)
- at
- org.apache.activemq.artemis.ra.ActiveMQRAManagedConnection.setup(ActiveMQRAManagedConnection.java:771)
- at
- org.apache.activemq.artemis.ra.ActiveMQRAManagedConnection.<init>(ActiveMQRAManagedConnection.java:163)
- at
- org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory.createManagedConnection(ActiveMQRAManagedConnectionFactory.java:149)
- at
- org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1320)
- at
- org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:496)
- at
- org.jboss.jca.core.connectionmanager.pool.AbstractPool.getTransactionNewConnection(AbstractPool.java:699)
- at
- org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:598)
- at
- org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:590)
- at
- org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:429)
- at
- org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:747)
- at
- org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.allocateConnection(ActiveMQRASessionFactoryImpl.java:853)
- - locked <0x00002ac2d342c260> (a java.util.HashSet)
- at
- org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.createQueueSession(ActiveMQRASessionFactoryImpl.java:296)
- at
- org.spec.jent.ejb.orders.session.LargeOrderSenderSession.sendOrdersToManufacturing(LargeOrderSenderSession.java:50)
- at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source)
- at
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at
- org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
- at
- org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
- at
- org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
- at
- org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
- at
- org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
- at
- org.spec.jent.ejb.orders.session.LargeOrderSenderSessionLocal$$$view11.sendOrdersToManufacturing(Unknown
- Source)
- at
- org.spec.jent.ejb.orders.session.OrderSession.newOrder(OrderSession.java:165)
- at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source)
- at
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at
- org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
- at
- org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
- at
- org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
- at
- org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
- at
- org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
- at
- org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
- at
- org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
- at
- org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at
- org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
- at
- org.spec.jent.ejb.orders.session.OrderSessionLocal$$$view3.newOrder(Unknown
- Source)
- at
- org.spec.jent.servlet.helper.SpecAction.doPurchase(SpecAction.java:340)
- at
- org.spec.jent.servlet.helper.SpecServletAction.doPurchase(SpecServletAction.java:502)
- at
- org.spec.jent.servlet.SpecAppServlet.performTask(SpecAppServlet.java:199)
- at org.spec.jent.servlet.SpecAppServlet.doGet(SpecAppServlet.java:78)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
- at
- io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
- at
- io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
- at
- io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
- at
- io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
- at
- io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
- at
- io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at
- io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
- at
- io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
- at
- io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
- at
- io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
- at
- io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
- at
- io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at
- io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at
- io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
- at
- io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
- at
- io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
- at
- io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
- at
- io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
- at
- io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
- at
- java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at
- java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
Regards,
Jeremy