db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Drone <ndr...@gmail.com>
Subject BUG renaming derbynet.jar
Date Mon, 23 Jan 2012 20:09:29 GMT
All,

I may of found a bug with starting derby through the NetworkServiceControl
class. With the clients maven repository jars are <name>-<version>.jar, we
use an ant script to start/stop and create databases on our development
machines. I first found that with ant when we would start derby it would
crash. I then tried to start derby from the command line.

Machine is Windows XP
Java 1.6
Derby 10.8.2.2
Ant 1.8.1

Here is the failing command:
java -classpath
"C:\tmp\derby-10.8.2.2.jar;C:\tmp\derbyclient-10.8.2.2.jar;C:\tmp\derbynet-10.8.2.2.jar;C:\tmp\derbytools-10.8.2.2.jar"
org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527

produces error:
Cannot find derbynet.jar on the classpath.

successful command:
java -classpath
"C:\tmp\derby.jar;C:\tmp\derbyclient.jar;C:\tmp\derbynet.jar;C:\tmp\derbytools.jar"
org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527

Thanks,
Nick

Mime
View raw message