tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown
Date Wed, 12 Dec 2007 10:41:50 GMT
Some more details. I don't know whether this is a Tomcat or Axis2  
issue, but the problem seems to be that the axis2 directory does not  
exist under $CATALINA_HOME/work/Catalina/localhost.


Michele

Begin forwarded message:

> From: Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk>
> Date: 12 December 2007 10:14:57 GMT
> To: users@tomcat.apache.org
> Subject: FileNotFoundException (SESSIONS.ser)
> Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
>
> Hi all,
>
> I'm running Axis2 1.3 inside Tomcat 6.0.13 (my machine is a Linux box)
> and I get the following problem ($CATALINA_HOME is set
> to /home/nmm42/devel/tomcat/apache-tomcat-6.0.13)
>
>
> ~/devel/tomcat/apache-tomcat-6.0.13/bin> ./shutdown.sh
> Using CATALINA_BASE:   /home/nmm42/devel/tomcat/apache-tomcat-6.0.13
> Using CATALINA_HOME:   /home/nmm42/devel/tomcat/apache-tomcat-6.0.13
> Using
> CATALINA_TMPDIR: /home/nmm42/devel/tomcat/apache-tomcat-6.0.13/temp
> Using JRE_HOME:       /usr/java/jdk1.6.0_03
> nmm42@eskdale:~/devel/tomcat/apache-tomcat-6.0.13/bin>
> cat ../logs/catalina.out
> 12-Dec-2007 09:55:05 org.apache.catalina.core.AprLifecycleListener  
> init
> INFO: The Apache Tomcat Native library which allows optimal  
> performance
> in production environments was not found on the
> java.library.path: /usr/java/jdk1.6.0_03/jre/lib/i386/client:/usr/ 
> java/jdk1.6.0_03/jre/lib/i386:/usr/java/jdk1.6.0_03/jre/../lib/ 
> i386:/usr/java/packages/lib/i386:/lib:/usr/lib
> 12-Dec-2007 09:55:05 org.apache.coyote.http11.Http11NioProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 12-Dec-2007 09:55:05 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 863 ms
> 12-Dec-2007 09:55:05 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 12-Dec-2007 09:55:05 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
> 12-Dec-2007 09:55:05 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> [INFO] Deploying module: ping-SNAPSHOT -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/modules/ping-SNAPSHOT.mar
> [INFO] Deploying module: soapmonitor-SNAPSHOT -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/modules/soapmonitor-SNAPSHOT.mar
> [INFO] Deploying module: metadataExchange-SNAPSHOT -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/modules/mex-SNAPSHOT.mar
> [INFO] Deploying module: addressing-SNAPSHOT -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/modules/addressing-SNAPSHOT.mar
> [INFO] Deploying module: script-SNAPSHOT -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/modules/axis2-scripting-SNAPSHOT.mar
> [INFO] script module activated
> [INFO] Deploying Web service: version-SNAPSHOT.aar -
> file:/home/nmm42/devel/tomcat/apache-tomcat-6.0.13/webapps/axis2/ 
> WEB-INF/services/version-SNAPSHOT.aar
> 12-Dec-2007 09:55:08 org.apache.coyote.http11.Http11NioProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 12-Dec-2007 09:55:08 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 12-Dec-2007 09:55:08 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> 12-Dec-2007 09:55:08 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2694 ms
> 12-Dec-2007 09:58:57 org.apache.coyote.http11.Http11NioProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> 12-Dec-2007 09:58:58 org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> 12-Dec-2007 09:58:59 org.apache.catalina.session.StandardManager
> doUnload
> SEVERE: IOException while saving persisted sessions:
> java.io.FileNotFoundException: /home/nmm42/devel/tomcat/apache- 
> tomcat-6.0.13/work/Catalina/localhost/axis2/SESSIONS.ser (No such  
> file or directory)
> java.io.FileNotFoundException: /home/nmm42/devel/tomcat/apache- 
> tomcat-6.0.13/work/Catalina/localhost/axis2/SESSIONS.ser (No such  
> file or directory)
>         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:489)
>         at
> org.apache.catalina.session.StandardManager.unload 
> (StandardManager.java:463)
>         at
> org.apache.catalina.session.StandardManager.stop 
> (StandardManager.java:667)
>         at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java: 
> 4496)
>         at
> org.apache.catalina.core.ContainerBase.removeChild 
> (ContainerBase.java:924)
>         at
> org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java: 
> 1180)
>         at
> org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent 
> (HostConfig.java:313)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent 
> (LifecycleSupport.java:117)
>         at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
>         at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
>         at
> org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
>         at
> org.apache.catalina.core.StandardService.stop(StandardService.java: 
> 584)
>         at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java: 
> 616)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java: 
> 591)
>         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:597)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 12-Dec-2007 09:58:59 org.apache.catalina.session.StandardManager stop
> SEVERE: Exception unloading sessions to persistent storage
> java.io.FileNotFoundException: /home/nmm42/devel/tomcat/apache- 
> tomcat-6.0.13/work/Catalina/localhost/axis2/SESSIONS.ser (No such  
> file or directory)
>         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:489)
>         at
> org.apache.catalina.session.StandardManager.unload 
> (StandardManager.java:463)
>         at
> org.apache.catalina.session.StandardManager.stop 
> (StandardManager.java:667)
>         at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java: 
> 4496)
>         at
> org.apache.catalina.core.ContainerBase.removeChild 
> (ContainerBase.java:924)
>         at
> org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java: 
> 1180)
>         at
> org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent 
> (HostConfig.java:313)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent 
> (LifecycleSupport.java:117)
>         at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
>         at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
>         at
> org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
>         at
> org.apache.catalina.core.StandardService.stop(StandardService.java: 
> 584)
>         at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java: 
> 616)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java: 
> 591)
>         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:597)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 12-Dec-2007 09:58:59 org.apache.coyote.http11.Http11NioProtocol  
> destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
>
>
> The tomcat configuration is the default one (apart from the NIO
> connector).
> Any idea?
>
>
> Thanks,
> Michele
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Mime
View raw message