Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 80952 invoked from network); 21 Sep 2006 18:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 18:11:33 -0000 Received: (qmail 70631 invoked by uid 500); 21 Sep 2006 18:11:32 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 70603 invoked by uid 500); 21 Sep 2006 18:11:31 -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 70591 invoked by uid 99); 21 Sep 2006 18:11:31 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 11:11:31 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=3rdshiftcoder@verizon.net; spf=pass X-ASF-Spam-Status: No, hits=1.9 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST Received-SPF: pass (idunn.apache.osuosl.org: domain verizon.net designates 209.73.179.140 as permitted sender) Received: from [209.73.179.140] ([209.73.179.140:29896] helo=smtp102.vzn.mail.dcn.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 3B/D0-03726-0D5D2154 for ; Thu, 21 Sep 2006 11:11:29 -0700 Received: (qmail 24351 invoked from network); 21 Sep 2006 18:11:25 -0000 Received: from unknown (HELO BEDROOM) (3rdshiftcoder@verizon.net@71.255.40.60 with login) by smtp102.vzn.mail.dcn.yahoo.com with SMTP; 21 Sep 2006 18:11:25 -0000 From: "Jim McNamara" <3rdshiftcoder@verizon.net> To: "'Derby Discussion'" Subject: RE: starting and connecting to server without eclipse Date: Thu, 21 Sep 2006 14:11:09 -0400 Message-ID: <000401c6dda9$52d8a8a0$2f01a8c0@BEDROOM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-reply-to: Importance: Normal X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi dan- Still cant get it. I agree can't connect if it is not started. Here is the message telling me it isn't starting. Thanks, jim C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>set CLASSPATH=c:\DB-DER~1. 1-B\lib\derby.jar;c:\DB-DER~1.1-B\lib\derbytools.jar;c:\DB-DER~1.1-B\lib \derbyne t.jar;c:\db-derby-10.1.3.1-bin\lib\derbyclient.jar;c:\db-derby-10.1.3.1- bin\lib\ derbytools.jar C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>startNetworkServer The system cannot find the path specified. -----Original Message----- From: Dan Scott [mailto:denials@gmail.com] Sent: Thursday, September 21, 2006 11:01 AM To: Derby Discussion Subject: Re: starting and connecting to server without eclipse James: Are you starting the server from the command line using the startNetworkServer batch file before trying to connect the second time? The server has to be running before the network driver can connect to it. Dan On 21/09/06, James McNamara <3rdshiftcoder@verizon.net> wrote: > > > hi- > > i have been going through the documentation and i still cant get connected. > > the first time you can see it connected. that is because i had it already > connected using eclipse ide. > > the second time i had shut the connection off on eclipse and then tried to > connect using ij at the command line in the frameworks\etc. it refuses. > > i want to deploy my app but am having a tough time getting a connection > unless i use the eclipse environment to start the server. > > any suggestions or help why this may be acting this way? > > thanks for any help, > jim > > C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>java > org.apache.derby.tool > s.ij > ij version 10.1 > ij> connect > 'jdbc:derby://localhost:1527/c:/ab/derbyDB/myDB;create=false;user=u > ser1;password=user1'; > ij> exit; > > C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>java > org.apache.derby.tool > s.ij > ij version 10.1 > ij> connect > 'jdbc:derby://localhost:1527/c:/ab/derbyDB/myDB;create=false;user=us > er1;password=user1'; > ERROR (no SQLState): java.net.ConnectException : Error opening socket to > server > localhost on port 1527 with message : Connection refused: connect > ij>