You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "simishag (JIRA)" <ji...@apache.org> on 2007/08/02 00:51:53 UTC

[jira] Created: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

webapp reload on Tomcat 5.5 fails when persisting sessions
----------------------------------------------------------

                 Key: AXIS2-3052
                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: Tomcat 5.5.20
Axis 1.3-RC2
            Reporter: simishag
            Priority: Minor


Reloading the webapp from the Tomcat Manager causes the following exception:

org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)

I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.

I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3052.
-------------------------------------

    Resolution: Fixed

> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "antreas zapantis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578745#action_12578745 ] 

antreas zapantis commented on AXIS2-3052:
-----------------------------------------

I tried the nightly build today and it looks OK to me. I did get two errors: On deployment,

[ERROR] The soapmonitor-SNAPSHOT-sources.jar module, which is not valid, caused org.apache.axis2.handlers.soapmonitor.SOAPMonitorModule
org.apache.axis2.deployment.DeploymentException: org.apache.axis2.handlers.soapmonitor.SOAPMonitorModule
        at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:531)
etc...

and on undeployment,

INFO: Undeploying context [/axis2]
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

I'm guessing both of these are unrelated to this bug.

> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge reopened AXIS2-3052:
----------------------------------------

      Assignee: Deepal Jayasinghe  (was: Charitha Kankanamge)

Deepal, 

I was able to reproduce the issue when restarting tomcat. Initially i did not get this error. However after stopping the command window just by clicking on window close button and restarting tomcat, I got the error what Simishag had observed. Here is the stacktrace. Sorry for the inconvenience caused. 

2007-08-02 11:46:39,875 ERROR org.apache.catalina.session.ManagerBase - IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException:
org.apache.axis2.description.AxisService
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at java.util.HashMap.readObject(HashMap.java:1067)
        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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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)
Caused by: java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at java.util.HashMap.writeObject(HashMap.java:1039)
        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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1468)
        at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
        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$CatalinaShutdownHook.run(Catalina.java:644)
2007-08-02 11:46:39,984 ERROR org.apache.catalina.session.ManagerBase - Exception loading sessions f
rom persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.axis2.d
escription.AxisService
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at java.util.HashMap.readObject(HashMap.java:1067)
        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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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)
Caused by: java.io.NotSerializableException: org.apache.axis2.description.AxisService
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at java.util.HashMap.writeObject(HashMap.java:1039)
        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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1468)
        at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
        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$CatalinaShutdownHook.run(Catalina.java:644)

> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517150 ] 

Charitha Kankanamge commented on AXIS2-3052:
--------------------------------------------

Deepal,
As I understood the bug description correctly, I should get the specified error when reloading axis2 web app on tomcat 5.5.2. However I did not see such an exception. I did the following in order to reproduce the bug. 

- Installed tomcat 5.5.2
- Copied axis2.war (included in axis2-1.3-RC2) to webapps directory
- Restarted tomcat
- Accessed axis2 admin console
- Restarted tomcat and accessed axis2 admin console again

I did not get such exception. See the attached screen shot of tomcat startup. 

regards
Charitha

> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Charitha Kankanamge
>            Priority: Minor
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "antreas zapantis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534002 ] 

antreas zapantis commented on AXIS2-3052:
-----------------------------------------

The exception that Charitha managed to generate isn't the same as the exception initially described, and possibly warrants a separate bug report.
The reason that the bug wasn't successfully reproduced is the issue doesn't appear in Tomcat 5.5.2, which is by now quite old.
I can successfully reproduce this bug by un-deploying Axis2 version 1.3 on Tomcat versions 5.5.25, 5.5.23, and 6.0.13 on Linux, specifically Ubuntu Feisty. The bug doesn't affect Axis2 version 1.2. Since it occurs on un-deployment, it also happens every time tomcat is shut down or restarted.
The following steps assume that the environment variable JAVA_HOME has been set.
Steps to reproduce:

$ tar xzf apache-tomcat-<version>.tar.gz
$ bash apache-tomcat-<version>/bin/startup.sh
$ cp axis2.war apache-tomcat-<version>/webapps

now, wait until axis2 is deployed. Undeploying axis2 by either deleting axis2.war:

$ rm axis2.war

OR
stopping tomcat:

$ bash apache-tomcat-<version>/bin/shutdown.sh

generates the following exception in apache-tomcat-<version>/logs/catalina.out:

INFO: Undeploying context [/axis2]
[ERROR] IOException while saving persisted sessions: java.io.FileNotFoundException: /home/basil/download/apache-tomcat-5.5.25/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
java.io.FileNotFoundException: /home/basil/download/apache-tomcat-5.5.25/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:4360)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1035)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:595)
[ERROR] Exception unloading sessions to persistent storage
java.io.FileNotFoundException: /home/basil/download/apache-tomcat-5.5.25/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directo
ry)
        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:4360)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1035)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:595)


> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-3052:
----------------------------------------

    Assignee: Charitha Kankanamge

Charitha,
Will you be able to see whether what actually happening ?

Thanks
Deepal

> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Charitha Kankanamge
>            Priority: Minor
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge resolved AXIS2-3052.
----------------------------------------

    Resolution: Cannot Reproduce

Hi simishag,
I'm making this bug resolved since we couldn't reproduce the bug by following the specified steps. If you still encounter the issue, please reopen the bug with adequate steps to recreate. 

thanks
Charitha

> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Charitha Kankanamge
>            Priority: Minor
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "antreas zapantis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

antreas zapantis updated AXIS2-3052:
------------------------------------

       Priority: Major  (was: Minor)
    Environment: 
Tomcat 5.5.20
Axis 1.3

  was:
Tomcat 5.5.20
Axis 1.3-RC2

        Summary: Undeploy fails to persist sessions on Tomcat 5.5 and 6  (was: webapp reload on Tomcat 5.5 fails when persisting sessions)

Changed summary since the problem doesn't only concern the tomcat manager, but any undeployment and hence any restart or shutdown.
Changed priority to major since there is no workaround and sessions are not persisted across restarts as a result.


> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge updated AXIS2-3052:
---------------------------------------

    Attachment: tomcat552.JPG

Attached screen shot of tomcat startup

> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Charitha Kankanamge
>            Priority: Minor
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578116#action_12578116 ] 

Davanum Srinivas commented on AXIS2-3052:
-----------------------------------------

someone please try nightly and let us know if they still see this issue,

> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) webapp reload on Tomcat 5.5 fails when persisting sessions

Posted by "simishag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518015 ] 

simishag commented on AXIS2-3052:
---------------------------------

Here's the output from my logs: (this is Linux, btw)

 [http-8080-Processor25] ERROR org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
java.io.FileNotFoundException: /var/lib/tomcat-5.5/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: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.StandardContext.reload(StandardContext.java:3018)
        at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
        at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:473)
        at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
 [http-8080-Processor25] ERROR org.apache.catalina.session.ManagerBase  - Exception unloading sessions to persistent storage
java.io.FileNotFoundException: /var/lib/tomcat-5.5/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: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.StandardContext.reload(StandardContext.java:3018)
        at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
        at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:473)
        at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)


> webapp reload on Tomcat 5.5 fails when persisting sessions
> ----------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3-RC2
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577702#action_12577702 ] 

Davanum Srinivas commented on AXIS2-3052:
-----------------------------------------

can someone here please try a nightly build or latest trunk? i believe i fixed a spot that unnecessarily killed the work directory a couple of days back.

-- dims

> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3052) Undeploy fails to persist sessions on Tomcat 5.5 and 6

Posted by "Oleg Lyashko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567296#action_12567296 ] 

Oleg Lyashko commented on AXIS2-3052:
-------------------------------------

workaround to this problem (on Linux)

1 Create axis2 context file ${catalina.home}/conf/Catalina/localhost/axis2.xml as follows

<?xml version="1.0" encoding="UTF-8"?>
<Context workDir="${catalina.home}/work/Catalina/localhost/axis2/fooapp"/>

2. Create subdirecroties axis2 and axis2/fooapp in the ${catalina.home}/work/Catalina/localhost

3. Set permissions for user account running Tomcat so, that tomcat (and axis2) have read/write access to fooapp directory but read-only access to axis2 directory. As result tomcat and axis2 will be able to create files and write in the axis2/fooapp and in the same time bad code in axis1.3 will not be able to delete fooapp directory.

P.S. Actually I had hope that bad code, not been able to delete fooapp directory, will "reveal" itself and throw exception, but undeployment end quietly :(  

> Undeploy fails to persist sessions on Tomcat 5.5 and 6
> ------------------------------------------------------
>
>                 Key: AXIS2-3052
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3052
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5.20
> Axis 1.3
>            Reporter: simishag
>            Assignee: Deepal Jayasinghe
>         Attachments: tomcat552.JPG
>
>
> Reloading the webapp from the Tomcat Manager causes the following exception:
> org.apache.catalina.session.ManagerBase  - IOException while saving persisted sessions: 
> java.io.FileNotFoundException: /var/lib/tomcat-5.5/work/Catalina/localhost/axis2/SESSIONS.ser (No such file or directory)
> I verified that the directory exists and is writable by the Tomcat user.  I tried creating the SESSIONS.ser file in advance, setting permissions then reloading.  Same exception happens, and the file actually gets removed.
> I have only seen this problem since I started using 1.3-RC2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org