activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From osian <os...@osian.me.uk>
Subject Exception when running an embedded broker under java 1.4
Date Thu, 22 Feb 2007 10:27:11 GMT

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-tf3271977s2354.html#a9097405
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message