[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2004-07-22 Thread sjheng
sorry, do u mean the problem raised because of the exception ? Thank you for ur opinion... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842936#3842936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842936

[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2004-07-22 Thread darranl
The problem is that you have a stateful session bean that has a reference to something that can not be serialized. Within the ejbPassivate method you need to remove all references to anything that isn't serializable. Within the ejbActivate you can then initialise the references again. View