You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/05/18 12:29:00 UTC
[Bug 62387] New: SEVERE: Exception removing session Unable to
delete file
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.oruganti@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
--- Comment #5 from Tomcat9User <su...@parexel.com> ---
Thanks for the quick update. When can we expect the latest version 9.0.9 to be
released?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
This works without any Exceptions for me with a clean build from trunk. There
have been no relevant changes in this area since the 9.0.8 tag.
It looks like a permissions issue. The users list is the place to obtain
further help with that.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
--- Comment #1 from Tomcat9User <su...@parexel.com> ---
I have noticed that this issue is occurring only when a FileStore is configured
for the PersistentManager.
I could easily replicate the issue just by adding a FileStore.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |---
Status|RESOLVED |REOPENED
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Ah. I take that back. It is a timing issue. If the session is invalidated
before it is persisted then you'll see the Exception.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
Tomcat9User <su...@parexel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk for 9.0.9 onwards.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62387] SEVERE: Exception removing session Unable to delete
file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62387
--- Comment #6 from Mark Thomas <ma...@apache.org> ---
9.0.x is on a roughly monthly release cycle with releases generally happening
in the second week of the month.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org