You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/13 05:53:25 UTC
DO NOT REPLY [Bug 9828] New: -
ValidatorForm can not be serialized
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: struts-dev@jakarta.apache.org
ReportedBy: shinya@kbmj.com
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>