db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Kartha <karth...@gmail.com>
Subject Questions on the scripts in /bin directory of Derby install
Date Tue, 12 Sep 2006 18:15:19 GMT

I had some questions on the scripts residing under the new /bin directory:

1) There are scripts
===============
*08/11/2006 10:28a 1,166 NetworkServerControl
08/11/2006 10:28a 1,376 NetworkServerControl.bat

*What is the benefit of this if there are separate start/stop scripts 
already available ?

2) Windows and MKS
================
Looks like the CLASSPATH does not set appropriately.

omega%bin/sysinfo
Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable to the location
of your Derby installation.
omega%pwd
C:/temp/NEW_Beta/db-derby-10.2.1.2-bin
omega%export DERBY_HOME=C:/temp/NEW_Beta/db-derby-10.2.1.2-bin
omega%bin/sysinfo
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/tools/sysinfo

3) On Linux
=========
(a) After unzipping the db-derby-10.2.1.3-bin.zip on Linux the 
permission on the scripts in /bin is only readable
(b)  In the bash shell, when I try sysinfo (after changing the 
permission on sysinfo and derby_common) I am seeing the following:

bash-3.00$ bin/sysinfo
Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable
to the location of your Derby installation.
bash-3.00$ export DERBY_HOME=/local1/rajeshk/derby/db-derby-10.2.1.3-bin
bash-3.00$ echo $DERBY_HOME
/local1/rajeshk/derby/db-derby-10.2.1.3-bin
bash-3.00$ bin/sysinfo
: command not foundby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 2:
: command not foundby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 10:
: command not foundby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 12:
: command not foundby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 19:
/local1/rajeshk/derby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 
27: syntax'error near unexpected token `in
/local1/rajeshk/derby/db-derby-10.2.1.3-bin/bin/derby_common.sh: line 
27: `case '`uname`" in
bin/sysinfo: line 29: exec: : not found

Is anybody else seeing  issues (2) and (3) ? 

-Rajesh


Mime
View raw message