Re: Problem when starting remote rmiregistry service using ssh

Qiang Wei <[email protected]> Sat, 6 Oct 2007 21:26:10 -0700
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Hi Jon,

Thank you for the reply! I really appreciate your following up this
question!

On 10/6/07, Jon Schewe <[email protected]> wrote:

>
> When you say run locally, is that within the ssh session?  Is this what
> you're doing?
> local> ssh 192.168.1.1 # this logs you into remote
> remote> rmiregistry & # this starts the registry


 Yes, that is exactly what I have done. (Your description is much clearer.)

Are the exceptions coming from rmiregistry, or your RMI app that is
> trying to connect to the registry?


 The exceptions actually appeared from both. When I found "$ ssh
192.168.1.1"rmiregistry &"" didn't work, I tried starting it first
locally and running
my app using "$ ssh 192.168.1.1 "java myservice &"", but the same exceptions
appear.

Best, Sean

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html