0 Replies Latest reply on Apr 23, 2002 11:52 PM by Wellie Chao

    Persisting session data

    Wellie Chao Newbie

      By default, where does JBoss try to persist session data from Catalina? I'm using JBoss RC1 with Catalina 4.0.3. Whenever I undeploy either an EAR file or an unpacked EAR, I get the following two errors:

      2002-04-23 23:48:16,508 ERROR [org.jboss.web.localhost.Engine] StandardManager[/
      rmjobs] IOException while saving persisted sessions: java.rmi.MarshalException:
      Invalid remote object
      java.rmi.MarshalException: Invalid remote object
      at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:332)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:78
      0)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:12
      94)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.writeExternal(J
      RMPInvokerProxy.java:149)
      at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:
      1265)

      2002-04-23 23:48:16,535 ERROR [org.jboss.web.localhost.Engine] StandardManager[/
      rmjobs] Exception unloading sessions to persistent storage
      java.rmi.MarshalException: Invalid remote object
      at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:332)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:78
      0)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:12
      94)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1245)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.writeExternal(J
      RMPInvokerProxy.java:149)
      at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:
      1265)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav