Hi,

I'm using JBoss 4.0 sp1 version. To my understanding, EJB references will be 
maintained while the stateful session bean is passivated, how about 
Serializable POJO references? 

Correct me if i'm wrong, I think it's not. Cause I get NullPointerException 
when the client call the method that used the variable. 

So, I re-instantiate the Serializable POJO, which is a class variable in the 
stateful session bean, in the ejbActivate() method. My bean successfully 
passivated and reactivated (I have a Passivation complete; and Activation 
complete; from the log file), however, I get the NullPointerException still. 

I try to log messages from the ejbActivate() method. It didn't show anything 
from the log nor at the console. It does show the messages from ejbPassivate() 
method though. 

Can someone point out what have I missed? Why is the ejbActivate() method 
doesn't seems to work?

Any idea?

Regards,
bb

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to