db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Samuel" <anil.sam...@gmail.com>
Subject Re: PATH (newbie) problems...
Date Wed, 05 Apr 2006 10:56:52 GMT
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

Mime
View raw message