geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <>
Subject [jira] Commented: (GERONIMO-2567) Remote admin of server using deployer.jar fails to connect
Date Tue, 21 Aug 2007 03:33:33 GMT


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:

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

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:
>             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 redeploy
>     Error: Unable to connect to server at
>     deployer:geronimo:jmx:// -- Connection refused to host:
>; nested exception is:
> Connection refused

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message