[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #9 from Dmitry Treskunov  ---
Thanks!

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #8 from Mark Thomas  ---
I'm expecting to start the release early next week so it should be available
towards the end of next week / beginning of the following week.

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #7 from Dmitry Treskunov  ---
Hi, thanks, it works! 
Do you have any estimates for the 8.5.50 release?

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #6 from Mark Thomas  ---
Already done. Test build here:
http://people.apache.org/~markt/dev/v8.5.50-dev/

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #5 from Dmitry Treskunov  ---
Hi, thanks for the build. We are using the 8.5.x version, could you please
backport the fix there? Otherwise, I can't test it

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #4 from Mark Thomas  ---
OK. The upload is complete. The dev build is here:
http://people.apache.org/~markt/dev/v9.0.30-dev/

If you could download, test and report back that would be very helpful.

Note:
- this is NOT an official release
- this is NOT for production use
- this is ONLY for testing this bug
- please don't blame me if your server catches fire during testing ;)

(Sorry to go on about this but ASF releases have various bits of QA and legal
machinery behind them whereas test/dev builds like this don't and we need to
make sure folks reading this understand there is a difference.)

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #3 from Mark Thomas  ---
Don't worry - I've already fixed it. I was just waiting for a couple of test
builds to upload so I could point you towards them for testing. I'd like to try
and avoid further regressions in the next round of releases.

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #2 from Dmitry Treskunov  ---
Thanks for the answer. Sorry, I didn't quite understand, does it mean that you
are not going to fix it?

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



[Bug 63970] java.lang.ClassCastException: org.apache.catalina.webresources.CachedResource$CachedResourceURLConnection cannot be cast to java.net.JarURLConnection

2019-11-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63970

--- Comment #1 from Mark Thomas  ---
Yes, this is caused by that commit.

The fix looks fairly simple but we are at the limit of what the current
implementation can reasonably do in terms of guaranteeing consistency. Chances
are you are going to end up accessing the resource directly, bypassing the
cache and running the risk of seeing inconsistent results. That said, the
chances of a resource inside a JAR changing should be a lot lower.

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