2 Replies Latest reply on Mar 4, 2015 4:11 AM by Sreekanth Munarai

    Logger threads in Thread dump

    Sreekanth Munarai Master

      I have observed the below log error in thread dump analysis.

      Can any one please let me know is this something upto JBoss or application?


      pool-10-thread-3548" - Thread t@13862
        java.lang.Thread.State: BLOCKED
      at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:59)
      - waiting to lock <2ab6c2b1> (a java.lang.Object) owned by "ajp-/10.197.158.129:8009-97" t@12763
      at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)
      at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)
      at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      at org.jboss.logmanager.Logger.logRaw(Logger.java:649)
      at org.jboss.logmanager.Logger.log(Logger.java:434)
      at org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
      - locked <41bc349f> (a java.lang.StringBuilder)
      at org.jboss.stdio.WriterOutputStream.finish(WriterOutputStream.java:143)
      at org.jboss.stdio.WriterOutputStream.write(WriterOutputStream.java:124)
      - locked <2b22d470> (a sun.nio.cs.MS1252$Decoder)
      at java.io.PrintStream.write(PrintStream.java:430)
      - locked <2fe65f5d> (a java.io.PrintStream)
      at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
      at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
      at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85)
      - locked <7ba91b2f> (a java.io.OutputStreamWriter)
      at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168)
      at java.io.PrintStream.write(PrintStream.java:477)
      - locked <2fe65f5d> (a java.io.PrintStream)
      at java.io.PrintStream.print(PrintStream.java:619)
      at java.io.PrintStream.println(PrintStream.java:756)
      - locked <2fe65f5d> (a java.io.PrintStream)
      at org.jboss.stdio.StdioContext$DelegatingPrintStream.println(StdioContext.java:297)
      at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
      at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:95)
      at org.hibernate.engine.jdbc.internal.proxy.PreparedStatementProxyHandler.(PreparedStatementProxyHandler.java:51)
      at org.hibernate.engine.jdbc.internal.proxy.ProxyBuilder.buildPreparedStatement(ProxyBuilder.java:114)
      at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.postProcess(ConnectionProxyHandler.java:167)
      at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:139)
      at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
      at $Proxy478.prepareStatement(Unknown Source)
      at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147)
      at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166)
      at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145)
      at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1739)
      at org.hibernate.loader.Loader.doQuery(Loader.java:828)
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
      at org.hibernate.loader.Loader.doList(Loader.java:2463)
      at org.hibernate.loader.Loader.doList(Loader.java:2449)
      at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2279)
      at org.hibernate.loader.Loader.list(Loader.java:2274)
      at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)
      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)
      at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)
      at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1115)
      at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
      at com.griffin.homeport.setup.customersetup.db.dao.impl.ReferenceMappingDaoImpl.getReference(ReferenceMappingDaoImpl.java:603)
      at sun.reflect.GeneratedMethodAccessor8474.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy236.getReference(Unknown Source)
      at com.griffin.homeport.setup.customersetup.business.impl.ReferenceMappingManagerImpl.getReference(ReferenceMappingManagerImpl.java:1179)
      at sun.reflect.GeneratedMethodAccessor8473.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
      at $Proxy239.getReference(Unknown Source)
      at com.griffin.homeport.decision.business.impl.DecisionSetupManagerImpl.getCustReferenceBean(DecisionSetupManagerImpl.java:2737)
      at sun.reflect.GeneratedMethodAccessor8472.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy261.getCustReferenceBean(Unknown Source)
      at com.griffin.homeport.reservation.reservationmanagement.business.impl.EventSummaryManagerImpl.prepareReferenceSettingsValues(EventSummaryManagerImpl.java:229)
      at com.griffin.homeport.reservation.reservationmanagement.business.impl.EventSummaryManagerImpl.showEventSummaryDetails(EventSummaryManagerImpl.java:184)
      at sun.reflect.GeneratedMethodAccessor12406.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy417.showEventSummaryDetails(Unknown Source)
      at com.griffin.homeport.reservation.reservationmanagement.service.impl.EventSummaryServiceImpl.getBookingDetailsForEventSummary(EventSummaryServiceImpl.java:472)
      at sun.reflect.GeneratedMethodAccessor12405.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
      at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:61)
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
      - locked <1b37ea16> (a org.apache.cxf.interceptor.ServiceInvokerInterceptor$2)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
      - locked <5ca4e5fc> (a org.apache.cxf.phase.PhaseInterceptorChain)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      at org.apache.cxf.transport.http_jaxws_spi.JAXWSHttpSpiDestination.serviceRequest(JAXWSHttpSpiDestination.java:145)
      at org.apache.cxf.transport.http_jaxws_spi.JAXWSHttpSpiDestination.doService(JAXWSHttpSpiDestination.java:121)
      at org.apache.cxf.transport.http_jaxws_spi.HttpHandlerImpl.handle(HttpHandlerImpl.java:61)
      at org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerDestination$Handler.handle(HttpServerDestination.java:154)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
      at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
        Locked ownable synchronizers:
      - locked <4df732e8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)




      Thanks