That's exactly my problem.  I have a distributable application using Struts 1.1.  
Struts is storing an object in the ServletContext that is not serializable.  What am I 
supposed to do, remove it?  That would probably cause Struts not to function properly.

Thanks,

JOHN

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 10:47 AM
To: Struts Users Mailing List
Subject: Re: Struts 1.1 Bug? "PlugIn" Objects Not Serializable


--- "Hohlen, John C" <[EMAIL PROTECTED]> wrote:
> > I'm encountering a "serialization" error due to Plug-In objects, in my
> case, the "org.apache.struts.validator.ValidatorPlugIn" not being
> serializable.  An array of plug-ins are stored in "application" scope in
> the "ActionServlet.initModulePlugIns()" method.  However, the "PlugIn"
> interface does not implement "serializable" nor do any of the
> implementing subclasses (ModuleConfigVerifier, TilesPlugin,
> ValidatorPlugIn).  Anybody have any ideas for a possible workaround?
> > JOHN
> > P.S. I checked Bugzilla database and did not see this error.  I will
> add if others concur with this.

Only objects stored in the session are required to be Serializable. 
Distributable apps require objects in the ServletContext to be
Serializable as well.

David


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


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


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

Reply via email to