2014-10-08 47 views
1

我正在使用WSO2 Governance Registry v 4.6.0,並試圖將我在H2支持的測試實例中的結構遷移到Postgres支持的生產實例(用於Web服務器和數據庫的獨立VM)客戶簽入。wso2 client-checkin restore

我已經成功從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 

,並得到下面的下面的錯誤。 (是的,我知道密碼是一樣的,它會改變,當我得到它的工作!)。這裏的網址是wso2 web服務器的地址,而不是Postgres數據庫。

任何幫助將不勝感激。

[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 

回答