You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/07/09 11:20:07 UTC
[jira] Commented: (CAMEL-1814) Missing debug.xml in 2.0-M2
[ https://issues.apache.org/activemq/browse/CAMEL-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52763#action_52763 ]
Claus Ibsen commented on CAMEL-1814:
------------------------------------
And the -t option for trace should be fixed so you can use it from ANT again.
> Missing debug.xml in 2.0-M2
> ---------------------------
>
> Key: CAMEL-1814
> URL: https://issues.apache.org/activemq/browse/CAMEL-1814
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.0-M2
> Environment: Linux and Windows
> Reporter: Terry jeske
> Assignee: Claus Ibsen
> Fix For: 2.0.0
>
>
> I get the following error trying to run camel from ant with the debug arg. I checked and debug.xml is indeed missing from the 2.0-M2 release. (trace.xml is missing as well).
> Adding java] [ main] MainSupport INFO Apache Camel 2.0-M2 starting
> [java] [ main] ClassPathXmlApplicationContext INFO Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@253498: display name [org.spri
> ngframework.context.support.ClassPathXmlApplicationContext@253498]; startup date [Wed Jul 08 14:45:33 PDT 2009]; root of context hierarchy
> [java] [ main] XmlBeanDefinitionReader INFO Loading XML bean definitions from class path resource [META-INF/services/org/apache/camel/spring/debug.xml]
> [java] [ main] MainSupport INFO Apache Camel 2.0-M2 stopping
> [java] [ main] MainSupport ERROR Failed: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document fro
> m class path resource [META-INF/services/org/apache/camel/spring/debug.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/services/org/apache/camel/spring
> /debug.xml] cannot be opened because it does not exist
> [java] org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/services/org/apache/camel/spring/debug.xml]; n
> ested exception is java.io.FileNotFoundException: class path resource [META-INF/services/org/apache/camel/spring/debug.xml] cannot be opened because it does not exist
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> [java] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
> [java] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80)
> [java] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
> [java] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
> [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
> [java] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> [java] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
> [java] at org.apache.camel.spring.Main.getParentApplicationContext(Main.java:159)
> [java] at org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:227)
> [java] at org.apache.camel.spring.Main.doStart(Main.java:185)
> [java] at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> [java] at org.apache.camel.impl.MainSupport.run(MainSupport.java:120)
> [java] at org.apache.camel.impl.MainSupport.run(MainSupport.java:298)
> [java] at org.apache.camel.spring.Main.main(Main.java:97)
> [java] Caused by: java.io.FileNotFoundException: class path resource [META-INF/services/org/apache/camel/spring/debug.xml] cannot be opened because it does not exist
> [java] at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
> [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.