hi,
i'm getting this exception from jboss.
08:56:58,675 ERROR [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:58)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.iterator(RelationSet.java:260)
at
test.server.session.PermissionManagerEJBImpl.checkByRelationTraversal(PermissionManagerEJBImpl.java:59)
at
test.server.session.PermissionManagerEJBImpl.check(PermissionManagerEJBImpl.java:130)
my ejb-jar.xml says.
<session >
<description><![CDATA[]]></description>
<ejb-name>PermissionManager</ejb-name>
<home>test.shared.PermissionManagerHome</home>
<remote>test.shared.PermissionManager</remote>
<ejb-class>test.server.session.PermissionManagerEJBImpl</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<container-transaction >
<method >
<ejb-name>PermissionManager</ejb-name>
<method-intf>Local</method-intf>
<method-name>check</method-name>
<method-params>
<method-param>test.shared.UserLocal</method-param>
<method-param>test.shared.TypeLocal</method-param>
<method-param>java.lang.Integer</method-param>
<method-param>test.shared.OpLocal</method-param>
</method-params>
</method>
<trans-attribute>REQUIRED</trans-attribute>
</container-transaction>
since trans-attribute is REQUIRED, shouldn't jboss have a transaction for
me?
barbee.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user