Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6324

Cannot deploy with remote server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.0-beta-1
    • None
    • deployment
    • Security Level: public (Regular issues)
    • Remote server running Ubuntu 10.04
      Local development machine running OSX 10.7.2

    Description

      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

      $ ./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.<init>(OnlineServerConnection.java:75)
      	at org.apache.geronimo.deployment.cli.OnlineServerConnection.<init>(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.<init>(Socket.java:375)
      	at java.net.Socket.<init>(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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fenduru Josh Fee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: