[
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655598#action_12655598
]
Antoine commented on GERONIMODEVTOOLS-537:
------------------------------------------
Something funny here : if I launch Geronimo on my laptop and then try to deploy
on the remote server with the command line, I get the following error :
Using GERONIMO_BASE: /home/antoine/opt/java/geronimo-tomcat6-javaee5-2.1.3
Using GERONIMO_HOME: /home/antoine/opt/java/geronimo-tomcat6-javaee5-2.1.3
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.10//jre
Username: system
Password: *******
Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.16.60 -- no such object in table
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: no
such object in table
at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:190)
at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:140)
at
javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
at
org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:199)
at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:95)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.rmi.NoSuchObjectException: no such object in table
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
Source)
at
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2312)
at
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:182)
... 8 more
It seems to be the same error than the one I am getting in Eclipse and the same
than Joao.
> Remote server deployment fails with connection exception
> --------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-537
> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-537
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.4
> Reporter: Tim McConnell
> Assignee: Tim McConnell
> Attachments: RemoteDeployTestEA.ear
>
>
> Distribution of module failed. See log for details.
> Connection refused: connect
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(Unknown Source)
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at sun.net.NetworkClient.doConnect(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.<init>(Unknown Source)
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> at
> org.apache.geronimo.deployment.plugin.remote.FileUploadServletClient.connectToServer(FileUploadServletClient.java:266)
> at
> org.apache.geronimo.deployment.plugin.remote.FileUploadServletClient.uploadFilesToServer(FileUploadServletClient.java:115)
> at
> org.apache.geronimo.deployment.plugin.remote.RemoteDeployUtil.uploadFilesToServer(RemoteDeployUtil.java:33)
> at
> org.apache.geronimo.deployment.plugin.remote.DistributeCommand.massageFileNames(DistributeCommand.java:43)
> at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:114)
> at
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> at
> org.apache.geronimo.deployment.plugin.remote.DistributeCommand.run(DistributeCommand.java:50)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.