Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 38709 invoked from network); 5 Apr 2006 13:08:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 13:08:26 -0000 Received: (qmail 85986 invoked by uid 500); 5 Apr 2006 13:08:08 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 85918 invoked by uid 500); 5 Apr 2006 13:08:08 -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 85802 invoked by uid 99); 5 Apr 2006 13:08:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 06:08:07 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 81.228.8.164 is neither permitted nor denied by domain of dan@elvberg.com) Received: from [81.228.8.164] (HELO pne-smtpout2-sn2.hy.skanova.net) (81.228.8.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 06:08:06 -0700 Received: from [192.168.0.3] (81.235.133.72) by pne-smtpout2-sn2.hy.skanova.net (7.2.070) id 4430FC02000AA151 for derby-user@db.apache.org; Wed, 5 Apr 2006 15:07:45 +0200 Subject: Re: PATH (newbie) problems... From: dan To: Derby Discussion In-Reply-To: <3535996c0604050356v19f8ea3ay393ae878c6dc2581@mail.gmail.com> References: <20060404203239.61179.qmail@web81312.mail.mud.yahoo.com> <1144225541.4738.32.camel@localhost.localdomain> <4433803F.8030603@sun.com> <1144230898.4738.39.camel@localhost.localdomain> <3535996c0604050356v19f8ea3ay393ae878c6dc2581@mail.gmail.com> Content-Type: multipart/mixed; boundary="=-mFim4338ws6W5XjilEJE" Date: Wed, 05 Apr 2006 15:11:42 +0200 Message-Id: <1144242702.7465.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-mFim4338ws6W5XjilEJE Content-Type: multipart/related; type="multipart/alternative"; boundary="=-vrw45vPp/msQFfERBc/i" --=-vrw45vPp/msQFfERBc/i Content-Type: multipart/alternative; boundary="=-K5NsuZ66QlvZ307kll6H" --=-K5NsuZ66QlvZ307kll6H Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Anil: Sorry the change shall be { . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh } and not $DERBY_INSTALL/frameworks/NetworkServer/bin/setNetworkClientCP.ksh Everything is running perfect now. :-) You, Anil! /dan -- HaD:-)! Dan nästan jämt 0730 48 36 39 "Utan tvivel är man inte klok" (Tage Danielsson). --=-K5NsuZ66QlvZ307kll6H Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Anil:
Sorry the change shall be
{
  . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh
}
and not
$DERBY_INSTALL/frameworks/NetworkServer/bin/setNetworkClientCP.ksh

Everything is running perfect now. :-) You, Anil! /dan
-- 
HaD:-)! Dan nästan jämt
0730 48 36 39

"Utan tvivel är man inte klok" (Tage Danielsson).
--=-K5NsuZ66QlvZ307kll6H-- --=-vrw45vPp/msQFfERBc/i Content-ID: <1144242660.7465.7.camel@localhost.localdomain> Content-Disposition: attachment; filename=smiley-3.png Content-Type: image/png; name=smiley-3.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC+klEQVR42n2TbUjVdxTHP/+H69Xd a2VWlFe69rzthZJUoxeNOWoFGxEhYRRFmZSVW2u9ab2KejWE1qDNBkEQhS82VoiaZkVPmoWaKNM5 mA+opbd771//997//T/+epHBarEPHA6Hc84XDnwP/JcwcBS4AVgzcR04ONN7C+md+pcPCz44dPLA arZs/gg1UABuGkvvp7X1Iad+itE/YtUAle8TuH26sujzqq/LkJQsnOQQVmIASVJQMhehZORiJwc5 d76FH2pf3gY2Aigzy7+eObqmtOqbXbjGGHZqCM+eQpJ9AHhWFCc5CAjWf1KAkppc+qg3vRCol4Fw 0aqcisOVW3HTE7hmBElSKD/5GFkNMhH1KDvegST78CwNSfZxeM88VuYrh4CwAuxqvxL6MnPuWiy9 H1kNUPH9fZofDKPpHn8/z+Z6Yw8JK5stX5VhRO6h+OfiV3WaHxtPVKAwmF+KqXUDMkgqZ0+UoKcE P57/GXOqh46ODqrPXUQfufb6YOGxJOQD2CaHQnnlAJ4zDXggHBYvK6ap6Rau+RIz1k7djd+YHrqM pXUC4KQnWTRPAdiuRqNRkFQG/omRNJOsKVQw408xtS4QDsI10AaqEY6O8Fzq70fJy3XI8gsA5HTa rBdOkvwFKj39EWrr/sJzEnj29OvsphGugfBsLlwbZnjcYN36LxiLuADtMtCUetFAcE4ee8s+pbHV YtOemwhHx3MSaPEY3X9OUnqsk5a2OMeP7KC3t4u+3gRALUC4cEW2eN62Q4ze3SAiz74TDxvOiI+X BcTsoCoyfJKYn6OKmrMbxGRnlXhyJSSqv80Vq0KSAFa+ceKl0wcK9lfsW42TGsE/pxhfcDmKfz6e FUPg4iRH6Ov6g9EJh1t341xusWuAyn9b+c7BrbklJ8oDZGTOQpL9ePY08SmDpCEwbcHwuE370yku Nlj3gM/e90yXliyU9+8sCVJYlEUgU8IwBZruMThm83uzxsAYV4Hd/A9h4BjQBthAFOgDLgDF7w6/ ArI6YJ0eTQeGAAAAAElFTkSuQmCC --=-vrw45vPp/msQFfERBc/i-- --=-mFim4338ws6W5XjilEJE Content-Disposition: inline Content-Description: Forwarded message - Re: PATH (newbie) problems... Content-Type: message/rfc822 Received: from mail.apache.org [209.237.227.199] by s20.dknet.se (SMTPD32-8.15) id A28E3630218; Wed, 05 Apr 2006 12:57:18 +0200 Received: (qmail 43345 invoked by uid 500); 5 Apr 2006 10:57:15 -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 43330 invoked by uid 99); 5 Apr 2006 10:57:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 03:57:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of anil.samuel@gmail.com designates 66.249.82.207 as permitted sender) Received: from [66.249.82.207] (HELO xproxy.gmail.com) (66.249.82.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 03:57:14 -0700 Received: by xproxy.gmail.com with SMTP id s9so1091720wxc for ; Wed, 05 Apr 2006 03:56:53 -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:references; b=YuFcubZNdPzCzhAuptQOsyiN5zwXm62hSVJr0aekYfu5ZLNwaZ3Fp+F/fjGJSBesnnQpLfuSj1Rvd1Ia6Ps98F1tMbF79RhtBlpV/UoJZWQn6ZZIfKAzpQc25a3e6M2JLZzsKEJEqzaUdXaxzQ/993WKXuZg88VA4e+pT8kaFjI= Received: by 10.70.130.14 with SMTP id c14mr1456096wxd; Wed, 05 Apr 2006 03:56:52 -0700 (PDT) Received: by 10.70.24.4 with HTTP; Wed, 5 Apr 2006 03:56:52 -0700 (PDT) Message-ID: <3535996c0604050356v19f8ea3ay393ae878c6dc2581@mail.gmail.com> Date: Wed, 5 Apr 2006 20:56:52 +1000 From: "Anil Samuel" To: "Derby Discussion" Subject: Re: PATH (newbie) problems... In-Reply-To: <1144230898.4738.39.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18681_3156153.1144234612771" References: <20060404203239.61179.qmail@web81312.mail.mud.yahoo.com> <1144225541.4738.32.camel@localhost.localdomain> <4433803F.8030603@sun.com> <1144230898.4738.39.camel@localhost.localdomain> X-Virus-Checked: Checked by ClamAV on apache.org X-Declude-Sender: derby-user-return-3981-dan=elvberg.com@db.apache.org [209.237.227.199] X-RCPT-TO: Status: U X-UIDL: 395217807 ------=_Part_18681_3156153.1144234612771 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi I think [ -z "$CLASSPATH" ] && { . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh } in all .ksh files, causes the set*CP.ksh call to be skipped if CLASSPATH is defined. This can cause this issue. I edited my .ksh files to remove [ -z "$CLASSPATH" ] && and it works just fine. Anthos n 4/5/06, dan wrote: > > Hi �ystein: > Last line in startNetworkServer.ksh (attached) is > $JAVA_HOME/bin/java org.apache.derby.drda.NetworkServerControl start -h > $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT > > where /java is a file... > ...and where is > org.apache.derby.drda.NetworkServerControl? /dan > > > ---------- Forwarded message ---------- > From: Oystein Grovlen - Sun Norway > To: Derby Discussion > Date: Wed, 05 Apr 2006 10:30:55 +0200 > Subject: Re: PATH (newbie) problems... > dan wrote: > > > 3. Executing startNetworkServer results in > > [dan@localhost bin]$ ./startNetworkServer.ksh > > ./startNetworkServer.ksh: line 56: /usr/java/bin/java: No such file or > > directory[dan@localhost bin]$ > > Have you set JAVA_HOME? If not, the script will default to /usr/java, > but according to your path it should be /usr/java/jdk1.5.0_04. > > -- > �ystein Gr�vlen, Senior Staff Engineer > Sun Microsystems, Database Technology Group > Trondheim, Norway > > > > > -- Anil Samuel Principal Technical Member Product Development Oracle Corporation ------=_Part_18681_3156153.1144234612771 Content-Type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi

I think
[ -z "$CLASSPATH" ] && {
. "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh
}

in all .ksh files, causes the set*CP.ksh call to be skipped if CLASSPATH is defined. This can cause this issue.

I edited my .ksh files to remove
[ -z "$CLASSPATH" ] &&
and it works just fine.

Anthos
n 4/5/06, dan <dan@elvberg.com> wrote:
Hi �ystein:
Last line in startNetworkServer.ksh (attached) is
$JAVA_HOME/bin/java org.apache.derby.drda.NetworkServerControl start -h $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT

where /java is a file...
...and where is
org.apache.derby.drda.NetworkServerControl? /dan


---------- Forwarded message ----------
From: Oystein Grovlen - Sun Norway <Oystein.Grovlen@Sun.COM>
To: Derby Discussion < derby-user@db.apache.org>
Date: Wed, 05 Apr 2006 10:30:55 +0200
Subject: Re: PATH (newbie) problems...
dan wrote:

> 3. Executing startNetworkServer results in
> [dan@localhost bin]$   ./startNetworkServer.ksh
> ./startNetworkServer.ksh: line 56: /usr/java/bin/java: No such file or
> directory[dan@localhost bin]$

Have you set JAVA_HOME? If not, the script will default to /usr/java,
but according to your path it should be /usr/java/jdk1.5.0_04.

--
�ystein Gr�vlen, Senior Staff Engineer
Sun Microsystems, Database Technology Group
Trondheim, Norway







--
Anil Samuel < anil.samuel@oracle.com>
Principal Technical Member
Product Development
Oracle Corporation ------=_Part_18681_3156153.1144234612771-- --=-mFim4338ws6W5XjilEJE--