db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan <...@elvberg.com>
Subject Re: PATH (newbie) problems...
Date Thu, 06 Apr 2006 09:37:23 GMT
Hi Anthos:
>1. Are you using the .ksh from
db-derby-10.1.2.1-bin/frameworks/NetworkServer/bin/ ?
yes
>2. somehow derbynet.jar is missing in your classpath which is why this
error.
I've added derbynet.jar to the classpath in the script. The downloaded
one had that
file missing as you can see from attachment
"downloaded_setNetworkClientCP.ksh".

Yesterday everything was fine but today I cannot start the server using
the modified
scripts (all 8 attached) and either as user dan or root. Please see
below.
/dan
"
[dan@localhost ~]$ cd $DERBY_INSTALL/frameworks/NetworkServer/bin
[dan@localhost bin]$ ./setNetworkClientCP.ksh
CLASSPATH=/home/dan/DerbyInstall/lib/derby.jar:/home/dan/DerbyInstall/lib/derbytools.jar:/home/dan/DerbyInstall/lib/derbynet.jar:
/home/dan/mysql-connector-java-3.1.10.tar.gz_FILES/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar:
/home/dan/mysql-connector-java-3.1.10.tar.gz_FILES/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin-g.jar
[dan@localhost bin]$ ./startNetworkServer.ksh
2006-04-06 09:03:28.164 GMT Thread[main,5,main]
java.io.FileNotFoundException: derby.log (Permission denied)
Could not listen on port 1527 on host localhost.
Could not listen on port 1527 on host localhost.
[dan@localhost bin]$ su
Password:
[root@localhost bin]# $ cd $DERBY_INSTALL/frameworks/NetworkServer/bin
bash: $: command not found
[root@localhost bin]#
cd /home/dan/DerbyInstall/frameworks/NetworkServer/bin
[root@localhost bin]#  ./setNetworkClientCP.ksh
CLASSPATH=/home/dan/DerbyInstall/lib/derby.jar:/home/dan/DerbyInstall/lib/derbytools.jar:/home/dan/DerbyInstall/lib/derbynet.jar:/home/dan/mysql-connector-java-3.1.10.tar.gz_FILES/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar:/home/dan/mysql-connector-java-3.1.10.tar.gz_FILES/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin-g.jar
[root@localhost bin]#  ./startNetworkServer.ksh
Could not listen on port 1527 on host localhost.
[root@localhost bin]# echo $PATH
/usr/kerberos/sbin:/usr/java/jdk1.5.0_04/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/dan/bin
[root@localhost bin]# echo $DERBY_INSTALL
/home/dan/DerbyInstall
[root@localhost bin]#
"







Mime
View raw message