WSO2 ESB无法更新配置

时间:2015-02-13 18:28:57

标签: java configuration wso2 esb file-locking

我们无法更新最近安装的WSO2 ESB 4.8.1上的配置 在Windows 7和Windows 2008 R2中发生了完全相同的错误(测试了3台PC)。测试了jre7和jdk1.7.0_51。

安装完成后,只需按下管理控制台(Chrome,Firefox或资源管理器)的“服务总线配置”页面中的“更新”按钮,即使不进行任何更改,也会出现弹出窗口错误“出现错误你的配置“。

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”

我们可以用记事本手动编辑文件。我们甚至将更改权限的风险转嫁给“所有人”,但问题仍然存在。

有任何线索吗?谢谢!

1 个答案:

答案 0 :(得分:0)

在ESB的registry.xml文件中,以下设置为:

 <readOnly>true</readOnly> ,

如果是,则变为false。