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: main in VM(3) Shared Object Type: TCVolatile *******************************************************************************

Terracotta | hmak | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    unexpected handling of volatile

    Terracotta | 9 years ago | hmak
    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: main in VM(3) Shared Object Type: TCVolatile *******************************************************************************

    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: main in VM(3) Shared Object Type: TCVolatile *******************************************************************************

      at com.tc.object.tx.ClientTransactionManagerImpl.getTransaction()
    2. com.tc.object
      TCObjectImpl.intFieldChanged
      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:297)
      4. com.tc.object.TCObjectImpl.intFieldChanged(TCObjectImpl.java:337)
      4 frames
    3. Unknown
      TCVolatile.main
      1. TCVolatile.__tc_setm_f(TCVolatile.java)
      2. TCVolatile.set(TCVolatile.java:7)
      3. TCVolatile.main(TCVolatile.java:11)
      3 frames