com.tc.object.tx.UnlockedSharedObjectException: ******************************************************************************* Attempt to access a shared object outside the scope of a shared lock. All access to shared objects must be within the scope of one or more shared locks defined in your Terracotta configuration. Please alter the locks section of your Terracotta configuration so that this access is auto-locked or protected by a named lock. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting Caused by Thread: btpool0-0 in VM(1) Shared Object Type: com.terracotta.session.SessionData *******************************************************************************

Terracotta | fuzy | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re:Troubleshooting: Leaking Locks

    Terracotta | 8 years ago | fuzy
    com.tc.object.tx.UnlockedSharedObjectException: ******************************************************************************* Attempt to access a shared object outside the scope of a shared lock. All access to shared objects must be within the scope of one or more shared locks defined in your Terracotta configuration. Please alter the locks section of your Terracotta configuration so that this access is auto-locked or protected by a named lock. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting Caused by Thread: btpool0-0 in VM(1) Shared Object Type: com.terracotta.session.SessionData *******************************************************************************

    Root Cause Analysis

    1. com.tc.object.tx.UnlockedSharedObjectException

      ******************************************************************************* Attempt to access a shared object outside the scope of a shared lock. All access to shared objects must be within the scope of one or more shared locks defined in your Terracotta configuration. Please alter the locks section of your Terracotta configuration so that this access is auto-locked or protected by a named lock. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting Caused by Thread: btpool0-0 in VM(1) Shared Object Type: com.terracotta.session.SessionData *******************************************************************************

      at com.tc.object.tx.ClientTransactionManagerImpl.getTransaction()
    2. com.tc.object
      TCObjectImpl.longFieldChanged
      1. com.tc.object.tx.ClientTransactionManagerImpl.getTransaction(ClientTransactionManagerImpl.java:300)
      2. com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:595)
      3. com.tc.object.TCObjectImpl.objectFieldChanged(TCObjectImpl.java:305)
      4. com.tc.object.TCObjectImpl.longFieldChanged(TCObjectImpl.java:349)
      4 frames
    3. com.terracotta.session
      SessionFilter.doFilter
      1. com.terracotta.session.SessionData.__tc_setlastAccessedTime(SessionData.java)
      2. com.terracotta.session.SessionData.finishRequest(SessionData.java:163)
      3. com.terracotta.session.TerracottaSessionManager.postprocessSession(TerracottaSessionManager.java:300)
      4. com.terracotta.session.TerracottaSessionManager.basicPostprocess(TerracottaSessionManager.java:269)
      5. com.terracotta.session.TerracottaSessionManager.postprocess(TerracottaSessionManager.java:252)
      6. com.terracotta.session.SessionFilter.doHttpFilter(SessionFilter.java:80)
      7. com.terracotta.session.SessionFilter.doFilter(SessionFilter.java:62)
      7 frames
    4. Jetty Server
      SelectChannelConnector$RetryContinuation.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      9. org.mortbay.jetty.Server.handle(Server.java:324)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      11. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:374)
      12. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      13. org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:506)
      13 frames
    5. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame