tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13983] - RMI call from Web Application throws SocketException if CATALINA_HOME has a space in it
Date Mon, 06 Feb 2006 15:07:42 GMT
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





------- Additional Comments From jessh@ptc.com  2006-02-06 16:07 -------
Sorry, Shirish, I'm just another Tomcat user and *sometime* patcher who bundles
Tomcat.  Fortunately, we have sufficient control to disallow the problematic use
case.

I can tell you that the RMIClassLoader design is the underlying problem.  This
unfortunate class defines a space delimited list as the means of specifying an
RMI classpath -- rather than using path separator or such.

Unfortunately, this mess is what it is -- it's documented clearly in the
Javadoc.  The other side of the story is that Tomcat does not seem happy when
you %20 encode the spaces in the filename URLs as this seems to throw off JSP
compilation, etc.

My guess is the real fix is to do the %20 bit I already did once upon a time and
find all code which assumes such escaping is not done and fix it.  I don't know
what would all be effected, though, which is why I didn't chase the first issue
when I ran into it -- I guessed there could be more that I simply would not find
before the customer did.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message