camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-1814) Missing debug.xml in 2.0-M2
Date Thu, 09 Jul 2009 09:20:07 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-1814.
--------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.0.0
         Assignee: Claus Ibsen

CAMEL-1815

Debugger is removed in 2.0. And marked as @deprecated in 1.x.

You can instead use
- Tracer
- Interceptor
- Add you own InterceptStrategy where you can do your own debugging


And for a debugger use something like the FUSE Integration Designer that has a real Camel
debugger.


> 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.


Mime
View raw message