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. Caused by Thread: http-8090-Processor22 in VM(22) Shared Object Type: java.util.GregorianCalendar The cause may be one or more of the following: * Terracotta locking was not configured for the shared code. * The code itself does not have synchronization that Terracotta can use as a boundary. * The class doing the locking must be included for instrumentation. * The object was first locked, then shared. For more information on how to solve this issue, see: http://www.terracotta.org/usoe *********************************************************************

Terracotta | twister | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Shared Object Type: java.util.GregorianCalendar, problem with unvisible method

    Terracotta | 7 years ago | twister
    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. Caused by Thread: http-8090-Processor22 in VM(22) Shared Object Type: java.util.GregorianCalendar The cause may be one or more of the following: * Terracotta locking was not configured for the shared code. * The code itself does not have synchronization that Terracotta can use as a boundary. * The class doing the locking must be included for instrumentation. * The object was first locked, then shared. For more information on how to solve this issue, see: http://www.terracotta.org/usoe *********************************************************************
  2. 0

    I got UnlockedSharedObjectException !!

    Terracotta | 9 years ago | msbaek71
    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: http-8080-Processor24 in VM(0) Shared Object Type: net.daum.gaia.core.domain.model.article.ArticleContent *******************************************************************************

    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. Caused by Thread: http-8090-Processor22 in VM(22) Shared Object Type: java.util.GregorianCalendar The cause may be one or more of the following: * Terracotta locking was not configured for the shared code. * The code itself does not have synchronization that Terracotta can use as a boundary. * The class doing the locking must be included for instrumentation. * The object was first locked, then shared. For more information on how to solve this issue, see: http://www.terracotta.org/usoe *********************************************************************

      at com.tc.object.tx.ClientTransactionManagerImpl.getTransaction()
    2. com.tc.object
      TCObjectImpl.objectFieldChanged
      1. com.tc.object.tx.ClientTransactionManagerImpl.getTransaction(ClientTransactionManagerImpl.java:202)
      2. com.tc.object.tx.ClientTransactionManagerImpl.fieldChanged(ClientTransactionManagerImpl.java:405)
      3. com.tc.object.TCObjectImpl.objectFieldChanged(TCObjectImpl.java:331)
      3 frames
    3. Java RT
      Method.invoke
      1. java.util.Calendar.__tc_setzone(Calendar.java)
      2. java.util.Calendar.writeObject(Calendar.java:2389)
      3. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      4. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      5. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      6. java.lang.reflect.Method.invoke(Unknown Source)
      6 frames