本文介绍了db derby StartNetworkServer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在启动derby服务器时遇到问题。
我的德比版本:db-derby-10.11.1.1

I have problem with starting derby server.My derby version: db-derby-10.11.1.1

我遵循了本教程:

,但输入后:startNetworkServer.bat没有响应:

but after typing: startNetworkServer.bat there is no response:https://www.dropbox.com/s/bo1tgfj8gf2533i/derby_issue.PNG?dl=0

我?
也许我的本地主机有问题?
我认为我正确安装了Derby,因为在键入以下内容之后:java org.apache.derby.tools.sysinfo
我得到了一些结果

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.sysinfoI got some result

问候

推荐答案

该错误位于本地化中(对我来说,位于 cs 本地化中),而derby服务器没有

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

解决方法:在控制台的Windows下运行以下命令:

Workaround: Under windows in the console run the following commands:

set "DERBY_OPTS=-Duser.language=en -Dderby.drda.debug=true"
startNetworkServer.bat

第一行为 java / derby 添加了两个选项。第一个选项将本地语言更改为 en ,第二个选项允许将调试消息打印到控制台。
第二行运行服务器(如果需要,添加路径)。

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).

另一种解决方法是添加缺少的本地化密钥 DRDA_MissingNetworkJar.S 归档 derbynet.jar中的 org\apache\derby\loc\drda\messages_cs.properties / code>。

Another workaround is adding the missing localization key DRDA_MissingNetworkJar.S to file org\apache\derby\loc\drda\messages_cs.properties inside derbynet.jar.

这篇关于db derby StartNetworkServer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 07:00