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

ValidatorForm can not be serialized

           Summary: ValidatorForm can not be serialized
           Product: Struts
           Version: 1.1 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using JBoss 2.4.6+Tomcat 4.0.3 bundle with Struts 1.1-b1 
on JDK 1.4.0_01 on RedHat Linux 
7.3.
When Tomcat tries to store a http session with VaildatorForm instance,
I get the 
following exception:

java.io.WriteAbortedException: writing aborted; 
java.io.NotSerializableException: 
org.apache.commons.logging.impl.Log4JCategoryLog

The following statment in 
ValidatorForm seems to be causing the problem:

    private Log log = 
LogSource.getInstance(this.getClass().getName());

This instance should be static.

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

Reply via email to