activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Richter <ng...@comcast.net>
Subject Failed to create Registry on start
Date Mon, 10 Sep 2007 20:10:52 GMT
Hi-

I get the following error whenever I start ActiveMQ.

It appears there is a hard-coded magic reference to  
"mx4j.tools.naming.NamingService" at line 369 in  
ManagementContext#createConnector.

Is there something missing in the build?

Thanks.


2007-09-10 15:58:14,102 [main           ] DEBUG  
ManagementContext              - Failed to create local registry
java.lang.ClassNotFoundException: mx4j.tools.naming.NamingService
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:164)
	at org.apache.activemq.broker.jmx.ManagementContext.createConnector 
(ManagementContext.java:369)
	at org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer 
(ManagementContext.java:293)
	at org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer 
(ManagementContext.java:148)
	at  
org.apache.activemq.broker.BrokerService.registerNetworkConnectorMBean 
(BrokerService.java:1264)
	at org.apache.activemq.broker.BrokerService.addNetworkConnector 
(BrokerService.java:312)
	at org.apache.activemq.broker.BrokerService.setNetworkConnectors 
(BrokerService.java:920)
	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:585)
	at org.springframework.beans.BeanWrapperImpl.setPropertyValue 
(BeanWrapperImpl.java:821)
	at org.springframework.beans.BeanWrapperImpl.setPropertyValue 
(BeanWrapperImpl.java:645)
	at  
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues 
(AbstractPropertyAccessor.java:78)
	at  
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues 
(AbstractPropertyAccessor.java:59)
	at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
	at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
	at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.createBean(AbstractAutowireCapableBeanFactory.java:421)
	at org.springframework.beans.factory.support.AbstractBeanFactory 
$1.getObject(AbstractBeanFactory.java:251)
	at  
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g 
etSingleton(DefaultSingletonBeanRegistry.java:156)
	at  
org.springframework.beans.factory.support.AbstractBeanFactory.getBean 
(AbstractBeanFactory.java:248)
	at  
org.springframework.beans.factory.support.AbstractBeanFactory.getBean 
(AbstractBeanFactory.java:160)
	at  
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre 
InstantiateSingletons(DefaultListableBeanFactory.java:287)
	at  
org.springframework.context.support.AbstractApplicationContext.refresh 
(AbstractApplicationContext.java:352)
	at  
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init> 
(ResourceXmlApplicationContext.java:64)
	at  
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init> 
(ResourceXmlApplicationContext.java:52)
	at  
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext 
(XBeanBrokerFactory.java:91)
	at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker 
(XBeanBrokerFactory.java:51)
	at org.apache.activemq.broker.BrokerFactory.createBroker 
(BrokerFactory.java:71)
	at org.apache.activemq.broker.BrokerFactory.createBroker 
(BrokerFactory.java:54)
	at org.apache.activemq.console.command.StartCommand.startBroker 
(StartCommand.java:112)
	at org.apache.activemq.console.command.StartCommand.runTask 
(StartCommand.java:74)
	at org.apache.activemq.console.command.AbstractCommand.execute 
(AbstractCommand.java:51)
	at org.apache.activemq.console.command.ShellCommand.runTask 
(ShellCommand.java:104)
	at org.apache.activemq.console.command.AbstractCommand.execute 
(AbstractCommand.java:51)
	at org.apache.activemq.console.command.ShellCommand.main 
(ShellCommand.java:76)
	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:585)
	at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
	at org.apache.activemq.console.Main.main(Main.java:106)

--
Daryl
http://itsallsemantics.com



Mime
View raw message