首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >远程注册表无法在WSO2 ESB 4.5.0上挂载

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

Stack Overflow用户
提问于 2012-10-18 20:01:16
回答 1查看 414关注 0票数 3

我正在尝试按照这里的建议将远程注册表挂载到ESB4.5.0上:http://ajithvblogs.blogspot.com/2012/09/create-jdbc-mount-to-wso2-governance.html

每件事都是按照给定的指令来做的--但是我在ESB启动过程中得到了下面的错误:

代码语言:javascript
运行
复制
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}

没有更多的错误。

企业服务总线registry.xml代码片段:

代码语言:javascript
运行
复制
<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>

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

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

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-19 10:17:24

在配置中应该是<instanceId>而不是<instanceid>。还有类似的camel案例问题。请看一下这个配置元素。

代码语言:javascript
运行
复制
<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>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12954124

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档