Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 53453 invoked from network); 21 Sep 2006 21:49:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 21:49:29 -0000 Received: (qmail 34612 invoked by uid 500); 21 Sep 2006 21:49:28 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 34585 invoked by uid 500); 21 Sep 2006 21:49:28 -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 34574 invoked by uid 99); 21 Sep 2006 21:49:28 -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 14:49:28 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=3rdshiftcoder@verizon.net; spf=pass X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MAILTO_TO_SPAM_ADDR Received-SPF: pass (idunn.apache.osuosl.org: domain verizon.net designates 209.73.179.141 as permitted sender) Received: from [209.73.179.141] ([209.73.179.141:27688] helo=smtp103.vzn.mail.dcn.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id BA/00-05580-5E803154 for ; Thu, 21 Sep 2006 14:49:26 -0700 Received: (qmail 39683 invoked from network); 21 Sep 2006 21:49:21 -0000 Received: from unknown (HELO BEDROOM) (3rdshiftcoder@verizon.net@71.127.161.108 with login) by smtp103.vzn.mail.dcn.yahoo.com with SMTP; 21 Sep 2006 21:49:21 -0000 From: "Jim McNamara" <3rdshiftcoder@verizon.net> To: "'Derby Discussion'" Subject: RE: starting and connecting to server without eclipse Date: Thu, 21 Sep 2006 17:49:08 -0400 Message-ID: <000201c6ddc7$c4a0f0f0$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 In-reply-to: <4512F5D7.5010907@gmail.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Importance: Normal X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rajesh and Dan- Thanks for your encouragement. I have it started. It isn't that Hard to do, but I am new. My program is executing from a jar I created with fatjar plug-in for eclipse and it is Now connected to derby. Now I have to package it in an exe And upload it to my site after a little testing. Thanks very much. That was a huge help, jim -----Original Message----- From: Rajesh Kartha [mailto:kartha02@gmail.com] Sent: Thursday, September 21, 2006 4:28 PM To: Derby Discussion Subject: Re: starting and connecting to server without eclipse "The system cannot find the path specified." The above message seems to be related to some PATH issue while executing the 'java' command. What does your JAVA_HOME point to ? Please make sure that the JAVA_HOME is pointed to the Java install dir (not to the /bin directory). Another way to check if things are working is using the java' command directly; /bin/java org.apache.derby.drda.NetworkServerControl start If your CLASSPATH environment variable is set properly and there is valid java installation, the above command should work just fine. -Rajesh Jim McNamara wrote: >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\li b >\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>startNetworkServe r >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> >> >> > > > >