Hey all,
Has anyone tried using RMI in a JSP under Orion?
I've got some code that connects to an RMI
server. This code works from a standalone Java application as well as
under JRUN. However, when I use it under orion, I get the message and
stack trace below. Looking into I've found that this has to do with a URL
issue. However, I'm using the Naming.lookup method of resolving and thus
have no control over how this is even specified. I've included a response
to a similar question that I found on the Sun web site to maybe clarify
things. Thanks for any help.
Steve
Here is a response to a similar
problem.
>>
Port 21 is the FTP port. Java is probably trying to load
files via FTP due to your codebase. Unfortunately NT doesn't normally run an FTP
server process (although I think you can set it up as an optional service).
Anyway, try removing the "file://" and just leaving the rest of the
path.
Also, I seem to have a lot of problems in the past when trying to use the loopback address (127.0.0.1) in a PC that was actually networked... it had something to do with the fact that the registery would associate itself with the other address, or something like that?! Anyway, that was just a random note that probably doesn't concern your current problem. >> 500 Internal Server Errorjava.lang.IllegalArgumentException: invalid port range: :21 |