[jboss-user] [EJB 3.0] - Re: EJB Passivation Error

schwarcz do-not-reply at jboss.com
Tue Nov 14 17:01:31 EST 2006

As I'm guessing you know.  passivation errors are generally caused by member variables that are not serializable.  I'm not familiar with the jaxen library but is there a possibility that you have a non-serializable member variable that uses the library?

org.apache.log4j.Logger is NOT seriazable.

You can add code to your life-cycle methods to set the variables to null on passivation and create them on activation.  Or you can declare the member variable to be transient so that the container will not try to write it out on passivation.

Hope this helps.

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

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

More information about the jboss-user mailing list