activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ming616 <ming...@gmail.com>
Subject How to deal with this old problem?
Date Fri, 04 Aug 2006 07:01:22 GMT

How to deal with this old problem?

I tried (activemq4.0.1.jar+spring1.2.8.jar + xbean-spring2.2.jar) and 
(activemq4.1-snapshot.jar+spring2.0-rc3.jar + xbean-spring2.5.jar) to load
embeded broker in spring.
Both got this problem, I also tried any explain in this forum. The result is
same. I am tired ,please 
give me a help, thanks a lot!

Problem is :
 [java] 14:50:04 INFO  Unable to locate MessageSource with name
'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@f0eed6]
     [java] 14:50:04 DEBUG Creating [java.util.LinkedHashSet]
     [java] Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'broker' defined in class path resource [applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.IllegalArgumentException: The configuration has no BrokerService
instance for resource: class path resource [activemq.xml]
     [java] java.lang.IllegalArgumentException: The configuration has no
BrokerService instance for resource: class path resource [activemq.xml]
     [java] at
org.apache.activemq.xbean.BrokerFactoryBean.afterPropertiesSet(BrokerFactoryBean.java:97)
     [java] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
     [java] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
     [java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
     [java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
     
-- 
View this message in context: http://www.nabble.com/How-to-deal-with-this-old-problem--tf2049645.html#a5645665
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message