Hi,
   I have a stateful session bean which has an instance field of;

 public Context myInitialContext;

I initialize this in ejbCreate, thus;

 myInitialContext = (Context)myInitialContext.lookup("java:comp/env");

When I re-deploy the application having used it, I guess JBoss is 
passivating the bean. When it does so I see the following error...

javax.ejb.EJBException: Could not passivate; failed to save state; 
CausedByException is:        org.jboss.ejb.plugins.TxInterceptorBMT
        at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSess
ionFilePersistenceManager.java:378)
        at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache
.java:85) 

Since this error only started appearing after I inserted the instance
variable it must be related,

Any thoughts?

Thanks,

Andy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833996#3833996

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833996


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to