cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moell...@DAKOSY.de
Subject Authentication Framework / NotSerializableException
Date Tue, 01 Jun 2004 13:37:54 GMT
Hello,
I'm using the authentication framework (very basically, I believe) and get 
a notSerializableException when stopping the server while a session 
exists.
The environment is JBoss3.2.3 with embedded Tomcat4.1 and cocoon2.1.3.
I have looked for information for several hours now but don't seem to find 
anything. 
I'd appreciate any hints on what I'm doing wrong here...


14:37:54,234 ERROR [Engine] StandardManager[/cocoon] Cannot serialize 
session attribute 
org.apache.cocoon.webapps.authentication.components.DefaultAuthenticationManager/UserStatus

for session E6B9B711B490C566CD6A902677CDBF11
java.io.NotSerializableException: 
org.apache.cocoon.components.ComponentContext
        at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
        at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
        at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
        at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
        at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
        at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
        at java.util.HashMap.writeObject(HashMap.java:978)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
        at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
        at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
        at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
        at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
        at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
        at 
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1439)
        at 
org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:881)
        at 
org.apache.catalina.session.StandardManager.unload(StandardManager.java:536)
        at 
org.apache.catalina.session.StandardManager.stop(StandardManager.java:691)
        at 
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3683)
        at 
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
        at 
org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470)
        at 
org.apache.catalina.core.StandardHost.remove(StandardHost.java:868)
        at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performUndeploy(EmbeddedTomcatService.java:348)
        at 
org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:476)
        at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:489)
        at 
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:472)
        at 
org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
        at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)
        at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)
        at 
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message