-
May 9th, 2005, 10:34 PM
#1
RMIServiceExporter and Spaces in URLs = BOOM
Spring version 1.1.5
JDK 1.5.0_01
When using Tomcat 5.5 on Windows with the RMIServiceExporter, I get the following error:
java.net.MalformedURLException: no protocol: 5.5/webapps/report/WEB-INF/classes/
Tomcat is installed at "C:\dev\Tomcat 5.5" Notice that the space in the file path seems to be screwing up the RMI export. This goes along with the following thread I found:
http://forum.java.sun.com/thread.jsp...eadID= 372925
So, it seems that when your app server has a space in it, the Naming lookup is blowing up.
This seems like a bug. Anything I can do about it other than JIRA it?
-
May 11th, 2005, 01:23 AM
#2
It would help if you post the full stack trace.
-
May 25th, 2005, 08:50 AM
#3
Well, this doesn't seem to be a Spring issue but rather one of the JDK's RMI subsystem...
In general, avoid spaces in file paths at at any cost when you're dealing with Java applications - a common advice in Java land for years, actually! While spaces in paths might work sometimes, they can cause quite a lot of headache in various places.
Juergen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules