activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: Broker URI not working under jdk1.4.2
Date Wed, 30 Aug 2006 05:22:07 GMT
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
>


Mime
View raw message