1 Reply Latest reply on Jul 28, 2005 10:45 AM by blackandwhite

    A CMR collection may only be used within the transction in w

    blackandwhite

      I find a lot of logs in jboss server.log as like :

      2005-07-24 16:39:28,625 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
      java.lang.IllegalStateException: A CMR collection may only be used within the transction in which it was created
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.getIdList(RelationSet.java:61)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.size(RelationSet.java:68)


      I have to restart jboss every day, any ideas? thx!

      I use jboss 3.2.1 with jetty, all ejb methods set
      <trans-attribute>Required</trans-attribute>