Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6C1E9E88 for ; Fri, 13 Apr 2012 19:00:40 +0000 (UTC) Received: (qmail 43916 invoked by uid 500); 13 Apr 2012 19:00:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 43847 invoked by uid 500); 13 Apr 2012 19:00:40 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 43840 invoked by uid 99); 13 Apr 2012 19:00:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 19:00:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 19:00:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A77C1369160 for ; Fri, 13 Apr 2012 19:00:17 +0000 (UTC) Date: Fri, 13 Apr 2012 19:00:17 +0000 (UTC) From: "Russell E Glaue (Commented) (JIRA)" To: dev@geronimo.apache.org Message-ID: <2044031573.23207.1334343617687.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <428581213.22715.1334336597009.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMO-6324) Cannot deploy with remote server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253646#comment-13253646 ] Russell E Glaue commented on GERONIMO-6324: ------------------------------------------- The error is from a core java object java.net. The port 1099 cannot be connected to. So discover if these things are correct on your system: 1. You do not have a local firewall running that would block access to port 1099 2. The startup output from Geronimo reports that the RMI port has successfully bound to port 1099 Since the connection was refused, there is either a firewall blocking access to port 1099 on the specified xxx.xxx.xxx.xxx IP Address, or Geronimo's RMI service is not listening on port 1099. > Cannot deploy with remote server > -------------------------------- > > Key: GERONIMO-6324 > URL: https://issues.apache.org/jira/browse/GERONIMO-6324 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0-beta-1 > Environment: Remote server running Ubuntu 10.04 > Local development machine running OSX 10.7.2 > Reporter: Josh Fee > Labels: deploy, remote > > Attempt to run deploy command for a remote server times out. At some point the hostname is lost and changed to 127.0.1.1 > {code} > $ ./deploy -host xxx.xxx.xxx.xxx list-modules > Using GERONIMO_HOME: /Users/joshfee/Development/geronimo-tomcat7-javaee6-3.0-beta-1 > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Home > Username: system > Password: ******* > 2012-04-13 12:28:57,446 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Unable to connect to server at deployer:geronimo:jmx://ee368s12.no-ip.org:1099 -- Connection refused to host: 127.0.1.1; nested exception is: > java.net.ConnectException: Operation timed out > at org.apache.geronimo.deployment.cli.OnlineServerConnection.tryToConnect(OnlineServerConnection.java:128) > at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:75) > at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:50) > at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:167) > at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) > at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) > Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Connection refused to host: 127.0.1.1; nested exception is: > java.net.ConnectException: Operation timed out > at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:194) > at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:141) > at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111) > at org.apache.geronimo.deployment.cli.OnlineServerConnection.tryToConnect(OnlineServerConnection.java:122) > ... 7 more > Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: > java.net.ConnectException: Operation timed out > 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:2327) > 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:186) > ... 10 more > Caused by: java.net.ConnectException: Operation timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) > at java.net.Socket.connect(Socket.java:529) > at java.net.Socket.connect(Socket.java:478) > at java.net.Socket.(Socket.java:375) > at java.net.Socket.(Socket.java:189) > 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) > ... 18 more > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira