On Jun 30, 2009, at 6:13 AM, CheFu wrote:
Im trying to deploy an embedded broker using
openejb-tomcat-webapp-3.1.2-SNAPSHOT over a tomcat server.
When server is loading, there is an exception saying:
"OpenEJB.startup": OpenEJB has encountered a fatal error and cannot be
started: Assembler failed to build the container system.
org.apache.openejb.OpenEJBException:
javax.resource.spi.ResourceAdapterInternalException: Failed to
startup an
embedded broker: xbean:file:myActivemq.xml, due to:
java.io.IOException:
Could load xbean factory:java.lang.NoClassDefFoundError:
org/springframework/beans/BeansException: Failed to startup an
embedded
broker:
xbean:file:/opt/GEREMIAS_Agenda2.0/instancias-tomcat/grm-generico/
conf/activemq.xml,
due to: java.io.IOException: Could load xbean
factory:java.lang.NoClassDefFoundError:
org/springframework/beans/BeansException
I have checked lib directory on openejb but there isnt a .jar file
containing this class. But in openejb-3.1 there is a spring2.0.jar
file
containing BeansException. ¿ Is there any reason to erease this jar
file in
3.1.2 ? Can any body check this out ?
Hola Chema,
We've never included xbean-spring or spring in our release binaries;
just double checked everything since 3.0-beta-1 to be sure. My guess
is that these libraries were added to your current 3.1 setup some
point and could be moved over to the 3.1.2-SNAPSHOT setup.
To hopefully make it easier to figure out which jars have been added
and which were shipped with openejb in your 3.1 install, I've done a
jar listing on all of our zips/wars for you:
http://people.apache.org/~dblevins/jarlist/
If you let us know which xbean-spring related jars you needed to run
ActiveMQ's "xbean:" broker configuration, we can add those details to
this page:
http://openejb.apache.org/3.0/mdb-container.html
Hope this helps!
-David