Cool. That was it. Strange that it failed to parse the URI (I can understand why the exception gets thrown but would be unrelated to parsing the URI I woudl have thought).
Jonathan On 8/30/06, Adrian Co <[EMAIL PROTECTED]> wrote:
Hi, Can you check if mx4j is in the classpath? rabidgremlin wrote: > Hi all, > > I have a very simple app with an embedded broker: > > ... > BrokerService broker = BrokerFactory.createBroker(new URI(args[0])); > broker.start(); > .. > > When I run this under JDK 1.5.0_05 with the following line: > > broker > "broker:(tcp://127.0.0.1:61617,network:static:tcp://127.0.0.1:61616)?persistent=false&useJmx=false" > > > Everything works as expected. > > When I run it under JDK 1.4.2_08 the URI appears to be ignored and a > broker > with a default configuration starts up (and crashes with a > java.lang.NoClassDefFoundError: > javax/management/MalformedObjectNameException) > > Anyone have any ideas ? > > Jonathan >
