Thanks for the reply.

I have run into this before with Weblogic (with
session attributes, not servletcontext attribs, but I
bet it is the same deal)

BEA states in this doc
(http://e-docs.bea.com/wls/docs61/webapp/sessions.html#session-persistence)
that "When your applications stores data in an HTTP
session object, the data must be serializable."   But
this is not clear to me why it needs to be if I am
using the "in-memory, single-server" model.  I have an
email into them on this.

I am running Weblogic 6.1, SP2.

-Mike


--- [EMAIL PROTECTED] wrote:
> Tapestry stores several "global" objects in the 
> ServletContext as attributes.  To my understanding,
> such 
> objects are not clustered, and therefore, don't need
> to 
> be serializable.
> 
> Looks like WebLogic is serializing them for some 
> reason.  Can you describe your environment (Tapestry
> 
> version, weblogic version, os, etc.)?
> 
> --
> [EMAIL PROTECTED]
> 
> http://tapestry.sf.net
> > I am getting the following "Could not deserialize
> > context attribute" exceptions in my log trace. 
> Could
> > someone explain what causes this?
> > 
> > Thanks,
> > Mike         
> > 
> > <Oct 16, 2002 11:33:03 AM EDT> <Error> <HTTP>
> > <[WebAppServletContext(7317111,notify,/notify)]
> Could
> > not deserialize context attribute
> > java.io.NotSerializableException:
> > net.sf.tapestry.engine.DefaultStringsSource
> >         at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
> >         at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:92)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:64)
> >         at
> >
>
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext
> > .java:306)
> >         at
> >
>
net.sf.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1036)
> >         at
> >
>
net.sf.tapestry.engine.AbstractEngine.service(AbstractEngine.java:702)
> >         at
> >
>
net.sf.tapestry.ApplicationServlet.doService(ApplicationServlet.java:176)
> >         at
> >
>
net.sf.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:144)
> >         at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >         at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265
> > )
> >         at
> >
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200
> > )
> >         at
> >
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContex
> > t.java:2495)
> >         at
> >
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:220
> > 4)
> >         at
> >
>
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >         at
> >
>
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > >
> > <Oct 16, 2002 11:33:03 AM EDT> <Error> <HTTP>
> > <[WebAppServletContext(7317111,notify,/notify)]
> Could
> > not deserialize context attribute
> > java.io.NotSerializableException:
> > net.sf.tapestry.util.io.DataSqueezer
> >         at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
> >         at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:92)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:64)
> >         at
> >
>
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext
> > .java:306)
> >         at
> >
>
net.sf.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1048)
> >         at
> >
>
net.sf.tapestry.engine.AbstractEngine.service(AbstractEngine.java:702)
> >         at
> >
>
net.sf.tapestry.ApplicationServlet.doService(ApplicationServlet.java:176)
> >         at
> >
>
net.sf.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:144)
> >         at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >         at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265
> > )
> >         at
> >
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200
> > )
> >         at
> >
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContex
> > t.java:2495)
> >         at
> >
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:220
> > 4)
> >         at
> >
>
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >         at
> >
>
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > >
> > 
> > <Oct 16, 2002 11:33:04 AM EDT> <Error> <HTTP>
> > <[WebAppServletContext(7317111,notify,/notify)]
> Could
> > not deserialize context attrib
> > ute
> > java.io.NotSerializableException:
> > net.sf.tapestry.asset.AssetExternalizer
> >         at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
> >         at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:92)
> >         at
> >
>
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:64)
> >         at
> >
>
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext
> > .java:306)
> >         at
> >
>
net.sf.tapestry.asset.AssetExternalizer.get(AssetExternalizer.java:230)
> >         at
> >
>
net.sf.tapestry.asset.PrivateAsset.buildURL(PrivateAsset.java:89)
> >         at
> > net.sf.tapestry.html.Body.process(Body.java:423)
> >         at
> >
>
net.sf.tapestry.inspector.InspectorButton.renderComponent(InspectorButton.java:1
> > 21)
> >         at
> >
>
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:891)
> >         at
> >
>
net.sf.tapestry.AbstractComponent.renderBody(AbstractComponent.java:665)
> >         at
> >
>
net.sf.tapestry.html.Body.renderComponent(Body.java:276)
> >         at
> >
>
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:891)
> >         at
> >
>
net.sf.tapestry.AbstractComponent.renderBody(AbstractComponent.java:665)
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to