gpt4 book ai didi

wso2 - 远程注册表无法在 WSO2 ESB 4.5.0 上挂载

转载 作者:行者123 更新时间:2023-12-02 03:55:14 24 4
gpt4 key购买 nike

我正尝试按照此处的建议将远程注册表挂载到 ESB 4.5.0:http://ajithvblogs.blogspot.com/2012/09/create-jdbc-mount-to-wso2-governance.html

一切都按照给定的说明完成 - 但是我在 ESB 启动期间遇到以下错误:

TID: [] [WSO2 Enterprise Service Bus] [2012-10-18 07:48:42,555]  WARN {org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor} -  The instance     identifier was not specified for the mount: /_system/config {org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor}

TID: [] [WSO2 Enterprise Service Bus] [2012-10-18 07:48:42,557] WARN {org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor} - The instance identifier was not specified for the mount: /_system/governance {org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor}

没有更多的错误。

ESB registry.xml 代码片段:

<dbconfig name="wso2registry_mounted">
<datasource>jdbc/WSO2CarbonDB_GREG</datasource>
</dbconfig>

<remoteinstance url="https://localhost:9445/registry">
<id>wso2_registry_mounted</id>
<dbconfig>wso2registry_mounted</dbconfig>
<readonly>false</readonly>
<enablecache>true</enablecache>
<registryroot>/</registryroot>
</remoteinstance>

<mount overwrite="true" path="/_system/config">
<instanceid>wso2_registry_mounted</instanceid>
<targetpath>/_system/nodes</targetpath>
</mount>

<mount overwrite="true" path="/_system/governance">
<instanceid>wso2_registry_mounted</instanceid>
<targetpath>/_system/governance</targetpath>
</mount>

有人可以告诉我这里出了什么问题吗?

最好的问候,弗拉基米尔。

最佳答案

应该是<instanceId>不是<instanceid>在配置中。也有类似的驼峰案例问题。请查看此配置元素。

<remoteInstance url="https://localhost:9447/registry">
<id>instanceid</id>
<dbConfig>govRegistry</dbConfig>
<readOnly>true</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>

<mount path="/_system/config" overwrite="true">
<instanceId>instanceid</instanceId>
<targetPath>/_system/esb</targetPath>
</mount>

<mount path="/_system/governance" overwrite="true">
<instanceId>instanceid</instanceId>
<targetPath>/_system/governance</targetPath>
</mount>

关于wso2 - 远程注册表无法在 WSO2 ESB 4.5.0 上挂载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12954124/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com