geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Fee (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-6324) Cannot deploy with remote server
Date Fri, 13 Apr 2012 17:03:16 GMT
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


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

        

Mime
View raw message