Hi,

On 12/26/06, Yaqeen Hussam <[EMAIL PROTECTED]> 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

Reply via email to