Yes, this is nasty JBoss bug that is killing us in deployment. I'm amazed that this bug is still there all the way through version 4.0.1. I am working on submitting a proper bug report, but in the meantime I have created a patched lib/jboss-common.jar with the following fix to FileURLConnection.java:
--------------- public FileURLConnection(final URL url) | throws MalformedURLException, IOException | { | super(url); | | // D. Beachy: fix to handle URI-encoded paths with spaces | String decodedPath = URLDecoder.decode(url.getPath().replace('/', File.separatorChar).replace('|', ':'), "UTF-8"); | file = new File(decodedPath); | | doOutput = false; | | } --------------- Then I compiled it and updated the original jboss-common.jar with the class file. Presto -- JBoss now correctly handles real file URLs. I still can't believe this bug hasn't been fixed long before now... - Doug http://www.chalexopenadvantage.org/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869600#3869600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869600 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user