[jBPM] - high number of HTTP Threads in waiting on monitor state
by Piergiovanni Gualotto
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&con...]
12 years, 2 months
[Performance Tuning] - Interesting JBoss 5 Memory Footprint/Leak
by hangsu
hangsu [https://community.jboss.org/people/hangsu] created the discussion
"Interesting JBoss 5 Memory Footprint/Leak"
To view the discussion, visit: https://community.jboss.org/message/758389#758389
--------------------------------------------------------------
Hi All,
I am having a rather interesting memory leak problem with JBoss5 recently.
So the heap size is 4G, and from profiling tool, JVM think it's managing 4G of memory.
I did couple memory dumps at different stage, it's also less than 4G.
Now the interesting thing is, if I check the memory in Linux, the JBoss JVM process is taking 97%+ RAM and increasing until OOM Killer jump in and kill the process. (We are on a VM with 8G RAM)
What make it more interesting is, we have -XX:AggressiveHeap in JAVA_OPTS, once I took that out and restart JBoss, everything is back to normal.
This make me believe it's some glitch in Java GC, that the Linux OS is unable to free RAM JVM trying to release. But I can't find anything related to this on google.
I can provide more information if needed. Some basic environment are:
OS: CentOS5 64bit
JAVA: Oracle JDK 1.6.0_31 64 bit
And just in case you wonder, why I post it here rather than JAVA forum, we have same product in JBoss4 and it was running fine, and I believe the migration code change is done correctly, and same product for another customer is running fine in JBoss5. I could compare the difference between the two versions, but as you can see from heap size, this is a monster product and code base are very different from release to release.
Has anyone see anything similar to this? any help or information would be appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758389#758389]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss Web Services] - Re: JBoss 7.0.2 soap rewrite issue
by rodolfo tocci
rodolfo tocci [https://community.jboss.org/people/jbossEngAccount] created the discussion
"Re: JBoss 7.0.2 soap rewrite issue"
To view the discussion, visit: https://community.jboss.org/message/758330#758330
--------------------------------------------------------------
I've solved using this configuration
<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
<connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="https" proxy-name="MYDNS" proxy-port="443"/>
<connector name="http1" protocol="HTTP/1.1" socket-binding="http1" scheme="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
</virtual-server>
</subsystem>
<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">
<wsdl-host>
MYDNS
</wsdl-host>
<modify-wsdl-address>
true
</modify-wsdl-address>
</subsystem>
....
<socket-binding-group name="standard-sockets" default-interface="public">
<socket-binding name="http" port="8080"/>
<socket-binding name="http1" port="9080"/>
<socket-binding name="jacorb" port="3528"/>
<socket-binding name="jacorb-ssl" port="3529"/>
<socket-binding name="jmx-connector-registry" port="1090" interface="management"/>
<socket-binding name="jmx-connector-server" port="1091" interface="management"/>
<socket-binding name="jndi" port="1099"/>
<socket-binding name="messaging" port="5445"/>
<socket-binding name="messaging-throughput" port="5455"/>
<socket-binding name="osgi-http" port="8090" interface="management"/>
<socket-binding name="remoting" port="4447"/>
<socket-binding name="txn-recovery-environment" port="4712"/>
<socket-binding name="txn-status-manager" port="4713"/>
</socket-binding-group>
the LB forward the request on http://myPrivateHostIp:8080/ http://myPrivateHostIp:8080/.....
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758330#758330]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[jBPM] - Java code called by a jsp:include is not processed in an .ftl page
by Feki Ahmed
Feki Ahmed [https://community.jboss.org/people/bardelman] created the discussion
"Java code called by a jsp:include is not processed in an .ftl page"
To view the discussion, visit: https://community.jboss.org/message/758262#758262
--------------------------------------------------------------
hi,
i ve this tag :
| *Quote:* |
| <jsp:include page="<%=(String)request.getAttribute(\"pagetoreq\")%>" /> |
and i got the html of the requested page which is the following :
| *Quote:* |
| <form name="taskForm" action="TaskProcessServlet"> <br>
<%=request.getAttribute(\"user\") %>
<input type="hidden" name="user" value="<%=request.getAttribute(\"user\") %>" /> <br>
<input type="hidden" name="taskId" value="<%=request.getAttribute(\"taskId\") %>" /> <br>
<%=request.getAttribute("taskId") %>
<input type="hidden" name="taskStatus" value="<%=request.getAttribute(\"taskStatus\") %>" />
<%=request.getAttribute(\"taskStatus\") %>
Priority: <input name="priority" value="<%=process.getVariable(\"priority\") %>" /> <br>
Model Number: <input name="modelNumber" value="<%=process.getVariable(\"modelNumber\") %>" /> <br>
Quantity ( 1 to 1000): <input name="quantity" value="<%=process.getVariable(\"quantity\") %>" />
<input type="submit" value="Submit" name="action" /> <br> </form> |
but the problem is that the java code on it isn t processed so i got this at the end :
| *Quote:* |
| <%=request.getAttribute(\"user\") %> " />
" />
<%=request.getAttribute("taskId") %> " /> <%=request.getAttribute(\"taskStatus\") %> Priority: " />
Model Number: " />
Quantity ( 1 to 1000): " /> |
how to make the java code in the called page being processed ? thnx for help !!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758262#758262]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months