Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 15575 invoked from network); 21 Sep 2006 15:01:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 15:01:15 -0000 Received: (qmail 18244 invoked by uid 500); 21 Sep 2006 15:01:13 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 18216 invoked by uid 500); 21 Sep 2006 15:01:13 -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 18205 invoked by uid 99); 21 Sep 2006 15:01:13 -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 08:01:13 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=denials@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=denials@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.82.232 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.232] ([66.249.82.232:36652] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 31/30-00392-539A2154 for ; Thu, 21 Sep 2006 08:01:10 -0700 Received: by wx-out-0506.google.com with SMTP id i27so677092wxd for ; Thu, 21 Sep 2006 08:01:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VloeP0mX4Wb+gm/Im0fgCMkzQopu6iz+bIjh3Jx1ygEm2MWT0XnHYev12Xj6e+y0WwPF9Y1igfIfUEsm0kLLRiTLRu9GUKHAN+dCemU+ORLXRT2MObgjb/9wXJbe1GQUKEdcdM5TORJbxYYMbTbz5JqDYfW2NrYrD9Z8MxAaRd4= Received: by 10.90.81.14 with SMTP id e14mr7384059agb; Thu, 21 Sep 2006 08:01:06 -0700 (PDT) Received: by 10.90.96.12 with HTTP; Thu, 21 Sep 2006 08:01:06 -0700 (PDT) Message-ID: Date: Thu, 21 Sep 2006 11:01:06 -0400 From: "Dan Scott" To: "Derby Discussion" Subject: Re: starting and connecting to server without eclipse In-Reply-To: <002601c6dd75$c8ab27d0$2f01a8c0@BEDROOM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <002601c6dd75$c8ab27d0$2f01a8c0@BEDROOM> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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>