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 2008/11/15 10:21:05 UTC

[jira] Commented: (CAMEL-1092) core\src\main\java\org\apache\camel\util\ResolverUtil.java has dependency on OSGi Bundle class

    [ https://issues.apache.org/activemq/browse/CAMEL-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47405#action_47405 ] 

Claus Ibsen commented on CAMEL-1092:
------------------------------------

Seumas do you run it in an OSGi platform?

The imports for OSGi bundle classes should only kick in if Camel have determine that the classloader is a OSGi bundle loader.

You can enable TRACE logging (eg Log4j set level to TRACE) and it will spit out a lot of useful logs for Hadrian to check out.

BTW: I am wondering if we should add somekind of flag to control this behavior so you can force it to not scan OSGi bundles. And Gerv has some ideas to improve the OSGi stuff for 2.0.
There is another ticket somewehere about this.

> core\src\main\java\org\apache\camel\util\ResolverUtil.java has dependency on OSGi Bundle class
> ----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1092
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1092
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.1
>            Reporter: Seumas Soltysik
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.1
>
>
> When running a Camel router scenario, I am getting a ClassNotFoundError  for the OSGi Bundle class from the ResolverUtil class. It seems like this code should be in the camel-osgi bundle or perhaps should be more reflection based.

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