[ http://issues.apache.org/jira/browse/GERONIMO-462?page=all ]
     
Aaron Mulder closed GERONIMO-462:
---------------------------------

    Fix Version: 1.0-M5
     Resolution: Duplicate

Fixed by GERONIMO-848

> JMX Connector ignores port number
> ---------------------------------
>
>          Key: GERONIMO-462
>          URL: http://issues.apache.org/jira/browse/GERONIMO-462
>      Project: Geronimo
>         Type: Bug
>   Components: general
>     Versions: 1.0-M2
>     Reporter: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.0-M5

>
> The JMX connector processes a port number in a URI like this:
> jmx:rmi://localhost:1234561234/jndi/rmi:/JMXConnector
> For example, if you put in a port number that's too large, you get:
> Bad port number: "123456123434526": java.lang.NumberFormatException: For 
> input string: "123456123434526"
> However, the connector will connect no matter what port number you specify in 
> the URI.  I suspect that means that if the server side is listening on a 
> different port, it will *not* connect, no matter what port you use.  But as I 
> don't know how to change the port that the server listens on, it's difficult 
> to test.  :)  Perhaps it's going for the rmiregistry on 1099?
> In any case, to test this, try to run:
> java -jar bin/deployer.jar --uri 
> deployer:geronimo:jmx:rmi://localhost:1234561234/jndi/rmi:/JMXConnector 
> list-targets
> and just fool with the port numbers in the URI

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

Reply via email to