DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2004-11-11 Thread bugzilla
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=4543.
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=4543

RMI fails if tomcat is installed in directory with white space





--- Additional Comments From [EMAIL PROTECTED]  2004-11-11 18:04 ---
Created an attachment (id=13405)
clean work-around with need for security policy input

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2004-09-03 Thread bugzilla
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=4543.
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=4543

RMI fails if tomcat is installed in directory with white space





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 13:07 ---
Why is the resolution WONTFIX?  Especially when there is an apparent fix in the
comments below?

Jamie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2004-09-03 Thread bugzilla
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=4543.
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=4543

RMI fails if tomcat is installed in directory with white space





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 13:08 ---
Why is the resolution WONTFIX?  Especially when there is an apparent fix in the
comments below?

Jamie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2003-11-06 Thread bugzilla
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 [EMAIL PROTECTED]  2003-11-06 21:01 ---
Even thought, it is a problem with URL class, you can get around by using getURI
() of File class.

For example,
jakarta-tomcat-4.0
\catalina\src\share\org\apache\catalina\startup\ClassLoaderFactory.java has 
following line:
URL url = new URL(file, null, file.getCanonicalPath());

I solved the malFormedURL issue by changing as following:
URL url = file.toURI().toURL();

Hope this helps.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2002-03-14 Thread bugzilla

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 [EMAIL PROTECTED]  2002-03-14 18:34 ---
This appears to be a JDK problem.  In the Javasoft dug database it's #4496398
and #4273532.  Despite what's said in those bugs however, using JDK1.4 does not
appear to solve the problem.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2001-11-12 Thread bugzilla

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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2001-11-12 13:37 ---
I've cleaned the file URLs generated by the classloader (in the HEAD branch 
only at this time). Now, all of them should be canonical. If this does not fix 
the problem, there's nothing else that Tomcat can do, and it looks more like a 
JDK problem.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2001-10-31 Thread bugzilla

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 [EMAIL PROTECTED]  2001-10-31 08:46 ---
i also tried repacing all occurances of 'c:\Program Files\Apache Tomcat 4.0' in
my registry to 'c:\PROGRA~1\APACHE~1.0' but the problem persists.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2001-10-31 Thread bugzilla

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 [EMAIL PROTECTED]  2001-10-31 11:56 ---
Is it a VM local server ?
Would you have some way to print out the entire URL ? In theory, it should be a 
file based URL (with a space since the path has a space); I would have thought 
this would be supported. I didn't notice any problem 
It may be a JDK bug, or it may be that the URL needs to be encoded / decoded 
HTTP style with the usual %xx encoding.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 4543] - RMI fails if tomcat is installed in directory with white space

2001-10-31 Thread bugzilla

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 [EMAIL PROTECTED]  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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]