vancetang / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Reflections brokes parallel deployment in tomcat #179

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
see: 
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment

If is used WAR name contains ## characters - for example ex. ROOT##1.war 

After debugging i found, that characters ## are replaced in url as "%23%23" and 
path is broken. Jar files are not found on filesystem. If war is renamed to 
ROOT.war, reflections are working perfect.

org.reflections.ReflectionsException: could not create Dir using 
org.reflections.vfs.Vfs.DefaultUrlTypes$2 from url 
jar:file:/Users/rob/apitea/git/apache-tomcat-8.0.12/webapps/ROOT%23%231/WEB-INF/
lib/ei-lifecycle-1.1-20140910.115547-177.jar!/

Thanks for maintaining of this great library, we are using version reflections 
0.9.5.

Original issue reported on code.google.com by robert.h...@gmail.com on 11 Sep 2014 at 6:42