Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 91867 invoked from network); 7 Aug 2008 15:14:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 15:14:28 -0000 Received: (qmail 92748 invoked by uid 500); 7 Aug 2008 15:14:26 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 92718 invoked by uid 500); 7 Aug 2008 15:14:26 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 92707 invoked by uid 99); 7 Aug 2008 15:14:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 08:14:26 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 15:13:28 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m77FDsI9013622 for ; Thu, 7 Aug 2008 15:13:54 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K5800801KOQM900@fe-emea-09.sun.com> (original mail from John.Embretsen@Sun.COM) for derby-user@db.apache.org; Thu, 07 Aug 2008 16:13:38 +0100 (BST) Received: from [129.159.112.232] by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K58001GGKYNKT40@fe-emea-09.sun.com> for derby-user@db.apache.org; Thu, 07 Aug 2008 16:13:36 +0100 (BST) Date: Thu, 07 Aug 2008 17:12:43 +0200 From: John Embretsen Subject: Re: Unable to connect to remote machine In-reply-to: <18869762.post@talk.nabble.com> Sender: John.Embretsen@Sun.COM To: Derby Discussion Reply-to: derby-user@db.apache.org Message-id: <489B10EB.3040703@Sun.COM> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.1 References: <00ed01c8f7cc$2f655be0$822de39d@TCSBOA.com> <18869762.post@talk.nabble.com> User-Agent: Thunderbird 2.0.0.4 (X11/20070622) X-Virus-Checked: Checked by ClamAV on apache.org Bartholomew Job wrote: > Also could you please let me know wat it means to create the derby.properties > file in the format created by the java.util.Properties.save method Create a properties object in a Java application, with some test properties (e.g props.setProperty("derby.drda.host", "0.0.0.0")). Then use the save() or store() method to write the properties to a file. Then take a look at the resulting file to learn the format. http://java.sun.com/javase/6/docs/api/java/util/Properties.html Anyway, using the format property=value (one property per line) should work. > and how > to make the server to listen ,eliminating the possibility that a firewall is > blocking ?? Some other tips that might help debugging: - are you able to ping the server host from the client host? - are you sure the Derby server is running? - are you able to connect to the Derby server from the localhost (server host)? - if you are using Derby 10.4, use JMX/JConsole/VisualVM and Derby's built-in NetworkServerMBean to verify which properties are recognized by the server. See http://wiki.apache.org/db-derby/DerbyJMXQuickStart -- John