Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 98798 invoked from network); 19 Sep 2006 16:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 16:52:14 -0000 Received: (qmail 46804 invoked by uid 500); 19 Sep 2006 16:52:14 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 46722 invoked by uid 500); 19 Sep 2006 16:52:13 -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 46713 invoked by uid 99); 19 Sep 2006 16:52:13 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 09:52:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([72.21.53.35:33797] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 23/14-28275-93020154 for ; Tue, 19 Sep 2006 09:52:09 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GPipL-0007Fr-Ef for activemq-users@geronimo.apache.org; Tue, 19 Sep 2006 09:52:07 -0700 Message-ID: <6392424.post@talk.nabble.com> Date: Tue, 19 Sep 2006 09:52:07 -0700 (PDT) From: Adrian Co To: activemq-users@geronimo.apache.org Subject: Re: ClassNotFoundException when loading config file In-Reply-To: <6388881.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aco@exist.com References: <6369038.post@talk.nabble.com> <6384462.post@talk.nabble.com> <6388881.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Could you try moving the xmlns="http://activemq.org/config/1.0" to the broker element. i.e. ... com.tibco.tibjms.naming.TibjmsInitialContextFactory tibjmsnaming://:7222 GregC wrote: > > Sure. Here is the complete file. I've trimmed it down to the minimal file > that still causes the CNF exception: > > > > > > > > key="java.naming.factory.initial">com.tibco.tibjms.naming.TibjmsInitialContextFactory > key="java.naming.provider.url">tibjmsnaming://:7222 > > > > > > > > > > > Adrian Co wrote: >> >> Hi, >> >> Could you post the complete xml file? >> >> Wonder if this is a namespace issue. >> >> >> >> GregC wrote: >>> >>> Hello, >>> >>> I am trying to run activemq with the following bean added to the >>> activemq.xml config file: >>> >>> >>> >>> >>> >> key="java.naming.factory.initial">com.tibco.tibjms.naming.TibjmsInitialContextFactory >>> tibjmsnaming://>> name>:7222 >>> >>> >>> >>> >>> This is part of the configuration for the JMS-JMS Bridge, as specified >>> on the ActiveMQ web site. When I run the bin/activemq script with this >>> configuration in place, I get the following error: >>> >>> ACTIVEMQ_HOME: /home/user/dl/incubator-activemq-4.0.1 >>> Loading message broker from: xbean:activemq.xml >>> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: >>> org.springframework.beans.factory.BeanDefinitionStoreException: Error >>> registering bean with name '' defined in class path resource >>> [activemq.xml]: Bean class [props] not found; nested exception is >>> java.lang.ClassNotFoundException: props >>> ERROR: java.lang.Exception: >>> org.springframework.beans.factory.BeanDefinitionStoreException: Error >>> registering bean with name '' defined in class path resource >>> [activemq.xml]: Bean class [props] not found; nested exception is >>> java.lang.ClassNotFoundException: props >>> >>> >>> Suggestions, anyone? >>> >>> Thanks, >>> >>> Greg >>> >> >> > > -- View this message in context: http://www.nabble.com/ClassNotFoundException-when-loading-config-file-tf2292903.html#a6392424 Sent from the ActiveMQ - User mailing list archive at Nabble.com.