-
1. Re: passivate warning
darranl Jun 21, 2004 7:49 AM (in response to sivauser)java.io.NotSerializableException
-
-
3. Re: passivate warning
dannyyates Jun 21, 2004 9:19 AM (in response to sivauser)RTFM. Find out (with the help of the stacktrace and the JDK Javadoc) under what circumstances a java.io.NotSerializableException can be thrown. Then figure out (again, with the help of the stacktrace which pretty much gives you the answer) why a NotSerializableException is being thrown in this instance.
Then go and search on the forums/Google and find the other 5000 times this question has been asked and the answer has been exactly the same.
Then come back here and ask nicely and we'll cut up your food into easily managable chunks, do all your laundry and housework, and maybe even mow your lawn for you.
The answers are right in front of you in the stacktrace. -
4. Re: passivate warning
sivauser Jun 21, 2004 9:28 AM (in response to sivauser)if u can explain what the following means , then rest i'll try n figure out.
17:05:04,515 WARN [AbstractInstanceCache] failed to passivate, id=dvqi7r9v-4
javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException is:
org.apache.log4j.Logger -
5. Re: passivate warning
milowe Jun 22, 2004 3:50 AM (in response to sivauser)Well, if you bothered to read your stacktrace you would realize that org.apache.log4j.Logger is not a serializable class.
-
6. Re: passivate warning
sivauser Jun 25, 2004 10:31 AM (in response to sivauser)why jobss is giving this exception.. I am not serialising org.apache.log4j.Logger class..
if anyone have come across same problem pl help.. -
7. Re: passivate warning
darranl Jun 25, 2004 10:44 AM (in response to sivauser)Looking at the stack trace it looks as if you have got a reference to and instance of 'org.apache.log4j.Logger' in a session bean that is being passivated / serialized by the container.