0 Replies Latest reply: May 17, 2013 5:37 PM by calou RSS

    Stuck thread

    calou
      Hi, I work in development sector of a company, we are working with oracle ADF.
      We received problems related to stuck threads from Infraestructure sector
      I would like to know if this problem could be related to Application Modules configuration
      Are some relationships between AM pooling configuration and weblogic's configurations about stuck threads??

      If so, what could we try, from development, to solve this problem?

      Here is what infra passed us:

      <May 17, 2013 2:17:04 PM ART> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "610" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@7e168e53[
      GET /PAART/paginas/principal/evolucionIndicadores.jspx?_afrWindowMode=0&_afrLoop=10276918722830306&_adf.ctrl-state=exwg7ixux_4 HTTP/1.1
      User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
      Referer: http://iprotest.lasegunda.com.ar:8080/PAART/faces/paginas/principal/evolucionIndicadores.jspx
      Cookie: JSESSIONID=g96bRWjLlzvvP00chybVQ1xxSy1y5JbTZq61NVbydm2xWN0Ft5y1!659515316; __utma=250987163.1724592838.1363698068.1366290832.1366385316.8; __utmz=250987163.1363698068.1.1.utmcsr=ias08:7777|utmccn=(referral)|utmcmd=referral|utmcct=/sso/pages/logout.jsp; OHS-iprotest.lasegunda.com.ar-8080=9FBCEE64F49DF63E67B17083CACD4C1F5DF2EC8B47FA64D171FC18F628B444890DA2A80808F8257D4CAFC69D76111D2CA4FC05DD96C8F9D23E6A527646C9D960169FD6CBD3455F08534C7E15AC18435E11B5D2BDDAE3D16A69A908BA57075A464DADB73A1ABB89C8F98A55D7C821C30F5FD9322B34AA229D43D9801724B6450EEE1DD8F44C08A84BCC1FFE9B47F72621FA6DE5DA237BE0B47608BA236F984D3A2271853D688F1896DBD6CD052404C3D2D6D9467D6A64C71E50CBA8F214993CCEB0A972B4459C2644462E6F4F3D659F594C52DDB913F1EBCE3D2020B71D2460E8C300D17E087CBA2F7769EC878B13497526A68F86CFC5AEC09AA232D9FA5B958D~88B9105BD5DB9A7A124469E92A82EC3E
      ECID-Context: 1.220646857422951;kXhglfDWn5MK9JVBGHHGIKNBaHRO_JVBkHRPdUPOnV8SmPQRZPOSXSRB_MVRgLVOdVQR9UOPdJPO^VQS_JUBeJSSsG
      ClientIP: 172.16.88.253
      Chronos: aggregate
      Oracle-WebCache-Hdr-Inv-Capab: on, version="1"
      SSL-Https: off
      Calypso-Control: H_Req,168100062, 8080,
      Surrogate-Capability: orcl="webcache/1.0 Surrogate/1.0 ESI/1.0 ESI-Inline/1.0 ESI-INV/1.0 ORAESI/9.0.4 OWV/1.0 POST-Restore/1.0"
      Osso-User-Guid: B6E56C5C6CF73B45E04400144FFABBB6
      Osso-User-Dn: cn=PERSO129,cn=users, dc=infra,dc=com
      Osso-Subscriber: DEFAULT COMPANY
      Osso-Subscriber-Dn: dc=infra,dc=com
      Osso-Subscriber-Guid: 84ECB49072A114DDE04400144FFABBB6
      Osso-Cookie-Timestamp: 51966357
      Connection: Keep-Alive
      Proxy-Remote-User: PERSO129
      Proxy-Auth-Type: Osso SSO
      Proxy-Client-IP: 10.5.0.222
      X-Forwarded-For: 10.5.0.222
      X-WebLogic-KeepAliveSecs: 30
      X-WebLogic-Force-JVMID: 659515316

      ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
      oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8923)
      oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
      oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)
      oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(ApplicationPoolImpl.java:3703)
      oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:344)
      oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2266)
      oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)
      oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
      oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
      oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
      oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)
      oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:862)
      oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:483)
      oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
      oracle.adf.model.BindingContext.put(BindingContext.java:1300)
      oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)
      oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1024)
      oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1282)
      oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1186)
      oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1146)
      oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1149)
      oracle.adf.model.BindingContext.get(BindingContext.java:1102)
      oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
      oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
      oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2708)
      oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2756)
      oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
      oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:328)
      oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1460)
      oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1590)
      oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2470)
      oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2414)
      oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:592)
      oracle.jbo.uicli.binding.JUCtrlActionBinding.internalCheckPermission(JUCtrlActionBinding.java:2038)
      oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:736)
      oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
      oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      sun.reflect.GeneratedMethodAccessor2511.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      com.sun.el.parser.AstValue.invoke(Unknown Source)
      com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
      oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:160)
      oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
      oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
      oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
      oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:242)
      oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
      oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1351)
      oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
      oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:429)
      oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:352)
      oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:160)
      oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:108)
      oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
      oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
      oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
      oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
      oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
      oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
      oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
      oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
      oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
      oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
      oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
      oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
      oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
      oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
      oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
      oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
      oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
      oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
      weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
      com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
      org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
      org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
      com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
      com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
      javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
      org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
      oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
      oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      java.security.AccessController.doPrivileged(Native Method)
      oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
      weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
      >

      Thank you