简体   繁体   中英

Apache Derby (JavaDB) fails silently at start from Windows command line

I'm trying to start database with:

C:\\Program Files\\Java\\jdk1.8.0_60\\db\\bin>NetworkServerControl start

No error messages, prompt returns immediately. And derby.log contains only old messages. As nothing happened. WTF? How can I debug this?

UPD: I have added tracing from https://blogs.oracle.com/wittyman/entry/debug_tracing_in_apache_derby , but derby.log is still empty.
I'm using java.exe from the same JDK (1.8.0 x64)

The solution was to switch to x86 Java version. I've tried several x64 JDKs from 6 to 8, all had failed silently. I think it's Derby bug.

Try running

java -Dderby.debug.true=AssertFailureTrace -jar %DERBY_HOME%\lib\derby.jar server start

It may show some details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM