The exception is being generated at the point the JMX implementation classes validate a JMXServiceURL the broker uses during startup of its JMX server. I believe this could be due to issues with your linux machines hostname as it is not legal since DNS hostnames are not allowed to use underscore characterss (_).
Can you update your hostname to a legal value (http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names) and then try again? As a test you could temporarily override the value used by the JMX implementation for the hostname in this case and seeing whether this allows the broker to start. You can do this by specifying a legal value (eg the machines IP address) for the java.rmi.server.hostname system property when starting the broker, you can export it into QPID_OPTS environment variable to have the startup script pass it through: export QPID_OPTS="-Djava.rmi.server.hostname=<enter an ip address or hostname>" Robbie On 10 September 2010 04:31, [email protected] <[email protected]> wrote: > > I downloaded qpid-java-0.6 broker and run it on Linux system. I got below > error. Does anyone know this issue? > > thanks > > Starting : SSL RMI ConnectorServer : Listening on port 9099 > Error initialising message broker: java.net.MalformedURLException: Bad URL > path: _nuv:9099/jndi/rmi://suse_nuv:8999/jmxrmi > main 2010-09-09 18:24:17,180 ERROR [Qpid.Broker] Error initialising message > broker: java.net.MalformedURLException: Bad URL path: > _nuv:9099/jndi/rmi://suse_nuv:8999/jmxrmi > java.net.MalformedURLException: Bad URL path: > _nuv:9099/jndi/rmi://suse_nuv:8999/jmxrmi > at > javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:348) > at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:208) > at > org.apache.qpid.server.management.JMXManagedObjectRegistry.start(JMXManagedObjectRegistry.java:251) > at > org.apache.qpid.server.registry.ConfigurationFileApplicationRegistry.initialise(ConfigurationFileApplicationRegistry.java:78) > at > org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:105) > at > org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:93) > at org.apache.qpid.server.Main.startup(Main.java:310) > at org.apache.qpid.server.Main.execute(Main.java:233) > at org.apache.qpid.server.Main.<init>(Main.java:104) > at org.apache.qpid.server.Main.main(Main.java:541) > > -- > View this message in context: > http://apache-qpid-users.2158936.n2.nabble.com/Run-qpid-0-6-broker-error-in-Linux-tp5517015p5517015.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
