You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/07/14 15:06:00 UTC

[jira] Created: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-716
                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: James Strachan
             Fix For: 1.5.0


See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

Posted by "Aaron Mulder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44263#action_44263 ] 

Aaron Mulder commented on CAMEL-716:
------------------------------------

For missing script engines and/or springing languages, I think you get an error like "no scripting language 'ruby' found" so we'd want to look for that in addition to the ClassNotFoundException.  Hopefully we could catch all uses of a missing scripting language in ScriptBuilder somewhere.

> can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-716
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>             Fix For: 1.5.0
>
>
> See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-716.
--------------------------------

    Resolution: Fixed

Just committed the patch of the better logging for the script engines's ClassNotFoundException and the camel component's NoSuchEndpointException.
For the NoClassDefError when trying to load Type converter, it not easy to go through the Maven's pom.xml for the who dependency jars looking up, 
I just close this issue, current better logging solution is enough for us the detect this kind of  class path issue.

> can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-716
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.0
>
>
> See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-716 started by Willem Jiang.

> can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-716
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.0
>
>
> See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45363#action_45363 ] 

Claus Ibsen commented on CAMEL-716:
-----------------------------------

The same for endpoints as well. If you have a route with "from("jetty:http://...").process(...) and you forget to add camel-jetty to the classpath.

Maybe camel could do someting smarter and give a better fedback, that you might have forgot a "camel-XXX" on the classpath.

> can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-716
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>             Fix For: 1.5.0
>
>
> See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-716) can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-716:
----------------------------------

    Assignee: Willem Jiang

> can we catch NoClassDefError when trying to load Type converter implementations and try log a better warning about a missing dependency
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-716
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-716
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.0
>
>
> See the discussion: http://www.nabble.com/Why-some-jars-are-not-part-of-the-Camel-1.4-snapshot-distribution---td18401236s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.