我们无法更新最近安装的Windows 4.8.1上的配置。完全相同的错误发生在Windows7和Windows2008 R2 (测试了3台PC)上。测试了jre7和jdk1.7.0_51。
安装后,简单地按下管理控制台(Chrome、Firefox或Explorer)的"Service Bus configuration“页面中的"Update”按钮,即使不做任何更改,也会弹出窗口错误"There an error in your Configuration“。
ESB日志通知
WARN - MultiXMLConfigurationSerializer Error while attempting to lock the file: registry.xml
java.io.IOException: Access is denied
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:86)
...
WARN - MultiXMLConfigurationSerializer Unable to acquire lock on file: registry.xml
WARN - MultiXMLConfigurationSerializer File: registry.xml is not writable可能是"C:\esb\wso2esb-4.8.1\repository\conf\registry.xml“
我们可以用记事本手工编辑这个文件。我们甚至冒着将权限更改为“每个人”的风险,但问题仍然存在。
有什么线索吗?谢谢!
发布于 2015-03-12 23:17:29
在企业服务总线的registry.xml文件中,以下内容设置为:
<readOnly>true</readOnly> ,如果是这样,则将其更改为false。
https://stackoverflow.com/questions/28506267
复制相似问题