activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Borja" <adbo...@gmail.com>
Subject Re: Exception when running an embedded broker under java 1.4
Date Fri, 23 Feb 2007 19:12:50 GMT
Hi ...

you need to download and set classpath with the mx4j jars:

http://sourceforge.net/project/showfiles.php?group_id=47745

bye ...



On 2/22/07, osian <osian@osian.me.uk> wrote:
>
>
> Hi all,
>
> I am getting the following exception when running ActiveMQ4.1 under java
> 1.4.2_06
>
> java.lang.NoClassDefFoundError: javax/management/remote/JMXServiceURL
>         at
> org.apache.activemq.broker.jmx.ManagementContext.createConnector(
> ManagementContext.java:403)
>         at
> org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer(
> ManagementContext.java:301)
>         at
> org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer(
> ManagementContext.java:154)
>         at
> org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java
> :1228)
>         at
> org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:508)
>         at
> org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java
> :163)
>         at
> org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java
> :153)
>         at
> net.proact.scm.standalonejms.Application.<init>(Application.java:88)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
> NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at java.lang.Class.newInstance0(Class.java:308)
>         at java.lang.Class.newInstance(Class.java:261)
>         at
> com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
>         at
> net.proact.scm.standalonejms.Application.main(Application.java:142)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
>
> I have searched on google, and have added the latest mx4j jar to the path,
> but this exception is still thrown, the broker does start up, but with
> these
> exceptions in the log.  If anyone knows of how to get the jar that
> contains
> this class, I would be very greatful,
>
> Thanks,
> Osian
> --
> View this message in context:
> http://www.nabble.com/Exception-when-running-an-embedded-broker-under-java-1.4-tf3272993s2354.html#a9100592
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

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