-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ashish,
On 2/17/2010 5:07 PM, Ashish Kulkarni wrote: > There is no SESSIONS.ser created under, but there is tldCache.ser These files are unrelated to each other. > 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> Remove the "path" attribute: it is illegal, here. Tomcat takes the path from the name of the XML file (myapp.xml -> /myapp). None of what you did will change the capability of your webapp to persist sessions across a webapp reload. If SESSIONS.ser doesn't exist, Tomcat either can't create it (permissions issue), never found a session that was serializable (not serializable issue in your code), or you have disabled the standard manager's persistence mechanism. You can post your server.xml file if you want, but I'll bet it's the default and that the problem is with your session objects, not something in your configuration. Have you checked log files for anything at all? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt9rSAACgkQ9CaO5/Lv0PBqcQCeJqOXs6MNEyXeEU0cEk11/kOt EVoAn1zIvwYp9doCqr0srpl5ZF2Xs4vs =HLhG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org