activemq-users mailing list archives

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

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