[jboss-user] [jBPM] - high number of HTTP Threads in waiting on monitor state

Piergiovanni Gualotto do-not-reply at jboss.com
Thu Sep 6 16:51:42 EDT 2012


Piergiovanni Gualotto [https://community.jboss.org/people/pgualotto] created the discussion

"high number of HTTP Threads in waiting on monitor state"

To view the discussion, visit: https://community.jboss.org/message/758422#758422

--------------------------------------------------------------
In Thread Dump most of threads are in following state : java.lang.Thread.State: BLOCKED (on object monitor) 
The stack trace is always on :

"http-10.208.176.104-8080-52" daemon prio=3 tid=0x00000001028d4000 nid=0xbd waiting for monitor entry [0xfffffffe516fa000]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.mvel2.optimizers.AbstractOptimizer.tryStaticAccess(AbstractOptimizer.java:76)
        at org.mvel2.compiler.PropertyVerifier.getBeanProperty(PropertyVerifier.java:263)
        at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:117)
        at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:381)
        at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:273)
        at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2126)
        at org.mvel2.optimizers.impl.refl.collection.ExprValueAccessor.<init>(ExprValueAccessor.java:40)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer._getAccessor(ReflectiveAccessorOptimizer.java:1188)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer._getAccessor(ReflectiveAccessorOptimizer.java:1132)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeCollection(ReflectiveAccessorOptimizer.java:1203)
        at org.mvel2.ast.InlineCollectionNode.<init>(InlineCollectionNode.java:53)
        at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:1207)
        at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:128)
        at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2137)
        at org.mvel2.ast.WithNode.compileWithExpressions(WithNode.java:225)
        at org.mvel2.optimizers.impl.refl.nodes.WithAccessor.<init>(WithAccessor.java:27)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getWithProperty(ReflectiveAccessorOptimizer.java:454)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:383)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileConstructor(ReflectiveAccessorOptimizer.java:1298)
        at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeObjectCreation(ReflectiveAccessorOptimizer.java:1221)
        at org.mvel2.ast.NewObjectNode.getReducedValueAccelerated(NewObjectNode.java:214)
        at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42)
        at org.mvel2.optimizers.impl.refl.collection.ExprValueAccessor.getValue(ExprValueAccessor.java:63)
        at org.mvel2.optimizers.impl.refl.collection.ListCreator.getValue(ListCreator.java:37)
        at org.mvel2.optimizers.impl.refl.collection.MapCreator.getValue(MapCreator.java:39)
        at org.mvel2.ast.InlineCollectionNode.getReducedValueAccelerated(InlineCollectionNode.java:82)
        at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
        at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:123)
        at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:116)
        at org.mvel2.MVEL.executeExpression(MVEL.java:969)
        at org.jbpm.task.service.TaskService.eval(TaskService.java:327)
        at org.jbpm.task.service.TaskService.initialize(TaskService.java:134)
        at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)
        at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)
         at it.mail.omp.bpm.core.KnowledgeConfigurator.createTaskService(KnowledgeConfigurator.java:74)
        at it.mail.omp.bpm.core.KnowledgeUtil.getSession(KnowledgeUtil.java:270)
        at it.mail.omp.bpm.core.KnowledgeUtil.getSession(KnowledgeUtil.java:233)
        at it.mail.omp.bpm.core.KnowledgeUtil.startProcess(KnowledgeUtil.java:160)
        at it.mail.omp.bpm.core.OMPBPM.startBpmProcess(OMPBPM.java:77)
        at it.mail.omp.bpm.process.impl.AccettazioneInviiBPM.startProcess(AccettazioneInviiBPM.java:25)
        at it.mail.omp.servlet.ws.impl.AccettazioneServiceSOAP.accettazioneInvii(AccettazioneServiceSOAP.java:51)
        at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:117)
        at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:241)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:470)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:294)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
        at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:566)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
        at java.lang.Thread.run(Thread.java:662)

my problem is MVEL2 ? In this state the response time is long ......
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/758422#758422]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120906/6141c60d/attachment-0001.html 


More information about the jboss-user mailing list