Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 44053 invoked from network); 4 Aug 2006 07:01:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2006 07:01:45 -0000 Received: (qmail 41222 invoked by uid 500); 4 Aug 2006 07:01:44 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 41030 invoked by uid 500); 4 Aug 2006 07:01:44 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 41021 invoked by uid 99); 4 Aug 2006 07:01:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 00:01:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 00:01:43 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G8tgQ-0003te-EJ for activemq-users@geronimo.apache.org; Fri, 04 Aug 2006 00:01:22 -0700 Message-ID: <5645665.post@talk.nabble.com> Date: Fri, 4 Aug 2006 00:01:22 -0700 (PDT) From: ming616 To: activemq-users@geronimo.apache.org Subject: How to deal with this old problem? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: ming616@gmail.com X-Nabble-From: ming616 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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.3.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.