db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject Re: BUG renaming derbynet.jar
Date Mon, 23 Jan 2012 22:02:34 GMT
On Mon, Jan 23, 2012 at 12:09 PM, Nick Drone <ndrone@gmail.com> wrote:
> 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

Perhaps you're running into DERBY-3083:
https://issues.apache.org/jira/browse/DERBY-3083
(duplicated by DERBY-3120)

Looks like that issue has been without activity for 4 years...

If you are knowledgeable about this functionality, please consider helping!
If interested, see: http://wiki.apache.org/db-derby/ForNewDevelopers

Myrna

Mime
View raw message