Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66153104DF for ; Tue, 11 Mar 2014 19:47:03 +0000 (UTC) Received: (qmail 42063 invoked by uid 500); 11 Mar 2014 19:44:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 39054 invoked by uid 500); 11 Mar 2014 19:43:04 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 37928 invoked by uid 99); 11 Mar 2014 19:34:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 19:34:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [60.234.4.69] (HELO nctlincom01.orcon.net.nz) (60.234.4.69) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 19:34:36 +0000 Received: from mx9.orcon.net.nz (mx9.orcon.net.nz [219.88.242.59]) by nctlincom01.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2BJYben005133 for ; Wed, 12 Mar 2014 08:34:37 +1300 Received: from Debian-exim by mx9.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1WNSRJ-0001m4-40 for users@jackrabbit.apache.org; Wed, 12 Mar 2014 08:34:13 +1300 Received: from staff-tech.orcon.net.nz ([60.234.45.150] helo=[10.253.2.195]) by mx9.orcon.net.nz with esmtp (Exim 4.69) (envelope-from ) id 1WNSRJ-0001lt-0F for users@jackrabbit.apache.org; Wed, 12 Mar 2014 08:34:13 +1300 Message-ID: <531F6534.6030807@team.orcon.net.nz> Date: Wed, 12 Mar 2014 08:34:12 +1300 From: Peter Harrison User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Connecting to a remote repository Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Check: by mx9.orcon.net.nz on Wed, 12 Mar 2014 08:34:13 +1300 X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Mar 12 08:34:13 2014 X-DSPAM-Confidence: 0.5710 X-DSPAM-Probability: 0.0000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, default) X-Spam-Score: -3.00 () [Hold at 4.00] CC(NZ:-3) X-CanIt-Geo: ip=60.234.45.150; country=NZ; region=E7; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 06LAjyBSK - 8859099e3dfc - 20140312 X-Scanned-By: CanIt (www . roaringpenguin . com) on 172.16.100.174 X-Virus-Checked: Checked by ClamAV on apache.org I'm having huge trouble connecting to a remote JackRabbit instance. In development I have been deploying to the same Tomcat instance and using a localhost URL to connect, aka: http://localhost:8080/jackrabbit-webapp-2.6.5/rmi I can use JackRabbitExplorer to log into this URL on the local system with not trouble at all. However, if I use a URL to another machine set up in an identical way, aka: http://testserver.com:8080/jackrabbit-webapp-2.6.5/rmi Then I get: "There was an error logging in: com.priocept.jcr.client.SerializedException: java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused" Now, if you set up JackRabbitExplorer on the remote machine and use the first 'localhost' URL it will connect. It looks like the call to the URL is providing the client with details of an RMI server and port, but the server is 'localhost' - and so it fails. I think. I certainly do not want to have my Jackrabbit tomcat instances also running my tomcat application. I need to be able to connect to a remote Jackrabbit instance. I have also tried using Webdavex, using the /server URL, but this is even less successful. How do others connect to a remote JackRabbit repository?