tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wall" <d.w...@computer.org>
Subject Startup exception using security manager on TC 5.0.18
Date Mon, 09 Feb 2004 00:36:30 GMT
When I startup Tomcat 5.0.18 with a security manager, I get the following
exception.  It talks about persisted sessions, something I didn't even
realize existed.  No doubt there's a permissions problem if it cannot read
where the sessions are stored.

Is there a way to make sure sessions are not persisted?  In general, we
wouldn't want that unless we were doing some sort of clustering or the like.
Or is this problem something else?

David


Feb 8, 2004 4:30:05 PM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
        at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2
165)
        at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.j
ava:2631)
        at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
        at
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStr
eam.java:104)
        at
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:431)
        at
org.apache.catalina.session.StandardManager$PrivilegedDoLoad.run(StandardMan
ager.java:123)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.session.StandardManager.load(StandardManager.java:377)
        at
org.apache.catalina.session.StandardManager.start(StandardManager.java:703)
        at
org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:542)
        at
org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:3
49)
        at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:654)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
253)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4224)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
66)
        at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:164)
        at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.
java:186)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:848)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:320)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message