Postgresql wso2客户端签入还原

Postgresql wso2客户端签入还原,postgresql,wso2,wso2carbon,wso2greg,Postgresql,Wso2,Wso2carbon,Wso2greg,我正在使用WSO2 Governance Registry v 4.6.0,并尝试使用客户端签入将我在H2支持的测试实例中的结构迁移到Postgres支持的生产实例(Web服务器和数据库的单独VM) 我已经成功地从H2实例签出了注册表,但是我正在努力将它签入Postgress系统 在我运行的测试实例上 ./checkin-client.sh co https://localhost:9443/registry -u admin -p admin -f /../../../registry_che

我正在使用WSO2 Governance Registry v 4.6.0,并尝试使用客户端签入将我在H2支持的测试实例中的结构迁移到Postgres支持的生产实例(Web服务器和数据库的单独VM)

我已经成功地从H2实例签出了注册表,但是我正在努力将它签入Postgress系统

在我运行的测试实例上

./checkin-client.sh co https://localhost:9443/registry -u admin -p admin -f /../../../registry_checkout/registry.dump
创建转储

在我执行的生产系统上

./checkin-client.sh ci https://arc-gov:9443/registry -u admin -p admin -f /../registry.dump
并得到下面的错误。(是的,我知道密码是一样的,当我让它工作时它会改变!)。这里的url是wso2 web服务器的url,而不是Postgres数据库的url

任何帮助都将不胜感激

[2014-10-09 10:34:05,672] ERROR -  Error in restoring the path. Make sure the registry is up and running Or the username, password is correct! and check the user have the WRITE permission to the path.
path: /
registry url: https://arc-gov:9443/registry
username: admin {org.wso2.registry.checkin.Client}
org.wso2.carbon.registry.synchronization.SynchronizationException: message code: ERROR_IN_RESTORING, parameters: {path: /, registry url: https://arc-gov:9443/registry, username: admin
        at org.wso2.carbon.registry.synchronization.operation.CheckInCommand.restoreFromFile(CheckInCommand.java:207)
        at org.wso2.carbon.registry.synchronization.operation.CheckInCommand.execute(CheckInCommand.java:164)
        at org.wso2.registry.checkin.Checkin.execute(Checkin.java:70)
        at org.wso2.registry.checkin.Checkin.execute(Checkin.java:56)
        at org.wso2.registry.checkin.Client.execute(Client.java:272)
        at org.wso2.registry.checkin.Client.start(Client.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
        at org.wso2.carbon.bootstrap.CheckinClientBootstrap.main(CheckinClientBootstrap.java:36)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Restoring to / failed.
        at org.wso2.carbon.registry.app.RemoteRegistry.restore(RemoteRegistry.java:1725)
        at org.wso2.carbon.registry.app.RemoteRegistry.restore(RemoteRegistry.java:1665)
        at org.wso2.carbon.registry.synchronization.operation.CheckInCommand.restoreFromFile(CheckInCommand.java:198)
        ... 11 more

WSO2治理注册表不支持从顶级集合路径[1](即/_system/Governance/和/_system/config/)签出和签入

相反,我们建议您从子集合路径签出签入

在greg4.6.0上转储远程注册表路径集合似乎有问题。[2]

您还可以找到[2]附带的修复程序

[1]

[2]