Hi

I have run into a problem running Apache SOAP 2.1 in WLS 6.0. Everytime
i try to deploy a service I get a NotSerializableException in the
webcontainer. This happens when SOAP tries to store the ServiceManager
object in application scope,  (In WLS 6.0 everything stored in
application scope has to be serializable). The stack trace is below.

Does anyone know a workaround for this? I don't want to change the
sourcecode of SOAP myself so that ServiceManager implements serializable
since that will force me to change it again whenever I download a new
version.

Are there any plans to change the ServiceManger class so that it will
implement Serializable in the future?

Regards, Magnus Petersson


<2001-maj-28 15:09:33 CEST> <Error> <HTTP>
<[WebAppServletContext(7531986,soap)] Could not deserialize context
attribute
java.io.NotSerializableException: org.apache.soap.server.ServiceManager
        at java.io.ObjectOutputStream.outputObject(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:70)
        at
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext.java:258)
        at
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(ServerHTTPUtils.java:98)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:197)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1622)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)>

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

Reply via email to