You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/14 13:46:35 UTC

DO NOT REPLY [Bug 10871] - Spaces in install directory causes errors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10871>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10871

Spaces in install directory causes errors

kelly@ad1440.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From kelly@ad1440.net  2002-11-14 12:46 -------
Same problem as #13983.  Workaround is to move Tomcat's installation dir out 
of directories with spaces (c:\Program Files\Apache Group\Tomcat 4.1 to 
something like c:\tomcat), or specify the RMI codebase property.   Or fix 
WebappClassLoader to workaround Sun's bug 4273532 
(http://developer.java.sun.com/developer/bugParade/bugs/4273532.html).

Apparently, the WebappClassLoader is doing nothing wrong when in the getURL 
method it calls realFile.toURL().  Sun's File.toURL is to blame.  Sun's 
suggested workaround fixes the problem:

  return realFile.toURI().toURL();



*** This bug has been marked as a duplicate of 13983 ***

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>