db derby StartNetworkServer

蓝咒 提交于 2019-12-03 21:34:07
DavidJezek

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!