Clarity: IOException while loading persisted sessions: java.io.EOFException

Document ID : KB000050807
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Clarity Application starts with following error, but the users cannot login to Clarity Server.

SYS 2010-07-01 15:27:41,636 [WrapperStartStopAppMain] niku.union (none:none:none) Clarity 12.0.4.5283 initializing...
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) JDBC Driver vendor : DataDirect
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) JDBC Driver name : SQLServer
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) JDBC Driver version : 3.70.25 (029619.012904.017414)
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) DB product name : Microsoft SQL Server
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) DB product version : Microsoft SQL Server Yukon - 9.00.3159
SYS 2010-07-01 15:27:42,714 [WrapperStartStopAppMain] niku.union (none:none:none) DB user : clarity2
SYS 2010-07-01 15:27:44,463 [WrapperStartStopAppMain] niku.union (none:none:none) READ_COMMITTED_SNAPSHOT: true
SYS 2010-07-01 15:27:44,482 [WrapperStartStopAppMain] niku.union (none:none:none) VIEW SERVER STATE : true
SYS 2010-07-01 15:27:44,513 [WrapperStartStopAppMain] niku.union (none:none:none) Starting Cache Messenger...
SYS 2010-07-01 15:27:47,890 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: wmd-init...
SYS 2010-07-01 15:27:47,952 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: odf.init...
SYS 2010-07-01 15:27:48,062 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: bpm...
SYS 2010-07-01 15:27:48,062 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing Event Manager on server instance: app
SYS 2010-07-01 15:27:48,093 [WrapperStartStopAppMain] niku.union (none:none:none) Broadcasting application service startup signal...
SYS 2010-07-01 15:27:49,092 [WrapperStartStopAppMain] niku.union (none:none:none) Starting Message Receiver on Event Manager
SYS 2010-07-01 15:27:49,151 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: bpm-validation...
SYS 2010-07-01 15:27:49,168 [Event Interest Registration Thread] niku.union (none:none:none) Registering event interests...
SYS 2010-07-01 15:27:50,261 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: njs...
SYS 2010-07-01 15:27:50,591 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: schedulers.init...
SYS 2010-07-01 15:27:50,807 [WrapperStartStopAppMain] niku.union (none:none:none) Initializing: pma.init...
SYS 2010-07-01 15:27:52,541 [WrapperStartStopAppMain] niku.union (none:none:none) Clarity 12.0.4.5283 ready.
ERROR 2010-07-01 15:27:52,986 [WrapperStartStopAppMain] session.ManagerBase (none:none:none) IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2696)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:432)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
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:592)
at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
at java.lang.Thread.run(Thread.java:595)
ERROR 2010-07-01 15:27:52,992 [WrapperStartStopAppMain] session.ManagerBase (none:none:none) Exception loading sessions from persistent storage
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2696)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:432)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
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:592)
at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
at java.lang.Thread.run(Thread.java:595)

Solution:

Please do a search on your system for *.ser files. You should have several of these files. These are the user session files for Tomcat. Please rename these files, then remove them from the directory in which they currently reside. (If these files cannot be manipulated because they are "in use", then please stop Tomcat before renaming and removing them). Once these files have been removed, please restart Tomcat.

Keywords: CLARITYKB, environment, configuration.