tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11878] New: - bad SEESIONS.ser file breaks Catalina
Date Wed, 21 Aug 2002 00:57:42 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message