You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/21 02:57:42 UTC

DO NOT REPLY [Bug 11878] New: - bad SEESIONS.ser file breaks Catalina

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11878>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11878

bad SEESIONS.ser file breaks Catalina

           Summary: bad SEESIONS.ser file breaks Catalina
           Product: Tomcat 4
           Version: 4.1.9
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina:Modules
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: will@mercedsystems.com
                CC: will@mercedsystems.com


I have the following behavior:

(1) Start tomcat
(2) hit a page in my webapp
(3) Stop tomcat
(4) Start Tomcat 
(5) Try to hit any page in my webapp and I get  NullPointerException 
because:
request.getSession(); 
returns null !

Now, if I remove the SESSIONS.ser from the /work directory for my webapp
in between steps (3) and (4) then everything works ok.

I suspect that something is wrong with Session persistence. My workaround is 
removing SESSIONS.ser each time I run tomcat, but I think this is a bug that 
needs to be fixed. (by the way, I tried to reproduce with a simple webapp 
and I could not. There must be something about the state in my session. I 
can send my SESSIONS.ser file if you need help reproducing this bug)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>