geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <>
Subject [jira] Commented: (GERONIMO-848) Deployer ignores Geronimo URL host/port
Date Thu, 04 Aug 2005 03:14:39 GMT
    [ ] 

Kevan Miller commented on GERONIMO-848:

Aaron is right that the syntax for the uri was incorrect. I was looking into the problem also,
but hadn't gotten to the root of the problem. I can't say that I fully comprehend how things
are working at present, however. For instance, why does the URI work as long as you don't
specify a port number? Oh, I kind of see...  deployer:geronimo:jmx:rmi://foobar/jndi/rmi://<host>:<port>/JMXConnector
works just as well... 

I would suggest at least one code change for this issue.
contains the following static variable used for generating the default uri in the absence
of one specified on the command line:

    private final static String DEFAULT_URI = "deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector";

I'd update to reflect a more educational syntax.  I see the Wiki (
also references the same uri...

Aaron, BTW, isn't this a dup of ?

> Deployer ignores Geronimo URL host/port
> ---------------------------------------
>          Key: GERONIMO-848
>          URL:
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M4
>     Reporter: Aaron Mulder
>      Fix For: 1.0-M5

> When the deployer connects to a server, it uses a URL of the form:
> deployer:geronimo:jmx:rmi://host:port/jndi/rmi:/JMXConnector
> Under the covers, this strips off the beginning and uses a connection of the form:
> jmx:rmi://host:port/jndi/rmi:/JMXConnector
> However, no matter what you use as the host and port, it connects to the standard port
on localhost.  It should actually attempt to connect to the host and port specified and give
an error if they are not valid.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message