geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Created: (GERONIMO-462) JMX Connector ignores port number
Date Tue, 09 Nov 2004 04:12:32 GMT
JMX Connector ignores port number

         Key: GERONIMO-462
     Project: Apache Geronimo
        Type: Bug
  Components: general  
    Versions: 1.0-M2    
    Reporter: Aaron Mulder
    Priority: Critical

The JMX connector processes a port number in a URI like this:


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

In any case, to test this, try to run:

java -jar bin/deployer.jar --uri deployer:geronimo:jmx:rmi://localhost:1234561234/jndi/rmi:/JMXConnector

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:
If you want more information on JIRA, or have a bug to report see:

View raw message