Andreas Jung
2017-06-17 15:02:50 UTC
Hi there,
I am trying to migrate a project from exist 2.2 to 3.2.
I created a full backup of 2.2 and now I am trying a restore using
bin/backup.sh -u admin -p XXXX -r /tmp/full20170617-1651/db/__contents__.xml
This fails with
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused (Connection refused)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:81)
at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:72)
at org.exist.xmldb.DatabaseImpl.readCollection(DatabaseImpl.java:265)
at org.exist.xmldb.DatabaseImpl.getRemoteCollection(DatabaseImpl.java:227)
at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:167)
at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:156)
at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
at org.exist.backup.Main.process(Main.java:267)
at org.exist.backup.Main.main(Main.java:418)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.exist.start.Main.invokeMain(Main.java:140)
at org.exist.start.Main.run(Main.java:453)
at org.exist.start.Main.main(Main.java:64)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:104)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
... 22 more
Caused by:
java.net.ConnectException: Connection refused (Connection refused)
However the 3.2 server is running with default settingsâŠanything I am missing?
Andreas
17 Jun 2017 16:59:14,237 [main] INFO (JettyStart.java [lifeCycleStarting]:616) - Jetty server starting...
17 Jun 2017 16:59:14,738 [main] INFO (JettyStart.java [lifeCycleStarted]:625) - Jetty server started.
17 Jun 2017 16:59:14,739 [main] WARN (JettyStart.java [run]:234) - Could not find OpenID extension. OpenID will be disabled!
17 Jun 2017 16:59:14,740 [main] WARN (JettyStart.java [run]:241) - Could not find OAuthServlet extension. OAuth will be disabled!
17 Jun 2017 16:59:14,740 [main] WARN (JettyStart.java [run]:248) - Could not find IPRangeServlet extension. IPRange will be disabled!
17 Jun 2017 16:59:14,743 [main] INFO (JettyStart.java [run]:257) - -----------------------------------------------------
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:258) - Server has started, listening on:
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:260) - http://XXX:8088/
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:260) - https://XXX:8451/
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:263) - Configured contexts:
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:269) - /
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:323) - -----------------------------------------------------
I am trying to migrate a project from exist 2.2 to 3.2.
I created a full backup of 2.2 and now I am trying a restore using
bin/backup.sh -u admin -p XXXX -r /tmp/full20170617-1651/db/__contents__.xml
This fails with
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused (Connection refused)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:81)
at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:72)
at org.exist.xmldb.DatabaseImpl.readCollection(DatabaseImpl.java:265)
at org.exist.xmldb.DatabaseImpl.getRemoteCollection(DatabaseImpl.java:227)
at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:167)
at org.exist.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:156)
at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
at org.exist.backup.Main.process(Main.java:267)
at org.exist.backup.Main.main(Main.java:418)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.exist.start.Main.invokeMain(Main.java:140)
at org.exist.start.Main.run(Main.java:453)
at org.exist.start.Main.main(Main.java:64)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:104)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
... 22 more
Caused by:
java.net.ConnectException: Connection refused (Connection refused)
However the 3.2 server is running with default settingsâŠanything I am missing?
Andreas
17 Jun 2017 16:59:14,237 [main] INFO (JettyStart.java [lifeCycleStarting]:616) - Jetty server starting...
17 Jun 2017 16:59:14,738 [main] INFO (JettyStart.java [lifeCycleStarted]:625) - Jetty server started.
17 Jun 2017 16:59:14,739 [main] WARN (JettyStart.java [run]:234) - Could not find OpenID extension. OpenID will be disabled!
17 Jun 2017 16:59:14,740 [main] WARN (JettyStart.java [run]:241) - Could not find OAuthServlet extension. OAuth will be disabled!
17 Jun 2017 16:59:14,740 [main] WARN (JettyStart.java [run]:248) - Could not find IPRangeServlet extension. IPRange will be disabled!
17 Jun 2017 16:59:14,743 [main] INFO (JettyStart.java [run]:257) - -----------------------------------------------------
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:258) - Server has started, listening on:
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:260) - http://XXX:8088/
17 Jun 2017 16:59:14,744 [main] INFO (JettyStart.java [run]:260) - https://XXX:8451/
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:263) - Configured contexts:
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:269) - /
17 Jun 2017 16:59:14,745 [main] INFO (JettyStart.java [run]:323) - -----------------------------------------------------