thank you ,the 'xfire''s question is sloved,but the second question i think maybe i load the error path's servicemix.xml ,in src,which servicemix.xml i use eclipse to load in argument?how do i set eclipse debug argument to let servicemix run in it ,i 'm not debug step into,i use step-to-step to find this error.
Loading ServiceMix from file: E:\servicemix-2.0.2-src\servicemix-2.0.2\src\release\conf\servicemix.xml
Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionContextManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in file [E:\servicemix-2.0.2-src\servicemix-2.0.2\src\release\conf\servicemix.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionContextManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in file [E:\servicemix-2.0.2-src\servicemix-2.0.2\src\release\conf\servicemix.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in file [E:\servicemix-2.0.2-src\servicemix-2.0.2\src\release\conf\servicemix.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:160)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:160)
at org.activemq.spring.ActiveMQBeanFactory.<init>(ActiveMQBeanFactory.java:86)
at org.activemq.spring.ActiveMQBeanFactory.<init>(ActiveMQBeanFactory.java:57)
at org.activemq.spring.SpringBrokerContainerFactory.createBrokerContainer(SpringBrokerContainerFactory.java:86)
at org.activemq.spring.SpringBrokerContainerFactory.newInstance(SpringBrokerContainerFactory.java:56)
at org.activemq.spring.SpringBrokerContainerFactory.newInstance(SpringBrokerContainerFactory.java:47)
at org.activemq.spring.BrokerFactoryBean.afterPropertiesSet(BrokerFactoryBean.java:52)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)
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)
at org.springframework.beans.factory.support.AbstractBeanFactory.getType(AbstractBeanFactory.java:342)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.isBeanTypeMatch(DefaultListableBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:144)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:198)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:192)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:606)
at org.jencks.factory.TransactionContextManagerFactoryBean.getTransactionManager(TransactionContextManagerFactoryBean.java:81)
at org.jencks.factory.TransactionContextManagerFactoryBean.getObject(TransactionContextManagerFactoryBean.java:56)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForSharedInstance(AbstractBeanFactory.java:806)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:271)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:48)
at org.servicemix.Main.main(Main.java:76)
Sent from the servicemix - dev forum at Nabble.com:
Re: debug from servicemix
- [servicemix-dev] debug from servicemix nintha (sent by Nabble.com)
- Re: [servicemix-dev] debug from servicemi... Guillaume Nodet
- [servicemix-dev] Re: debug from servi... nintha (sent by Nabble.com)
