We're using WebLogic 6.1?  Should I really consider it broken?

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?

Thanks,

JOHN

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


--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> 
> On Thu, 10 Jul 2003, David Graham wrote:
> 
> > Date: Thu, 10 Jul 2003 09:24:15 -0700 (PDT)
> > From: David Graham <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
> >      [EMAIL PROTECTED]
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: RE: Struts 1.1 Bug? "PlugIn" Objects Not Serializable
> >
> > --- "Hohlen, John C" <[EMAIL PROTECTED]> wrote:
> > > 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.
> >
> > Open an enhancement request and we'll look at what it would take to
> make
> > the standard plugins serializable.  I don't think the interface should
> be
> > serializable because there might be plugins that use databases or
> other
> > non-serializable objects.
> >
> 
> My personal opinion is that app servers which require ServletContext
> attributes to be Serializable are broken, because the servlet spec only
> requires this for *session* attributes.  That being said, we probably
> need
> to address this reality, but it is still irritating.

My understanding was that distributable apps required ServletContext
attributes to be Serializable as well.  Is that incorrect?  I'll go look
at the spec again...

David

> Craig


__________________________________
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