This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: rmi problem; does it work for anyone?
- From: "tlewis at mindspring dot com" <tlewis at mindspring dot com>
- To: Bryce McKinlay <bryce at mckinlay dot net dot nz>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 12 Aug 2003 10:37:52 -0400 (EDT)
- Subject: Re: rmi problem; does it work for anyone?
On Tue, 12 Aug 2003, Bryce McKinlay wrote:
> I took a quick look at java/rmi/Naming.java and saw an obvious problem.
> It is trying to parse the rmi: URI by sticking "http:" in front of it
> and parsing it as a url:
>
> URL u = new URL("http:" + name);
>
> So basically, this code doesn't work. The solution is to implement the
> new java.net.URI class (currently its just a stub), and use that to
> parse the rmi: address.
Yeah, changing it from "rmi://" to "//" removed that exception, but
my client still hangs. I have been told that the CVS version works
where 3.3 doesn't, and so I am switching my attentions to that version.
Thanks for the tip. Hopefully someone who can actually program java
can fix URI support.
--
Todd Lewis
tlewis@mindspring.com