Im having trouble with some ejbs that I remove in the context of a transaction. And i
was hoping someone could shed some light as to what is going on, and hence steer me in
the right direction.
When a Address ejb is removed, i am wanting to update another record related to this.
What i have been doing is calling a refresh method after this (but still within the
same transaction). This method does a search and finds all Addresses, and performs
some operations on them..
However my problem is, it seems that when i perform the remove, and then get all
Addresses I am returned the ejb that has been set to be removed. I then make use of
that address ejb and I think due to this i am receiving the below error. To the best
of my knowledge I don't have any other processes running or anything (this is a junit
test im running).
And because of this I think i am receiving this error message:
javax.ejb.EJBException: Reentrant method call detected for Address 775: The same
thread reentered: thread=Thread[RMI TCP Connection(2)-10.66.32.33,5,R
MI Runtime], tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=chmapc_aaronc//30,
BranchQual=]
at
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:108)
at
org.jboss.ejb.plugins.EntityMultiInstanceInterceptor.invoke(EntityMultiInstanceInterceptor.java:108)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
Is there a way to check to see if an ejb has been marked for removal ?
any help is appreciated
cheers
--Aaron
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829115#3829115
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829115
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user