jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Mettraux" <jmettr...@openwfe.org>
Subject Re: JCR-RMI problems !!!
Date Tue, 26 Dec 2006 12:14:40 GMT
Hi,

On 12/26/06, Yaqeen Hussam <yaqeen@gmail.com> wrote:
>
> (...)
>
> I don't have problems when the server code and client code execute at the
> same JVM .... but I have problem when I changelocal host to some other ip in
> my network as in the previous code ... I can successfully get a repository
> object , but when I try to execute repository.login(credentials) a
> java.net.ConnectException is thrown with message "Connection refused to
> host: 127.0.0.1 "

This is a Java RMI issue, not a Jackrabbit issue.

http://forum.java.sun.com/thread.jspa?threadID=681414&tstart=0

in short :

You can give the -Djava.rmi.server.hostname=192.168.x.x option to your
virtual machine for it not to get lost.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

Mime
View raw message