Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20F77200C0A for ; Fri, 13 Jan 2017 11:08:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1F9C4160B54; Fri, 13 Jan 2017 10:08:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69443160B3F for ; Fri, 13 Jan 2017 11:08:29 +0100 (CET) Received: (qmail 26777 invoked by uid 500); 13 Jan 2017 10:08:28 -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 26764 invoked by uid 99); 13 Jan 2017 10:08:28 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 10:08:28 +0000 Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7D88525284 for ; Fri, 13 Jan 2017 10:08:26 +0000 (UTC) Date: Fri, 13 Jan 2017 10:08:26 +0000 (UTC) From: "Andrea Cosentino (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10701) Classloader issue prevents from loading kafka authentication in OSGi environments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 10:08:30 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-10701: ------------------------------------- Fix Version/s: 2.19.0 2.18.2 > Classloader issue prevents from loading kafka authentication in OSGi environments > --------------------------------------------------------------------------------- > > Key: CAMEL-10701 > URL: https://issues.apache.org/jira/browse/CAMEL-10701 > Project: Camel > Issue Type: Bug > Components: camel-kafka > Reporter: Antoine DESSAIGNE > Assignee: Andrea Cosentino > Fix For: 2.18.2, 2.19.0 > > > Previously, KAFKA-3218 prevented from loading properly Kafka in an OSGi environment. There is a workaround to this bug in camel-kafka. > Unfortunatly, now that they have fixed the bug, this workaround prevents from loading SASL authentication settings in OSGi environments. The bug was fixed in Kafka 0.10.1.0 and camel uses this version in the 2.18.x branch. > {noformat} > Caused by: javax.security.auth.login.LoginException: classe LoginModule introuvable : org.apache.kafka.common.security.plain.PlainLoginModule > at javax.security.auth.login.LoginContext.invoke(LoginContext.java:794) > at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) > at javax.security.auth.login.LoginContext.login(LoginContext.java:587) > at org.apache.kafka.common.security.authenticator.AbstractLogin.login(AbstractLogin.java:69) > at org.apache.kafka.common.security.authenticator.LoginManager.(LoginManager.java:46) > at org.apache.kafka.common.security.authenticator.LoginManager.acquireLoginManager(LoginManager.java:68) > at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:78) > ... 29 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)