• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

getting stuck threads in the application

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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





 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Take thread dump to find out why this threads are getting stuck.
 
Arvind Rai
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Any help on this is appreciated

Vamshi
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vamshi, welcome to java ranch. Did you get a thread dump from the server ?
 
Beware the other head of science - it bites! Nibble on this message:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!