com.solarmetric.kodo.runtime.UserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.

Oracle Community | 3004 | 1 decade ago
  1. 0

    Session EJB - holding references to PersistenceCapable

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
  2. 0

    UserException

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: This operation cannot be performed while a Transaction is active.
  3. 0

    class-column with multi-level inheritance

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: The column "CLASS_CD" was set to multiple different values in this SQL statement. This is probably because the schema mapping uses a single column for multiple fields on the assumption that the fields will always store the same underlying value, but the assumption was broken.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "com.solarmetric.kodo.PersistentTypes" property does not seem to work

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: No class metadata was associated with the object id "peacetech.gao.usorg.jdo.oid.OrgUnitOid#1" of class "peacetech.gao.usorg.jdo.oid.OrgUnitOid". If this is an application identity class, then the persistent class to which it refers needs to have been loaded, and the identity class "peacetech.gao.usorg.jdo.oid.OrgUnitOid" needs to be listed as the "objectid-class" attribute in the class metadata.
  6. 0

    UserException

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: This operation cannot be performed while a Transaction is active.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.UserException

      To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.

      at org.jboss.ejb.plugins.LogInterceptor.handleException()
    2. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:360)
      2. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      3. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      4. org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410)
      5. org.jboss.ejb.Container.invoke(Container.java:674)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor81.invoke(UnknownSource)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    5. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    6. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
      2. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:88)
      3. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      4. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      5. org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:119)
      6. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:82)
      6 frames
    7. Unknown
      $Proxy52.defineTransfer
      1. $Proxy52.defineTransfer(Unknown Source)
      1 frame