You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Vijay <vi...@gmail.com> on 2011/09/07 16:09:15 UTC

Could not find resource errors on AMQ startup

I get following error while starting Activemq.


This is how I am starting AMQ:

                        String activeMQConfig="conf/activemq-master.xml";
			BrokerFactoryBean brokerFactory = new BrokerFactoryBean(new
FileSystemResource(activeMQConfig));
			brokerFactory.afterPropertiesSet();
			broker = brokerFactory.getBroker();
			broker.start();


2011-09-07 14:05:07.916 INFO  [main] Initializing ActiveMQ with config
:conf/activemq-master.xml
2011-09-07 14:05:08.057 INFO  [main] Refreshing
org.apache.xbean.spring.context.ResourceXmlApplicationContext@58d7c2:
startup date [Wed Sep 07 
10:05:08 EDT 2011]; root of context hierarchy
JRebel-Spring: Monitoring Spring bean definitions in
'conf\activemq-master.xml'.
2011-09-07 14:05:08.276 INFO  [main] Loading XML bean definitions from file
[C:\VijayPC\Workspace\2.1.0\ALUAdapterDev\conf\activemq-master.xml]
2011-09-07 14:05:08.447 DEBUG [main] Loading bean definitions
2011-09-07 14:05:08.463 DEBUG [main] Loaded NamespaceHandler mappings:
{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://www.springframework.org/schema/cache=org.springframework.cache.config.CacheNamespaceHandler,
http://activemq.apache.org/schema/core=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/c=org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://www.springframework.org/schema/jms=org.springframework.jms.config.JmsNamespaceHandler,
http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler,
http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler,
http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
2011-09-07 14:05:08.479 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/broker
2011-09-07 14:05:08.526 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/policyMap
2011-09-07 14:05:08.526 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/policyEntry
2011-09-07 14:05:08.541 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/vmCursor
2011-09-07 14:05:08.557 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/policyEntry
2011-09-07 14:05:08.557 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/kahaDB
2011-09-07 14:05:08.572 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/loggingBrokerPlugin
2011-09-07 14:05:08.588 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/timeStampingBrokerPlugin
2011-09-07 14:05:08.588 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/traceBrokerPathPlugin
2011-09-07 14:05:08.604 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/systemUsage
2011-09-07 14:05:08.604 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/memoryUsage
2011-09-07 14:05:08.604 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/storeUsage
2011-09-07 14:05:08.604 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/tempUsage
2011-09-07 14:05:08.604 DEBUG [main] Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/transportConnector
2011-09-07 14:05:08.619 DEBUG [main] Bean factory for
org.apache.xbean.spring.context.ResourceXmlApplicationContext@58d7c2:
org.springframework.beans.factory.support.DefaultListableBeanFactory@15daa9e:
defining beans
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.apache.activemq.xbean.XBeanBrokerService#0];
root of factory hierarchy
2011-09-07 14:05:08.666 DEBUG [main] Unable to locate MessageSource with
name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@ef9525]
2011-09-07 14:05:08.682 DEBUG [main] Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@1566060]
2011-09-07 14:05:09.822 DEBUG [main] Page File:
activemq\master\data\kahadb\db.data, Recovering page file...

--
View this message in context: http://activemq.2283324.n4.nabble.com/Could-not-find-resource-errors-on-AMQ-startup-tp3796187p3796187.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Could not find resource errors on AMQ startup

Posted by Vijay <vi...@gmail.com>.
Can anyone have any views on this?

--
View this message in context: http://activemq.2283324.n4.nabble.com/Could-not-find-resource-errors-on-AMQ-startup-tp3796187p3799133.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.