[SOLVED] Error when connecting RM to RA
Magick
New Altair Community Member
Hi
I am trying to connect rapidminer to a remote repository.
I have added the repository connection to rapidminer, and can right-mouse click and go 'browse' or 'adminster', but cannot connect to the repository
I can see in the RepositoryService?wsdl that the host name is incorrect -but where do I set this?
However, when I try I get the following error the same error occurs when I open RM from RA (using web start):
Exception: com.sun.xml.internal.ws.client.ClientTransportException
Message: HTTP transport error: java.net.UnknownHostException: ip-0AF51B4C
Stack trace:
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
$Proxy31.getFolderContents(Unknown Source)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.refresh(RemoteFolder.java:166)
com.rapidminer.repository.remote.RemoteRepository.refresh(RemoteRepository.java:390)
com.rapidminer.repository.gui.actions.RefreshAction$1.run(RefreshAction.java:48)
com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Cause
Exception: java.net.UnknownHostException
Message: ip-0AF51B4C
Stack trace:
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
sun.net.NetworkClient.doConnect(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.<init>(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
$Proxy31.getFolderContents(Unknown Source)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.refresh(RemoteFolder.java:166)
com.rapidminer.repository.remote.RemoteRepository.refresh(RemoteRepository.java:390)
com.rapidminer.repository.gui.actions.RefreshAction$1.run(RefreshAction.java:48)
com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
I am trying to connect rapidminer to a remote repository.
I have added the repository connection to rapidminer, and can right-mouse click and go 'browse' or 'adminster', but cannot connect to the repository
I can see in the RepositoryService?wsdl that the host name is incorrect -but where do I set this?
However, when I try I get the following error the same error occurs when I open RM from RA (using web start):
Exception: com.sun.xml.internal.ws.client.ClientTransportException
Message: HTTP transport error: java.net.UnknownHostException: ip-0AF51B4C
Stack trace:
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
$Proxy31.getFolderContents(Unknown Source)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.refresh(RemoteFolder.java:166)
com.rapidminer.repository.remote.RemoteRepository.refresh(RemoteRepository.java:390)
com.rapidminer.repository.gui.actions.RefreshAction$1.run(RefreshAction.java:48)
com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Cause
Exception: java.net.UnknownHostException
Message: ip-0AF51B4C
Stack trace:
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
sun.net.NetworkClient.doConnect(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.openServer(Unknown Source)
sun.net.www.http.HttpClient.<init>(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.http.HttpClient.New(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source)
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
$Proxy31.getFolderContents(Unknown Source)
com.rapidminer.repository.remote.RemoteFolder.ensureLoaded(RemoteFolder.java:115)
com.rapidminer.repository.remote.RemoteFolder.refresh(RemoteFolder.java:166)
com.rapidminer.repository.remote.RemoteRepository.refresh(RemoteRepository.java:390)
com.rapidminer.repository.gui.actions.RefreshAction$1.run(RefreshAction.java:48)
com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:176)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
0
Answers
-
Ok, Simon had answered this on another thread. For those interested, the answer is:
If you can't set your hostname, you can also edit
server/default/deployers/jbossws.deployer/META-INF/stack-agnostic-jboss-beans.xml
and enter the hostname there (property "webServiceHost").0