-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ashish,
On 2/17/2010 3:32 PM, Ashish Kulkarni wrote: > Is it possible to find from log files or some where, what is preventing from > tomcat not able to persist sessions I would check logs/catalina.out, logs/localhost_*.log, and anything else in the logs/ directory. > all the classes saved in tomcat > are serialized, they implement implements Serializable. Don't forget that, in order to be serializable, a class must do more than merely implement the Serializable interface. All fields must be Serializable or transient, or you have to implement the serialization methods yourself. Finally, the seralVersionID of the class comes into play if you change the structure of the class (members, methods, or class name). > where does tomcat save this serialized data file on PC, i want to see if > this is created CATALINA_BASE/work/[service]/[host]/[webapp]/SESSIONS.ser > I have switched from tomcat plugin and using tomcat directly and still have > this error, i created a JSP which simply dumps all the objects in session on > webpage, before saving any class i have 2 objects in session, as soon as i > save the class and tomcat restarts and i refresh this jsp page, there are no > objects in session class. If you're looking for a more fully-features session snooping JSP, you could try mine: http://www.christopherschultz.net/projects/java/ - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt8WbEACgkQ9CaO5/Lv0PB2xACfY8S19BEjct9bwyln5WbY/Mlq aPkAoIUw2Odj2GwaqdxSAzIn9jfRu+2H =QRhB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org