activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "massive.boisson" <massive.bois...@gmail.com>
Subject running broker and classpath problem
Date Thu, 08 Jun 2006 12:03:45 GMT

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.

Any hints?


Thanks,
--MB
--
View this message in context: http://www.nabble.com/running-broker-and-classpath-problem-t1754665.html#a4770965
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message