Re: Problem when starting remote rmiregistry service using ssh

Jon Schewe <[email protected]> Sat, 6 Oct 2007 15:40:10 -0500
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Qiang Wei wrote:
> * Hi all,
>
> I want to start the rmiregistry on a remote server (assuming its IP is
> 192.168.1.1) by using the following command:
>
>
>
> $ ssh 192.168.1.1 "rmiregistry &"
>
>
> However, If I first login the machine using ssh and then run rmiregistry
> locally, it starts well.
>
>
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

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

--
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature.
See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels
nor demons, neither the present nor the future, nor any
powers, neither height nor depth, nor anything else in all
creation, will be able to separate us from the love of God that
is in Christ Jesus our Lord. - Romans 8:38-39

===========================================================================
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