DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=13983>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=13983 RMI call from Web Application throws SocketException if CATALINA_HOME has a space in it ------- Additional Comments From [EMAIL PROTECTED] 2004-07-20 17:29 ------- Just a note: Even though Tomcat 5.0.x's WebappClassLoader has a nice getURI() method, it does not use it to from its getURLs() method. This means the bug still exists in Tomcat 5.0.x. The Tomcat team seems loathe to rock the boat to address this, which is *somewhat* understandable. At this point I only care about use case this working in Java 2 v1.4 and higher and about not destroying any other functionality under Java 2 v1.3.x via a fix (e.g. by using a 1.4-specific class directly). For these constraints the fix in Tomcat 5.0.27 can be as simple as: protected URL getURL(File file) throws MalformedURLException { return jdkCompat.getURI(file); // same implementation as getURI() } or one could just call getURI(), but I chose to limit calls to getURI() to those explicitly looking for a URI rather than a well-formed URL. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]