If you need to start Apache Derby DB from the command line; Use the following code;
Do not forget to put
derby.jar inside lib folder in your project
C:\project\HibernateSampleWebApplication\lib>java -jar derbyrun.jar server start
Wed Jun 15 16:03:45 EEST 2011 : Security manager installed using the Basic server security policy.
Wed Jun 15 16:03:46 EEST 2011 : Apache Derby Network Server – 10.8.1.2 – (1095077) started and ready to accept connections on port 1527