You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Antoine (JIRA)" <ji...@apache.org> on 2008/12/10 16:04:44 UTC

[jira] Commented: (GERONIMODEVTOOLS-537) Remote server deployment fails with connection exception

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655237#action_12655237 ] 

Antoine commented on GERONIMODEVTOOLS-537:
------------------------------------------

Hi,
As said Tim, I am still experiencing problems. 
I run Ubuntu 8.10, JDK 1.5 from Sun, Eclipse Ganymede for JEE developpers on a clean installation.

Following the 4 steps described by Tim above, I have the following error : "Connection to the deployment manager failed". I happens when the plugin try to synchronize with the remote server. Everything is working fine on localhost.

The associated exception is the following one:
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 org.apache.geronimo.st.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectionFactory.java:64)
        at org.apache.geronimo.st.core.commands.DeploymentCommandFactory.getDeploymentManager(DeploymentCommandFactory.java:106)
        at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:208)
        at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doNoChange(GeronimoServerBehaviourDelegate.java:507)
        at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:404)
        at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:284)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:944)
        at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:250)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:868)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:707)
        at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2404)
        at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:261)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
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)
        ... 14 more 

So I guess this is a different problem from the one originally reported. Do you have any idea what I can do to solve it ?

> 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
>
> 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.