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
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

    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.

    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