Hi
There is no SESSIONS.ser created under, but there is tldCache.ser

C:\App\apache-tomcat-5.5.25\work\Catalina\localhost\[webapp]

I have created a myapp.xml file
under C:\App\apache-tomcat-5.5.25\conf\Catalina\localhost folder, and this
xml file looks like below

<?xml version="1.0" encoding="UTF-8"?>
<Context
    docBase="C:/akulkarni/code/workspace_3.5/myapp/WebContent/"
path="/myapp" reloadable="true">
</Context>



On Wed, Feb 17, 2010 at 4:03 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----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
>
>


-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Reply via email to