Announcement Announcement Module
Collapse
No announcement yet.
RMIServiceExporter and Spaces in URLs = BOOM Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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...hreadID=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?

  • #2
    It would help if you post the full stack trace.

    Comment


    • #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

      Comment

      Working...
      X