activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rabidgremlin <rabidgrem...@gmail.com>
Subject Broker URI not working under jdk1.4.2
Date Wed, 30 Aug 2006 04:13:32 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message