Shapira, Yoav wrote:

Hi,
Make sure all your session attributes are serializable: namely, do not
put your logger in the session. Grep your code for session.setAttribute
calls (and/or the JSP equivalent if you're using JSPs) to quickly
ascertain this.



This is a very simple application in struts. My only session attributes are a String , an Integer , an ArrayList and a String[]. the struts form beans, are
DyanValidatorForm which are serializable.


Yoav Shapira
Millennium Research Informatics




-----Original Message-----
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 2:10 PM
To: Tomcat Users List
Subject: IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.commons.logging.impl.Log4JLogger

My server .xml is set out of the box with: unpackWARs="true"
autoDeploy="true"
If I copy a war file to webapps when there is an active session present
i get this error:

IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.commons.logging.impl.Log4JLogger

I don't see any sessions in work/Catalina/localhost/myapp and I don't
have any idea why I would be serializing
org.apache.commons.logging.impl.Log4JLogger.

do I have some permissions problem?   I am using linux and tc 5.0.19, I
am running tomcat as myself and I can read and write all of the tc
directories.

also when I stop tomcat I don't see the active session saved?

I' pretty perplexed.
mas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to