Service Mix Version: 2.0.2
Servicemix-war version: 2.1-SNAPSHOT
Tomcat version 5.5.9

I have downloaded the latest tooling source from apache and built the war using 
maven. This all works :)

However it does not deploy correctly as there are some spring 
applicationcontext.xml errors. The first one is that it still refers to the 
BrokerFactoryBean by the old package name, i.e., 
org.activemq.spring.BrokerFactoryBean, which should be 
org.activemq.xbean.BrokerFactoryBean for the 4.0-snapshot version of activemq.

This I have fixed, but I now get other errors and wondered if anyone had a 
patched version of the applicationcontext.xml that works that I could have?

Thanks in advance,

Tim Tennant

FYI: The tomcat deployment errors are listed below:

INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory
.support.DefaultListableBeanFactory defining beans [derby-ds,mysql-ds]; 
root of BeanFactory hierarchy]
16-Dec-2005 13:49:31 org.springframework.beans.factory.support
.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory
.support.DefaultListableBeanFactory defining beans [jbi,jencks,broker,
transactionManager,jmsFactory]; root of BeanFactory hierarchy}
16-Dec-2005 13:49:31 org.springframework.web.context.ContextLoader 
initWebApplicationContext
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.servicemix.components.jms.JmsInUsingJCABinding#1cab18' defined in
 ServletContext resource [/WEB-INF/applicationContext.xml]: Can't resolve 
 reference to bean 'jencks' while setting property 'jcaContainer'; nested 
 exception is org.springframework.beans.factory.BeanCreationException: Error 
 creating bean with name 'org.jencks.factory.BootstrapContextFactoryBean#b3a5a0'
 : FactoryBean threw exception on object creation; nested exception is 
 org.springframework.beans.factory.BeanCreationException: Error creating bean 
 with name 'broker' defined in ServletContext resource 
 [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested 
 exception is java.lang.IllegalArgumentException: The configuration has no 
 BrokerService instance for resource: ServletContext resource 
 [/WEB-INF/activemq.xml]
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.jencks.factory.BootstrapContextFactoryBean#b3a5a0': FactoryBean 
threw exception on object creation; nested exception is org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'broker' 
defined in ServletContext resource [/WEB-INF/applicationContext.xml]: 
Initialization of bean failed; nested exception is java.lang
.IllegalArgumentException: The configuration has no BrokerService instance for 
resource: ServletContext resource [/WEB-INF/activemq.xml]
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'broker' defined in ServletContext resource 
[/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested 
exception is java.lang.IllegalArgumentException: The configuration has no 
BrokerService instance for resource: ServletContext resource 
[/WEB-INF/activemq.xml]
java.lang.IllegalArgumentException: The configuration has no BrokerService 
instance for resource: ServletContext resource [/WEB-INF/activemq.xml]
            at org.activemq.xbean.BrokerFactoryBean.afterPropertiesSet
            (BrokerFactoryBean.java:98)
            at org.springframework.beans.factory.support
            .AbstractAutowireCapableBeanFactory.invokeInitMethods
            (AbstractAutowireCapableBeanFactory.java:1059)
            at org.springframework.beans.factory.support
            .AbstractAutowireCapableBeanFactory.createBean
            (AbstractAutowireCapableBeanFactory.java:363)
            at org.springframework.beans.factory.support.AbstractBeanFactory
            .getBean(AbstractBeanFactory.java:226)
            at org.springframework.beans.factory.support.AbstractBeanFactory
            .getBean(AbstractBeanFactory.java:147)
...
16-Dec-2005 13:49:31 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
16-Dec-2005 13:49:31 org.apache.catalina.core.StandardContext start
SEVERE: Context [/servicemix-web-2.1-SNAPSHOT] startup failed due to previous 
errors


Reply via email to