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

2010-02-19 Thread Alexandros Karypidis (JIRA)

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

Alexandros Karypidis commented on GERONIMODEVTOOLS-537:
---

Actually, this also happens for local servers when the listen address does not 
include 127.0.0.1.

I am using Geronimo 2.2/w jetty on sun-jdk1.6.0_17 and I need to run two server 
instances. So I define a listen address of 127.0.0.1 for one installation and 
127.0.0.2 for another.

I can start/stop both installations from Eclipse, but I can only deploy to the 
one listening at 127.0.0.1. When I try to deploy to 127.0.0.2, I get the same 
exception.

> 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.1.4, 2.2.0
>Reporter: Tim McConnell
>Assignee: Tim McConnell
> Attachments: jaxws-demo.jar, 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.(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.



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

2008-12-29 Thread Delos Dai (JIRA)

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

Delos Dai commented on GERONIMODEVTOOLS-537:


Hi, 

What's the os of your remote server? Is it linux?

I tried it on linux and got the same error. 
But if I add an entry in /etc/hosts and delete the original one, then it worked 
fine. So I think it's due to the host name mapping.

eg. 
the host name is "abc" and ip is "1.2.3.4"
add "1.2.3.4abc" in /etc/hosts
If "127.0.0.1 abc" exist in /etc/hosts, please delete it.

Hope it helps!

> 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: jaxws-demo.jar, 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.(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.



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

2008-12-11 Thread Antoine (JIRA)

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

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

2008-12-11 Thread Antoine (JIRA)

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

Antoine commented on GERONIMODEVTOOLS-537:
--

I use Geronimo v2.1.3 on both machines. This is also the same JDK on both 
machines. The remote machine does have Eclipse neither a graphical interface, 
it is just a server.
As I was testing Geronimo, I was just trying to deploy the basic 
jaxws-calculator example provided on this website. I will attach a JAR.

I did not try on the command line until now so I did it, thanks to Joao. In my 
case the result is different I am asked the password for the and after that I 
get a ConnectException : the connection is refused.


./deploy.sh -host 192.168.16.60 deploy ~/Work/tmp/Demo/jaxws-demo.jar 
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 -- Connection refused to host:
127.0.1.1; nested exception is: 

java.net.ConnectException: Connection refused
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: 
Connection refused to host: 127.0.1.1; nested exception is: 
java.net.ConnectException: Connection refused
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.(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.ConnectException: Connection refused to host: 127.0.1.1; 
nested exception is: 
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
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
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:180)
at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 16 more



So, on the command line, I seem to pass the stage of the deployment manager.
For now I have no explanation on why the connection is refused : there is no 
firewall on both machines or on the network between them. there is only a 
switch between them. I can connect to the machine with SSH, on the admin 
console...
I will investigate to see if there could have some more reasons to this.


> Remote server deployment fails with connection exception
> 
>
> Key: GERONIMODEVTOOLS-537
> URL: 
> 

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

2008-12-10 Thread JIRA

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

João Assad commented on GERONIMODEVTOOLS-537:
-

Im having the same 
"javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: no 
such object in table"  problem

And it doesnt happen only with the GEP , for me it happens with the geronimo 
bin/deploy.sh tool too.

./deploy.sh -host 192.168.200.3 deploy ~/Desktop/RemoteDeployTest.ear
Using GERONIMO_BASE:   /usr/local/octopoker/geronimo-tomcat6-minimal-2.1.3
Using GERONIMO_HOME:   /usr/local/octopoker/geronimo-tomcat6-minimal-2.1.3
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:/usr/local/jdk1.6.0_10
Username: system
Password: ***
Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.200.3 -- 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.(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


Im attaching the EAR

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

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

2008-12-10 Thread Tim McConnell (JIRA)

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

Tim McConnell commented on GERONIMODEVTOOLS-537:


Hi Antoine, what versions of the Geronimo server are you using on both the 
remote and local machines ?? Also, can you provide me with the artifact that 
you're trying to deploy so that I can see if I can duplicate the problem ??

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



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

2008-12-10 Thread Antoine (JIRA)

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