aspose file tools*
The moose likes BEA/Weblogic and the fly likes getting stuck threads in the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "getting stuck threads in the application" Watch "getting stuck threads in the application" New topic
Author

getting stuck threads in the application

Arvind Rai
Greenhorn

Joined: Mar 20, 2009
Posts: 3
Hi All
I am facing an error.
<Mar 8, 2009 2:46:09 PM LKT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '135' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "1,052" seconds working on the request "Http Request: /abc/url/dstk/displayContent.jsp", which is more than the configured time (StuckThreadMaxTime) of "1,000" seconds. Stack trace:
org.apache.beehive.netui.pageflow.PageFlowControlContainerFactory.getControlContainer(PageFlowControlContainerFactory.java:42)


<Mar 8, 2009 2:46:09 PM LKT> <Warning> <Management> <BEA-400410> <Unexpected exception from ApplicationFilePoller while running checks for all registered pollers.
java.lang.OutOfMemoryError: Java heap space


I also incrased the heap memory up to 2 GB.
I have increased the size of MaxThraedTime , it reduces the number of stuck threads.
But I am willing not get any thread stuck.
what should I do?
is there any time out code to escape from stucking of thraeds.
I am using BEA weblogic portal 10.0

Thanks





Renjan Thomas
Ranch Hand

Joined: Jan 09, 2009
Posts: 49

Take thread dump to find out why this threads are getting stuck.
Arvind Rai
Greenhorn

Joined: Mar 20, 2009
Posts: 3
hi
thread dumps are
1. "[STANDBY] ExecuteThread: '47' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@84740e WAITING

java.lang.Object.wait(Native Method)

java.lang.Object.wait(Object.java:474)

weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:156)

weblogic.work.ExecuteThread.run(ExecuteThread.java:177)

2.
"[STUCK] ExecuteThread: '40' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock Controller@38f127 BLOCKED

org.apache.beehive.netui.pageflow.PageFlowController.persistInSession(PageFlowController.java:234)

org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:386)

org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:190)

org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForPath(FlowControllerFactory.java:163)

org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRequest(FlowControllerFactory.java:127)

org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:244)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

weblogic.security.service.SecurityManager.runAs(Unknown Source)

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)

weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)

weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

"[STUCK] ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock Controller@10c33f2 BLOCKED

org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:368)

org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

weblogic.security.service.SecurityManager.runAs(Unknown Source)

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)

weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)

weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

"[ACTIVE] ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@313143 WAITING

java.lang.Object.wait(Native Method)

java.lang.Object.wait(Object.java:474)

weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:156)

weblogic.work.ExecuteThread.run(ExecuteThread.java:177)

"[STUCK] ExecuteThread: '37' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock org.apache.beehive.netui.pageflow.HttpSessionMutexListener$Mutex@c9e624 BLOCKED

org.apache.beehive.netui.pageflow.internal.DeferredSessionStorageHandler.applyChanges(DeferredSessionStorageHandler.java:206)

com.bea.portlet.adapter.scopedcontent.ScopedContentStorageHandler.applyChanges(ScopedContentStorageHandler.java:73)

org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:319)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)

weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)

weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)

jsp_servlet.__download._jspService(__download.java:886)

weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)

weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)

weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)

org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

weblogic.security.service.SecurityManager.runAs(Unknown Source)

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)

weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)

weblogic.work.ExecuteThread.run(ExecuteThread.java:172)




Thease are WAP thread, means request is coming to server through wap.
vamshi mugatha
Greenhorn

Joined: Dec 09, 2009
Posts: 1
Hi,

I am having the same issue with Weblogic 10.0. How did you resolve this issue.

Any help on this is appreciated

Vamshi
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Hi Vamshi, welcome to java ranch. Did you get a thread dump from the server ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting stuck threads in the application