Bugs item #705542, was opened at 2003-03-18 22:53
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=705542&group_id=22866
Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Johan Granlund (johgr814)
Assigned to: Nobody/Anonymous (nobody)
Summary: Errorenous IllegalStateException on CMR-Collection
Initial Comment:
We've been dealing with this bug since we started up
our project with JBoss 3.0.0.
Now we are using JBoss 3.0.2RC2 with Postgres 7.2
and we still get it. When we are using a Collection
retrieved with a CMR-getter on a local interface the
Collection sporadicly maybe 1 of 200 calls thinks it was
created in another transaction that obviously isn't the
case. We get a stacktrace like this:
12:21:38,121 ERROR [LogInterceptor]
RuntimeException:
java.lang.IllegalStateException: The iterator of a CMR
collection may only be used within the transction in
which it was created
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.verif
yIteratorIsValid(RelationSet.java:345)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.has
Next(RelationSet.java:298)
at
se.alleato.ejb.alexandria.server.facade.PersonFacadeBe
an.getNodePersonRoles(PersonFacadeBean.java:318)
...
This isn't isolated to any specific bean, instead it occurs
on Collection retrieved by local CMP interfaces that are
called often. It is obvious an errorenous behaviour that
can be worked around by catching the exception and
creating the Collection again by calling the getter again
which works fine but clearly is anoying.
----------------------------------------------------------------------
Comment By: Stephen Coy (scoy)
Date: 2003-03-28 20:30
Message:
Logged In: YES
user_id=463096
Are you *really* using JBoss 3.0.2RC2?
Or is it 3.2.0RC2?
Either way, you need to provide more information wrt to the way you are specifying
your transactions and your use cases.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=705542&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development