Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 46012 invoked from network); 10 Mar 2009 21:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2009 21:50:14 -0000 Received: (qmail 98717 invoked by uid 500); 10 Mar 2009 21:50:14 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 98629 invoked by uid 500); 10 Mar 2009 21:50:14 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 98618 invoked by uid 99); 10 Mar 2009 21:50:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 14:50:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 21:50:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7034C234C003 for ; Tue, 10 Mar 2009 14:49:50 -0700 (PDT) Message-ID: <1583258533.1236721790452.JavaMail.jira@brutus> Date: Tue, 10 Mar 2009 14:49:50 -0700 (PDT) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-2085) Applications classloader should be set during method invocations. In-Reply-To: <483673137.1236177836938.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin reassigned CXF-2085: ------------------------------------- Assignee: Sergey Beryozkin > Applications classloader should be set during method invocations. > ----------------------------------------------------------------- > > Key: CXF-2085 > URL: https://issues.apache.org/jira/browse/CXF-2085 > Project: CXF > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Chaitanya Choleti > Assignee: Sergey Beryozkin > Fix For: 2.2 > > Attachments: cl_test.war, new_cl_test.war, new_sources.zip, sources.zip > > > Invocation of a JAX-RS method may depend on some application classes which may not be loaded already, they will be loaded during invocation. But during invocation the classloader will be CXF war application classloader, this will lead to NoClassDefFoundErrors. To avoid this root resource class' classloader should be set on the current thread. > Similar fix should be applied to provider methods such as readFrom, writeTo etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.