Db derby StartNetworkServer

I have a problem starting the 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 are some problems with my localhost? I think I installed Derby correctly because after typing: java org.apache.derby.tools.sysinfo I got some output

considers

+3


source to share


2 answers


The error is in localization (for me in cs localization) and the derby server does not print exceptions by default.

Workaround: under the 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

. The first option is to change the local language to en, and the second is to print debug messages to the console. The second line starts the server (add the path if necessary).

Another workaround is to add the missing localization key DRDA_MissingNetworkJar.S

to the file org\apache\derby\loc\drda\messages_cs.properties

inside derbynet.jar

.

+6


source


I had this problem using derby in 1.8.0_45, but changing DERBY_HOME back to 1.8.0_31 resolved it.



0


source







All Articles