[ https://issues.apache.org/jira/browse/GERONIMO-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521314 ]
Kevan Miller commented on GERONIMO-2567: ---------------------------------------- 1) No. 2) Remote server E.g: I have a Geronimo server running on monk. I use the following command to list-modules on monk from my local machine coltrane: ./deploy.sh --host monk list-modules This works for me on G 2.0.1 Jay, the line numbers in your stacktrace don't line up with my source (i.e. at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:159) I would guess that the JMXServiceURL that is being build before the connect call (my line 167) is building an unexpected url: JMXServiceURL address = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://"+params.getHost()+":"+params.getPort()+"/JMXConnector"); Doh. Jay do you have IPV6 enabled? That's got to be it... If we're getting a ':' separated numerical ipv6 address, we need to wrap the host with '[' ']' chars. > Remote admin of server using deployer.jar fails to connect > ---------------------------------------------------------- > > Key: GERONIMO-2567 > URL: https://issues.apache.org/jira/browse/GERONIMO-2567 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 1.2, 2.0, 2.0.x > Environment: Linux > Java 1.5 > Reporter: Jay D. McHugh > Fix For: Verification Required > > > Trying to remote deploy a WAR file resulted in a failed connection. > This happened regardless of whether the port was specified. > $ java -jar deployer.jar --user system --password manager --host 172.16.1.41 > redeploy ~/PaLM.war > Error: Unable to connect to server at > deployer:geronimo:jmx://172.16.1.41 -- Connection refused to host: > 127.0.0.1; nested exception is: > java.net.ConnectException: Connection refused -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.