https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
Felix Schumacher changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #11 from Coty Sutherland ---
By the way, I tested the amended patch and it looks to resolve the issue as
expected.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #10 from Coty Sutherland ---
Good idea! I don't know why I didn't do that given that the FileResource class
uses try-with-resources for it's FIS usage. I like your patch change much
better :)
Thanks!!
--
You are receiving this ma
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #9 from Felix Schumacher ---
This issue is #89595 in coverity :)
--
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-ma
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
Felix Schumacher changed:
What|Removed |Added
Attachment #34077|0 |1
is obsolete|
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #6 from Coty Sutherland ---
OK, after a lot of poking around I think I found a solution :D
I figured out that the problem was with a FileInputStream. Tomcat7 doesn't use
FIS' in the webresources package, but tomcat8+ does. I determ
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #7 from Coty Sutherland ---
Created attachment 34077
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34077&action=edit
FIS.close() patch
--
You are receiving this mail because:
You are the assignee for the bug.
---
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #5 from Coty Sutherland ---
I updated the o.a.c.webresources.FileResource class and replaced the
resource.delete() (because File.delete() throws no exceptions when it fails)
with the following block:
110 try {
111
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #4 from Coty Sutherland ---
> Just to be sure: you tested the same setup (including the exact same
> DAV-mounted directory structure) on both Tomcat 7 and Tomcat 8 and only
> Tomcat 8 fails? So, no file-permissions issues or anythin
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #3 from Christopher Schultz ---
(In reply to Coty Sutherland from comment #2)
> > Windows file locking?
>
> I'm no Windows expert, but I don't see how the issue could be file locking
> because it works in tomcat7 on the same machin
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #2 from Coty Sutherland ---
> Windows file locking?
I'm no Windows expert, but I don't see how the issue could be file locking
because it works in tomcat7 on the same machine with the same
configuration/test application. I tested t
https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
Michael Osipov <1983-01...@gmx.net> changed:
What|Removed |Added
OS||All
--- Comment #
12 matches
Mail list logo