- Previous thread: RE: JNDI not available from ServletContextListener
- Next thread: Does Tomcat have something similar to JRun's virtual-mapping?
- Threads sorted by date: tomcat-users 201007
Running Tomcat 7.0.0 under Eclipse on Windows XP SP3. When I save a
change to my app and Tomcat reloads whatever it reloads, I get the
following exception. I did some web searching but to no avail.
The directory C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-
exists but there is no SESSIONS.ser file in it.
Happy to try to debug this with someone that might be able to guide
me... Thanks in advance.
Chris
* * * exception * * *
INFO: Reloading Context with path [/] has started
Jul 29, 2010 11:28:42 PM org.apache.catalina.session.StandardManager doUnload
SEVERE: IOException while saving persisted sessions:
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:491)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:465)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:608)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:4920)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3487)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:413)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1158)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1340)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1329)
at java.lang.Thread.run(Thread.java:619)
Jul 29, 2010 11:28:42 PM org.apache.catalina.session.StandardManager
stopInternal
SEVERE: Exception unloading sessions to persistent storage
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:491)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:465)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:608)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:4920)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3487)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:413)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1158)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1340)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1329)
at java.lang.Thread.run(Thread.java:619)
change to my app and Tomcat reloads whatever it reloads, I get the
following exception. I did some web searching but to no avail.
The directory C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-
exists but there is no SESSIONS.ser file in it.
Happy to try to debug this with someone that might be able to guide
me... Thanks in advance.
Chris
* * * exception * * *
INFO: Reloading Context with path [/] has started
Jul 29, 2010 11:28:42 PM org.apache.catalina.session.StandardManager doUnload
SEVERE: IOException while saving persisted sessions:
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:491)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:465)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:608)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:4920)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3487)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:413)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1158)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1340)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1329)
at java.lang.Thread.run(Thread.java:619)
Jul 29, 2010 11:28:42 PM org.apache.catalina.session.StandardManager
stopInternal
SEVERE: Exception unloading sessions to persistent storage
java.io.FileNotFoundException: C:Documents and
SettingsDadDesktopdev.metadata.pluginsorg.eclipse.wst.server.coretmp0workCatalinalocalhost-SESSIONS.ser
(The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:491)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:465)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:608)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:4920)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:214)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3487)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:413)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1158)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1340)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1349)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1329)
at java.lang.Thread.run(Thread.java:619)
Chris,
Look at the exception: it occurs in FileOutputStream.open(), which means
that Tomcat is failing to open the file for /writing/, not for reading.
FileNotFoundException when writing to a file usually means there is a
problem with the permissions of the directory (or directories) where
that file is trying to be created.
Unfortunately, the author of the StandardManager class thought that
"unloading" would be a good word to mean "writing" when trying to save
sessions to the disk.
Check your permissions and see if anything is amiss. Be aware that the
euid of the Tomcat process might not be /yours/.
Hope that helps,
- -chris
Look at the exception: it occurs in FileOutputStream.open(), which means
that Tomcat is failing to open the file for /writing/, not for reading.
FileNotFoundException when writing to a file usually means there is a
problem with the permissions of the directory (or directories) where
that file is trying to be created.
Unfortunately, the author of the StandardManager class thought that
"unloading" would be a good word to mean "writing" when trying to save
sessions to the disk.
Check your permissions and see if anything is amiss. Be aware that the
euid of the Tomcat process might not be /yours/.
Hope that helps,
- -chris
Related Threads
- HTTPS: connection reset by peer crash - curl-library
- wp-hackers - Adding built in taxonomies to custom post types - wordpress-hackers
- Form an external file or as inner class of page? - wicket-users
- users - Format cell failure - openoffice-users
- Memory leaks in rpc.mountd - linux-nfs
- asterisk-users - Recording from g729 to wav means transcoding ? - asterisk-users
- How to send a request to a nmr service? - servicemix-users
- JPQL class lookup performance - openjpa-users
- Color code my Vi Editor - vim-dev
- Fedora 14 Alpha Blocker Meeting #2 Recap - fedora-devel
- Plastic Theme 2.203 - Scheme not choosable - maemo-users
- Bug 29333 - New: r300 - dual head output is *very* slow on rotated display - xorg-driver-ati
Related Lists
- activemq-users
- ant-ivy-user
- ant-user
- axis-c-user
- axis-java-user
- buildr-users
- camel-users
- cayenne-user
- click-user
- cocoon-users
- commons-user
- continuum-users
- cxf-users
- db-derby-user
- directory-users
- felix-users
- geronimo-user
- hadoop-chukwa-user
- hadoop-common-user
- hadoop-general
- hadoop-hbase-user
- hadoop-hive-user
- hadoop-mapreduce-user
- hadoop-pig-user
- hadoop-zookeeper-user
- harmony-dev
- hc-httpclient-users
- httpd-users
- ibatis-user-java
- incubator-general
- jackrabbit-users
- jakarta-jmeter-user
- james-server-user
- logging-log4j-user
- lucene-general
- lucene-java-user
- lucene-lucene-net-user
- lucene-mahout-user
- lucene-nutch-user
- lucene-solr-user
- lucene-tika-user
- maven-users
- mina-ftpserver-users
- mina-users
- myfaces-users
- ode-user
- ofbiz-user
- openejb-users
- openjpa-users
- pdfbox-users
- perl-modperl
- pivot-user
- poi-user
- portals-jetspeed-user
- qpid-users
- servicemix-users
- sling-users
- spamassassin-users
- struts-user
- subversion-users
- synapse-user
- tapestry-users
- tomcat-users
- tuscany-user
- wicket-users
- xerces-c-users
- xmlgraphics-fop-users