Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E86B9533 for ; Tue, 21 Feb 2012 08:18:56 +0000 (UTC) Received: (qmail 20941 invoked by uid 500); 21 Feb 2012 08:18:55 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 20907 invoked by uid 500); 21 Feb 2012 08:18:55 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 20900 invoked by uid 99); 21 Feb 2012 08:18:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 08:18:55 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 08:18:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 507F63142B7 for ; Tue, 21 Feb 2012 08:18:34 +0000 (UTC) Date: Tue, 21 Feb 2012 08:18:34 +0000 (UTC) From: "Claus Ibsen (Commented) (JIRA)" To: issues@camel.apache.org Message-ID: <1815710835.5081.1329812314331.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1177572049.45012.1329373619404.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-5010) Remove OSGi environment detection logging from camel-spring MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212447#comment-13212447 ] Claus Ibsen commented on CAMEL-5010: ------------------------------------ I have seen a lot of weird OSGi crapola over the times, but this one beats them all. I have not see any other OSGi framework have to do tricks like this to just work. And if its really needed, then code comments must be in place stating, why this weird code must be in place. The BlueprintCamelContext does not have the need for this weird code. > Remove 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