https://bz.apache.org/bugzilla/show_bug.cgi?id=62387

            Bug ID: 62387
           Summary: SEVERE: Exception removing session  Unable to delete
                    file
           Product: Tomcat 9
           Version: 9.0.8
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: sudhamayi.oruga...@parexel.com
  Target Milestone: -----

Trying to upgrade to the new version of tomcat 9.0.8 and usign embedded tomcat.

A call to invalidate session throws the below error

May 18, 2018 1:13:12 PM org.apache.catalina.session.PersistentManagerBase
removeSession
SEVERE: Exception removing session  Unable to delete file
[/home/XXXXXXX/work/Tomcat/localhost/./CD38458F0A1E23F44031D95AF3CFA7BB.session]
which is no longer required
java.io.IOException: Unable to delete file
[/home/XXXXXXX/work/Tomcat/localhost/./CD38458F0A1E23F44031D95AF3CFA7BB.session]
which is no longer required
        at org.apache.catalina.session.FileStore.remove(FileStore.java:269)
        at
org.apache.catalina.session.PersistentManagerBase.removeSession(PersistentManagerBase.java:598)
        at
org.apache.catalina.session.PersistentManagerBase.remove(PersistentManagerBase.java:576)
        at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:827)
        at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:743)
        at
org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1229)
        at
org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:171)


This happens every time session.invalidate() is called .
is there any workaround for this issue?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to