[
http://issues.apache.org/jira/browse/GERONIMO-848?page=comments#action_12317569
]
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.
org.apache.geronimo.deployment.cli.ServerConnection.java 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
(http://wiki.apache.org/geronimo/Running) also references the same uri...
Aaron, BTW, isn't this a dup of
http://issues.apache.org/jira/browse/GERONIMO-462 ?
> Deployer ignores Geronimo URL host/port
> ---------------------------------------
>
> Key: GERONIMO-848
> URL: http://issues.apache.org/jira/browse/GERONIMO-848
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira