You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vikas Sharma <vi...@gmail.com> on 2009/10/24 05:21:10 UTC
Tomcat 5.5.17 RMI MalformedURLException when installed in dir with
Spaces
Hi,
I am seeing the famous MalformedURLException issue when my tomcat is
installed in the dir with Spaces. I am using Spring RMI. I see this issue in
Tomcat version 5.5.17 and Not 5.5.20 onwards.
I don't have option to upgrade to 5.5.20, I am looking for a patch.
I looked at the change log -
http://tomcat.apache.org/tomcat-5.5-doc/changelog.html, couldn't figure out
what has been fixed to address this issue.
The old defect - http://issues.apache.org/bugzilla/show_bug.cgi?id=4543,
which is RESOLVED WONTFIX, some comment says fix is required in
ClassLoaderFactory. I've compared the ClassLoaderFactory between 5.5.17 and
5.5.20 and I don't see any difference. I also tried replace bootstrap.jar in
5.5.17 from the one in 5.5.20 but stilll run into malformed URL.
I am trying to figure it out by debugging by unavailability of source code
of sun.rmi.server making it bit difficult.
I need to figure out what has fixed that and get a patch for it. I am not
sure if patches are released for any critical issues. If I can know what did
fix it, may be I can build and create a patch myself.
Please help.
Thanks,
Vikas
Re: Tomcat 5.5.17 RMI MalformedURLException when installed in dir
with Spaces
Posted by André Warnier <aw...@ice-sa.com>.
Vikas Sharma wrote:
> Hi,
> I am seeing the famous MalformedURLException issue when my tomcat is
> installed in the dir with Spaces.
Well, just don't do that. I mean, remove it and re-install it in a path
without spaces. Paths with spaces in them are ridiculous, dangerous,
confusing, a quoting nightmare, change for each language, and will
always bite you somewhere. The guy who invented them should have gotten
an Ig-Nobel prize, and should have his pension and all his assets
impounded to pay for all the programming and debugging hours he caused
to be lost. The other guys at the "Program\ files/Apache\ Software
Foundation/Tomcat\ 5.5" who endlessly reproduce the same mistake should
be fired. I take that back; they can't be fired because they get no
salary. But they should be named.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org