[Hippo-cms7-user] jcrshell: Connection to remote repository

Jeroen Reijn j.reijn at onehippo.com
Wed Dec 5 10:16:17 CET 2012


See also:

http://stackoverflow.com/questions/3044590/java-rmi-cannot-connect-to-host-from-external-client
for more info

On Wed, Dec 5, 2012 at 10:15 AM, Jeroen Reijn <j.reijn at onehippo.com> wrote:
> I'm not 100% sure about this, but the problem lies probably in the
> fact that the RMI registry by default binds itself on 127.0.0.1 if
> nothing is specified. You might want to check to which ip address it's
> bound.
>
> You can change this by setting the following directive at startup:
>
> -Djava.rmi.server.hostname=192.168.1.16
>
> Jeroen
>
>
> On Wed, Dec 5, 2012 at 12:10 AM, Paul Hammer <phammer at umd.edu> wrote:
>> Hi,
>>
>> I am trying to use the server command in jcrshell to connect to a Hippo
>> repository that is not local but running on one of the other servers we have
>> running
>>
>> I use this command sequence:
>>
>> server rmi://<server name>:<rmi port>/repository
>> credentials <remote user name>
>> password: *************
>> ls
>>
>> the error returned is:
>> failed.
>> Error: Connection refused to host: 127.0.0.1; nested exception is:
>>     java.net.ConnectException: Connection refused
>>
>> is jcrshell only configured to run on localhost or am I using the commands
>> wrong?
>>
>> many thanks for your time.
>>
>> -Paul
>>
>>
>>
>> --
>> View this message in context: http://hippo.2275632.n2.nabble.com/jcrshell-Connection-to-remote-repository-tp7579900.html
>> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
>
>
>
> --
> Jeroen Reijn
> Solution Architect
> Hippo
>
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 1 Broadway, Cambridge, MA 02142
>
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com
>
> http://about.me/jeroenreijn



-- 
Jeroen Reijn
Solution Architect
Hippo

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

http://about.me/jeroenreijn


More information about the Hippo-cms7-user mailing list