Profile Image
chennamrk

How to fix this struck thread issue

Due to struck thread sever is going to critical state

 

Report URL - https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjQvMDEvNS9PU0I1X3RocmVhZC50eHQtLTExLTM2LTE5

  • weblogic

  • stuck

  • stuck-thread

Please Sign In or to post your comment or answer

Profile Image

Ram Lakshmanan

Hello Chennamrk!

 

 Greetings. Below is the stack trace of your STUCK Thread. If you notice it's stuck on the '

weblogic.utils.collections.ArrayMap.internalRemove(ArrayMap.java:170)'. Can you check in Weblogic bug database whether any issues reported around this API? In which version of Weblogic you are currently running your application? 

 

stackTrace:
java.lang.Thread.State: RUNNABLE
at weblogic.utils.collections.ArrayMap.internalRemove(ArrayMap.java:170)
at weblogic.utils.collections.ArrayMap.remove(ArrayMap.java:157)
at weblogic.servlet.internal.ResponseHeaders.unsetHeader(ResponseHeaders.java:343)
at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1404)
at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:325)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:150)
at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:330)
at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:292)
at org.glassfish.jersey.message.internal.OutboundMessageContext.close(OutboundMessageContext.java:838)
at org.glassfish.jersey.server.ContainerResponse.close(ContainerResponse.java:412)
at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:784)
at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:934)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:966)
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:922)
at com.bea.wli.sb.transports.http.wls.rest.JerseyInboundMessageContext.close(JerseyInboundMessageContext.java:234)
at com.bea.wli.sb.transports.Util$InboundTransportMessageContextWrapper.close(Util.java:590)
at com.bea.wli.sb.transports.TransportDispatcherClient$CallbackAdapter.closeInboundTransportContext(TransportDispatcherClient.java:246)
at com.bea.wli.sb.transports.TransportDispatcherClient$CallbackAdapter.handleResponse(TransportDispatcherClient.java:215)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.InboundResponseCharsetHandler.handleResponse(InboundResponseCharsetHandler.java:98)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.UpdateInboundTransportStatistics.handleResponse(UpdateInboundTransportStatistics.java:93)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.InboundMessageContentHandler.handleResponse(InboundMessageContentHandler.java:192)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.UpdateInboundOperationalStatistics.handleResponse(UpdateInboundOperationalStatistics.java:85)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.InboundWsdlRestHandler.handleResponse(InboundWsdlRestHandler.java:248)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler.handleResponse(AbstractHandler.java:137)
at com.bea.wli.sb.service.handlerchain.handlers.ServiceInvoker.handleResponse(ServiceInvoker.java:179)
at com.bea.wli.sb.service.handlerchain.handlers.AbstractHandler$1.handleResponse(AbstractHandler.java:289)
at com.bea.wli.sb.context.PipelineReplyClient.sendResponse(PipelineReplyClient.java:157)
at com.bea.wli.sb.context.PipelineReplyClient.reply(PipelineReplyClient.java:101)
at com.bea.wli.sb.pipeline.RouterContext.reply(RouterContext.java:355)
at com.bea.wli.sb.pipeline.MessageProcessor.finishProcessing(MessageProcessor.java:418)
at com.bea.wli.sb.pipeline.RouterCallback.handleResponse(RouterCallback.java:115)
at com.bea.wli.sb.pipeline.RouterCallback.run(RouterCallback.java:204)
at weblogic.work.WorkAreaContextWrap.run(WorkAreaContextWrap.java:60)
at com.bea.alsb.platform.weblogic.WlsWorkManagerServiceImpl$WorkAdapter$2.run(WlsWorkManagerServiceImpl.java:274)
at com.bea.alsb.platform.weblogic.WlsWorkManagerServiceImpl$WorkAdapter$2.run(WlsWorkManagerServiceImpl.java:272)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at com.bea.alsb.platform.weblogic.WlsWorkManagerServiceImpl$WorkAdapter.run(WlsWorkManagerServiceImpl.java:272)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

Profile Image

Ram Lakshmanan

Hello Chennamark!

 Looks like you are running on a very old version of weblogic. Because with in the weblogic.utils.collections  package, I no longer see the 'ArrayMap' object.

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • weblogic

  • stuck

  • stuck-thread