3 Replies Latest reply: Jan 22, 2012 9:20 PM by Srinath Menon-Oracle RSS

    Maximum lock count exceeded - Details to debug

    Srinath Menon-Oracle
      Hello ,

      I have a site that is developed on Jdeveloper using jspx pages . This site is deployed on WLS but occassionaly I am seeing that the pages show up blank . After a short while refresh of the page brings the page back to normalcy as in shows the details , images etc .

      During the period when the page goes blank following error stack is captured in the server logs :
      Caused By: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /_intradoc_/wcm/app/groups/sgsitedesignasset/@hmc/documents/sitedesignasset/mdaw/mdaw/~edisp/st_mainkv5.jspx
      Exception occurred while processing '/_intradoc_/wcm/app/groups/sgsitedesignasset/@hmc/documents/sitedesignasset/mdaw/mdaw/~edisp/st_mainkv5.jspx'java.lang.Error: Maximum lock count exceeded
      at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:395)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1260)
      at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:594)
      at oracle.stellent.wcm.server.content.spi.fs.FileSystemLoader$SingleLockStrategy.lockShared(FileSystemLoader.java:116)
      at oracle.stellent.wcm.server.content.spi.fs.FileSystemLoader$MultiLockStrategy.lockShared(FileSystemLoader.java:185)
      at oracle.stellent.wcm.server.content.spi.fs.FileSystemLoader.readAndStoreOnlineContent(FileSystemLoader.java:349)
      at oracle.stellent.wcm.server.content.spi.fs.FileSystemLoader.readAndStoreStream(FileSystemLoader.java:311)
      at oracle.stellent.wcm.server.content.spi.fs.FSContentAdapter.loadContent(FSContentAdapter.java:163)
      at oracle.stellent.wcm.server.content.spi.fs.FSLocalModifiedContentAdapter.loadContent(FSLocalModifiedContentAdapter.java:123)
      at oracle.stellent.wcm.javaee.shared.jsp.IdcJspProvider.fromStream(IdcJspProvider.java:86)
      at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:328)
      at weblogic.jsp.wlw.util.filesystem.mds.MDSFileSystem.getInputStream(MDSFileSystem.java:78)
      at weblogic.jsp.wlw.util.filesystem.FS.getInputStream(FS.java:224)
      at weblogic.jsp.wlw.util.filesystem.FS.getReader(FS.java:246)
      at weblogic.jsp.internal.SourceFile.getReader(SourceFile.java:230)
      at weblogic.jsp.internal.SourceFile.getTokenStream(SourceFile.java:384)
      at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:533)
      at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
      at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
      at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
      at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
      at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
      at weblogic.jsp.internal.client.SyncThreadPool.addJob(SyncThreadPool.java:31)
      at weblogic.jsp.internal.client.SyncThreadPool.addJob(SyncThreadPool.java:19)
      at weblogic.jsp.internal.client.ClientUtilsImpl.build(ClientUtilsImpl.java:348)
      at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:153)
      at weblogic.servlet.jsp.ResourceProviderJavelinxJspStub.compilePage(ResourceProviderJavelinxJspStub.java:78)
      at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
      at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
      at weblogic.servlet.jsp.ResourceProviderJspStub.execute(ResourceProviderJspStub.java:48)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
      at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
      at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
      at oracle.stellent.wcm.javaee.ServletRequestContext.executePath(ServletRequestContext.java:243)
      at oracle.stellent.wcm.client.RequestContext.process(RequestContext.java:189)
      at oracle.stellent.wcm.client.RequestContext.include(RequestContext.java:144)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.evaluateScript(ResponseHandler.java:217)
      at oracle.stellent.wcm.javaee.taglib.BaseTag$1.evaluateScript(BaseTag.java:114)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.handleResponse(ResponseHandler.java:146)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.handleResponse(ResponseHandler.java:111)
      at oracle.stellent.wcm.javaee.taglib.BaseTag$1.handleResponse(BaseTag.java:121)
      at oracle.stellent.wcm.client.invokers.RequestInvoker.handleResponse(RequestInvoker.java:222)
      at oracle.stellent.wcm.client.invokers.impl.ContributableInvoker.handleResponse(ContributableInvoker.java:53)
      at oracle.stellent.wcm.client.invokers.impl.PlaceholderInvoker.handleResponse(PlaceholderInvoker.java:70)
      at oracle.stellent.wcm.client.invokers.RequestInvoker.invokeRequest(RequestInvoker.java:145)
      at oracle.stellent.wcm.javaee.taglib.BaseTag.doTag(BaseTag.java:127)
      at jsp_servlet._intradoc._wcm._app._groups._sgsitedesignasset.__64_hmc._documents._sitedesignasset._mdaw._mdaw.__126_edisp.__pt_pip_jspx._jspService(__pt_pip_jspx.java:704)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.jsp.ResourceProviderJspStub.execute(ResourceProviderJspStub.java:48)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter.doFilter(WCMSiteFilter.java:156)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
      at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
      at oracle.stellent.wcm.javaee.ServletRequestContext.executePath(ServletRequestContext.java:247)
      at oracle.stellent.wcm.client.RequestContext.process(RequestContext.java:189)
      at oracle.stellent.wcm.client.RequestContext.forward(RequestContext.java:157)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.evaluateScript(ResponseHandler.java:215)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.handleResponse(ResponseHandler.java:146)
      at oracle.stellent.wcm.client.invokers.ResponseHandler.handleResponse(ResponseHandler.java:111)
      at oracle.stellent.wcm.client.invokers.RequestInvoker.handleResponse(RequestInvoker.java:222)
      at oracle.stellent.wcm.client.invokers.impl.PageInvoker.handleResponse(PageInvoker.java:75)
      at oracle.stellent.wcm.client.invokers.RequestInvoker.invokeRequest(RequestInvoker.java:145)
      at oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter.handlePageInvocation(WCMSiteFilter.java:326)
      at oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter.doFilter(WCMSiteFilter.java:174)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      I am not able to figure out what / how to go about troubleshooting this issue .

      Can someone shed some light on the error mentioned above and let me know how to proceed with debugging this issue ?
      Site is deployed on WLS 10.3.5 on a separate managed server .

      Any inputs will be highly appreciated .

      Thanks
      Srinath