Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-438

java.io.NotSerializableException: org.apache.axis2.description.AxisService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.95
    • None
    • None

    Description

      Deployed latest WAR into tomcat55 and i see exceptions as follows:

      INFO: XML validation disabled

      • IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.axis2.description.AxisService
        java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
        at java.util.HashMap.readObject(Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.lang.LangAccessImpl.readObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.io.ObjectStreamClass.invokeReadObject(Ljava.lang.Object;Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.io.ObjectInputStream.readSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1384)
        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:919)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
        at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:403)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4111)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        Caused by: java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at java.util.HashMap.writeObject(Unknown Source)
        at java.lang.LangAccessImpl.writeObject(Unknown Source)
        at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
        at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
        at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1460)
        at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:936)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
        at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4316)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
        at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1159)
        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1131)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1053)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
        at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)
      • Exception loading sessions from persistent storage
        java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
        at java.util.HashMap.readObject(Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.lang.LangAccessImpl.readObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.io.ObjectStreamClass.invokeReadObject(Ljava.lang.Object;Ljava.io.ObjectInputStream;)V(Unknown Source)
        at java.io.ObjectInputStream.readSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
        at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1384)
        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:919)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
        at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:403)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4111)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        Caused by: java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at java.util.HashMap.writeObject(Unknown Source)
        at java.lang.LangAccessImpl.writeObject(Unknown Source)
        at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
        at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
        at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1460)
        at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:936)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
        at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4316)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
        at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1159)
        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1131)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1053)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
        at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)

      Attachments

        Activity

          People

            dbhole Deepak Bhole
            dims Davanum Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: