Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final
-
None
-
None
Description
SourceForge Submitter: lkral .
When a SFSB has a reference to its own EJBObject stub
either as a non-transient instance field or in the object
graph of a non-transient instance field, reactivation of
this EJB will fail.
A client call, which triggers an activation of this bean
instance, will never return and only result in
a 'transaction timeout' message:
[TransactionImpl] Transaction TransactionImpl:XidImpl
[FormatId=257, GlobalId=linux//15, BranchQual=] timed
out. status=STATUS_ACTIVE
Here the relevant part of the log file:
2004-07-09 19:42:11,303 DEBUG
[org.jboss.ejb.plugins.StatefulSessionFilePersistenceMana
ger] Attempting to activate;
ctx=org.jboss.ejb.StatefulSessionEnterpriseContext@67e
c28
2004-07-09 19:42:11,303 DEBUG
[org.jboss.ejb.plugins.StatefulSessionFilePersistenceMana
ger] Reading session state from: /usr/local/jboss-
3.2.5/server/default/tmp/sessions/Test1-dwgl7cj6-
4/dwgllux9-5.ser
2004-07-09 19:47:11,316 WARN
[org.jboss.tm.TransactionImpl] Transaction
TransactionImpl:XidImpl [FormatId=257,
GlobalId=linux//15, BranchQual=] timed out.
status=STATUS_ACTIVE
To reproduce the described behaviour I have attached a
jar file containing (deployable) SFSBs and a simple client
(binary + source).
Tested with: JBoss 3.2.5 / JDK 1.4.2 / SuSE 9.0