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 4543] - RMI fails if tomcat is installed in directory with white space
Date Thu, 01 Nov 2001 02:13:13 GMT
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=4543>.
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=4543

RMI fails if tomcat is installed in directory with white space





------- Additional Comments From gaxzero@netscape.net  2001-10-31 18:13 -------
this bug goes away when palcing the whole tomcat in a dir with no spaces :
"c:\tomcat" instead of "c:\Program Files\Apache Tomcat 4.0"
also, it has nothing to do with the registry (as i thought in a previous comment
since the bug is there even when i run startup.bat)

the exception occures during an rmi call unmarchalling in a rmic generated stub:
java.rmi.server.RemoteCall call = 
      ref.newCall((java.rmi.server.RemoteObject) this,
                  operations,
                  10,
                  interfaceHash);
try {
  java.io.ObjectOutput out = call.getOutputStream();
  out.writeObject($param_AuthToken_1);
  out.writeObject($param_String_2);
  out.writeObject($param_String_3);
} catch (java.io.IOException e) {
  throw new java.rmi.MarshalException("error marshalling arguments", e);
}

the best stacktrace i could get was:
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
        java.net.MalformedURLException: no protocol: Files/Apache
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
        java.net.MalformedURLException: no protocol: Files/Apache
java.net.MalformedURLException: no protocol: Files/Apache
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at
com.juldi.jis.is.rmi.RMIConnectorReceiver_Stub.newOperation(RMIConnectorReceiver_Stub.java:510)



could there be some System property needed by sun's RMI that tomcat is overwriting?

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


Mime
View raw message