Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 76336 invoked from network); 8 Jun 2006 12:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 12:59:11 -0000 Received: (qmail 76621 invoked by uid 500); 8 Jun 2006 12:59:11 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 76601 invoked by uid 500); 8 Jun 2006 12:59:10 -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 76591 invoked by uid 99); 8 Jun 2006 12:59:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 05:59:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 05:59:09 -0700 Received: by ug-out-1314.google.com with SMTP id o2so781266uge for ; Thu, 08 Jun 2006 05:58:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D8M9IBTmgnAWyYt+wjnJCn0JnZASyBQE6YcYTZ7dTSKOtwSk8xsJHb09+/6QgwWIPyBdlJ/d3SUu+dC/Az/EjQ9CxunZEYItTyTgXAcW++ZadgFRi5koomAYktQlb4E/YQS0/0pM60ezC5bmoQU2EyqkPulSwdnqtPHMVnEzb/I= Received: by 10.67.101.10 with SMTP id d10mr1512271ugm; Thu, 08 Jun 2006 05:58:48 -0700 (PDT) Received: by 10.66.255.17 with HTTP; Thu, 8 Jun 2006 05:58:48 -0700 (PDT) Message-ID: Date: Thu, 8 Jun 2006 13:58:48 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: running broker and classpath problem In-Reply-To: <4770965.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4770965.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/8/06, massive.boisson wrote: > > Hi, > > I want to run a standalone broker without having installed activeMQ. This is > so that other people in my company can take out code from cvs, and simply > run some ant script I prepared. > > So, I have in my lib dir 3 files: > incubator-activemq-4.0.jar > spring-1.2.6.jar > xbean-spring-2.2.jar > > and I am doing this: > java -classpath > d:\lib\incubator-activemq-4.0.jar;d:\lib\spring-1.2.6.jar;d:\lib\xbean-spring-2.2.jar; > -jar incubator-activemq-4.0.jar start xbean:activemq.xml > > I get this: > ACTIVEMQ_HOME: . > Loading message broker from: xbean:activemq.xml > ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: > java.io.IOException: Could load xbean > factory:java.lang.NoClassDefFoundError: > org/springframework/beans/BeansException > ERROR: java.lang.Exception: java.io.IOException: Could load xbean > factory:java.lang.NoClassDefFoundError: > org/springframework/beans/BeansException > > Anyone knows what the problem is? > org/springframework/beans/BeansException is in sping jar and which is in > classpath. Spring has a lovely habit of wrapping exceptions so am wondering if the real NoClassDefFoundError cause is further down in the stack trace - I wonder could you include the entire stack trace please? -- James ------- http://radio.weblogs.com/0112098/