Craig: I added a comment to the Bugzilla report with a link to the thread. Thanks for the idea.
Do you or anyone else know if WebLogic 6.1 requires that servlet context attributes to be serializable? How can I figure that out? I'm not sure if implementing serialiazable in the Struts plug-in will work. I hit the wall with the following WebLogic object not being serializable. I think this is from one of our app specific plug-ins, however: weblogic.servlet.internal.WebAppServletContext In addition, I discovered several other Struts objects being stored in application scope were not serializable: 'org.apache.struts.action.REQUEST_PROCESSOR' 'org.apache.struts.action.ACTION_SERVLET' Any help is greatly appreciated. Thanks, JOHN -----Original Message----- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 2:29 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Struts 1.1 Bug? "PlugIn" Objects Not Serializable On Thu, 10 Jul 2003, Hohlen, John C wrote: > Date: Thu, 10 Jul 2003 14:04:31 -0500 > From: "Hohlen, John C" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: RE: Struts 1.1 Bug? "PlugIn" Objects Not Serializable > > We're using WebLogic 6.1? Should I really consider it broken? > Feel free to point at this message thread if you report a bug to them :-). I have not heard any convincing justification for why this choice was made -- why should applications be disallowed from storing non-serializable resources there? > I've submitted a Bugzilla Enhancement as per your suggestion: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=21476 > > In the meantime, I'm thinking of extending the Plugins that I'm using > (Validator and Tiles) to simply implement "serializable". > > public class SerializableValidatorPlugIn extends ValidatorPlugIn > implements Serializable { > > } > > Then I'll specify my plug-ins in the Struts config file. Do you think > this will work in the meantime? > It's worth a shot, but just adding "implements Serializable" to a class does not guarantee that serialization will be successful. It would still fail, for example, if the PlugIn class had instance variables that are not themselves serializable. > Thanks, > > JOHN Craig --------------------------------------------------------------------- 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]