I have problem with starting derby server. My derby version: db-derby-10.11.1.1
I followed this tutorial: http://db.apache.org/derby/papers/DerbyTut/ns_intro.html
but after typing: startNetworkServer.bat there is no response: https://www.dropbox.com/s/bo1tgfj8gf2533i/derby_issue.PNG?dl=0
Could you help me? Maybe there is some problem with my localhost? I think that i install Derby correctly because after typing: java org.apache.derby.tools.sysinfo I got some result
regards
The bug is in the localization (for me in cs localization) and the derby server does not print exceptions by default.
Workaround: Under windows in the console run the following commands:
set "DERBY_OPTS=-Duser.language=en -Dderby.drda.debug=true"
startNetworkServer.bat
The first line adds two options for java/derby
. First option to change the local language to en and the second one enables printing debug messages to the console.
The second line runs the server (add path if needed).
Another workaround is adding the missing localization key DRDA_MissingNetworkJar.S
to file org\apache\derby\loc\drda\messages_cs.properties
inside derbynet.jar
.
I had this problem with using derby in 1.8.0_45 but changing the DERBY_HOME back to 1.8.0_31 solved it.
来源:https://stackoverflow.com/questions/27013886/db-derby-startnetworkserver