• Post Reply Bookmark Topic Watch Topic
  • New Topic

Weblogic Stuck thread Due to Coherence Sessions

 
shivendrasingh Singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting the Stuck threads in WEblogic giving the coherence Session errors as follows:

Accept-Language: en-us
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (iPad; CPU OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B466 Safari/600.1.4
X-Forwarded-For: XX
Connection: Keep-Alive
Proxy-Client-IP:XX
X-WebLogic-Request-ClusterInfo: true
x-weblogic-cluster-hash: l/TW/czQnugLA/a0fUMAi+kMhhs

]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.obtainClusterOwnership(AbstractHttpSessionCollection.java:1762)
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.enter(AbstractHttpSessionCollection.java:601)
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.enter(AbstractHttpSessionCollection.java:574)
com.tangosol.coherence.servlet.SessionHelper.enterSession(SessionHelper.java:2287)
weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.enterSession(CoherenceWebSessionContextImpl.java:609)
weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.retrieveSession(CoherenceWebSessionContextImpl.java:567)
weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.getSessionInternal(CoherenceWebSessionContextImpl.java:526)
weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getValidSession(ServletRequestImpl.java:2896)
weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSessionInternal(ServletRequestImpl.java:2436)
weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSession(ServletRequestImpl.java:2403)
weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1293)
weblogic.servlet.security.internal.SecurityModule$SessionRetrievalAction.run(SecurityModule.java:624)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
weblogic.servlet.security.internal.SecurityModule.getUserSession(SecurityModule.java:515)
weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:81)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

and when I checked the Coherence logs it is giving me the below error. Please if someone could help me in understanding the below error:
<02-Jun-2015 09:50:10 o'clock BST> <Error> <HTTP Session> <BEA-100060> <An unexpected error occurred while retrieving the session for Web application: ServletContext@89
2012442[app:cq-quickstart-5 module:cq-quickstart-5.5.0.war path: spec-version:2.5].
com.tangosol.net.RequestTimeoutException: Failed to obtain cluster ownership for the session with id=2EfYubnSj78cM6EnpWSPipowd9k44CkCEASdSPRYC28GXByM3Znx from: Member(
Id=10, Timestamp=2015-06-02 09:22:48.51, Address=10.215.193.35:8088, MachineId=7203, Location=site:unix.uk.vtg,machine:svaachsapp2225,process:7655, Role=WeblogicServer)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.failObtainClusterLock(AbstractHttpSessionCollection.java:1827)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.obtainClusterOwnership(AbstractHttpSessionCollection.java:1774)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.enter(AbstractHttpSessionCollection.java:601)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.enter(AbstractHttpSessionCollection.java:574)
at com.tangosol.coherence.servlet.SessionHelper.enterSession(SessionHelper.java:2287)
Truncated. see log file for complete stacktrace
>
<02-Jun-2015 09:50:10 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext@892012442[app:cq-quickstart-5 module:cq-quickstart-5.5.0.war path: spec-version:2.5]] Se
rvlet failed with Exception
java.lang.IllegalStateException: Failed to retrieve session: Failed to obtain cluster ownership for the session with id=2EfYubnSj78cM6EnpWSPipowd9k44CkCEASdSPRYC28GXBy
M3Znx from: Member(Id=10, Timestamp=2015-06-02 09:22:48.51, Address=10.215.193.35:8088, MachineId=7203, Location=site:unix.uk.vtg,machine:svaachsapp2225,process:7655, R
ole=WeblogicServer)
at weblogic.servlet.security.internal.SecurityModule.getUserSession(SecurityModule.java:519)
at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:81)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
Truncated. see log file for complete stacktrace

Thanks,
Shivendra
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!