camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (Reopened) (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CAMEL-5010) Renove OSGi environment detection logging from camel-spring
Date Mon, 20 Feb 2012 17:17:35 GMT

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

Raul Kripalani reopened CAMEL-5010:
-----------------------------------


This fix breaks OSGi compatibility on Karaf 2.2.5 (and probably lower). Current HEAD of trunk,
revision 1291263. The code deleted by this commit loaded the {{org.apache.camel.osgi.CamelContextFactoryBean}}
class and then registered it. Due to a wrong import, it is now loading {{org.apache.camel.*spring*.CamelContextFactoryBean}}
instead. As a result, Camel is unable to resolve components, languages, etc. from the OSGi
environment.

I will attach a patch.
                
> Renove OSGi environment detection logging from camel-spring
> -----------------------------------------------------------
>
>                 Key: CAMEL-5010
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5010
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.1, 2.10.0
>
>
> In the old days when using OSGi and Camel it was sometime tricky to get the stuff working
and running correctly. So we had some logic to detect if OSGi environment. We have some left
over code in camel-spring that logs this. We should now remove this as it does not offer any
value.
> And also causes a WARN to be logged in JBoss7 that may confuse users, when using Camel
as a WAR app in JBoss.
> http://camel.465427.n5.nabble.com/Camel-2-9-0-startup-error-message-ClassNotFoundException-org-osgi-framework-BundleActivator-tp5133932p5133932.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message