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=16680>.
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=16680

Internal Server Error on HttpSession.setAttribute()

           Summary: Internal Server Error on HttpSession.setAttribute()
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


4.1.18 of Tomact, HttpSession.setAttribute throws the Exception, 
java.io.NotSerializableException, and displays an "Internal Server Error" on 
the generated web page, when the saved session attribute is not serializeable.

In version 3 of Tomcat, it was not required that a saved attribute be 
serializable. Further, there are cases where the saved object may be very 
complex and difficult to serialize. While necessary for J2EE clustering, a 
session attribute being serializable should not be hard requirement for all 
cases -- or at least handled more gracefully and documented that this is a 
requirement.

-George

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to