You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Toni Tortosa <tt...@obertic.com> on 2008/04/25 09:00:05 UTC
java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser
(Permission denied)
Hello,
I've also this error
Apr 25, 2008 7:37:41 AM org.apache.catalina.session.StandardManager doUnload
SEVERE: IOException while saving persisted sessions:
java.io.FileNotFoundException:
/var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser
(Permission denied)
java.io.FileNotFoundException:
/var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:488)
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:4358)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
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:1054)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
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:743)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
In serveral paths tomcat is trying to search sessions.ser, but I can see
that it doesn't exist. Is this file created automatically, or maybe an
error in my tomcat installation?
Deb 4.
Tomcat 5.5.
Java 1.5.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: java.io.FileNotFoundException: /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser(Permission denied)
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Toni Tortosa [mailto:ttortosa@obertic.com]
> Subject: java.io.FileNotFoundException:
> /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser(
> Permission denied)
>
> Apr 25, 2008 7:37:41 AM
> org.apache.catalina.session.StandardManager doUnload
> SEVERE: IOException while saving persisted sessions:
> java.io.FileNotFoundException:
> /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser
> (Permission denied)
Tomcat is apparently not running with a uid that has access to that
path. You need to fix that, either by changing the ownership and
permissions on tomcat5.5/work, or running Tomcat under a more
appropriate userid.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org