Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 11492 invoked from network); 26 Oct 2009 20:33:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Oct 2009 20:33:25 -0000 Received: (qmail 10214 invoked by uid 500); 26 Oct 2009 20:33:24 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 10186 invoked by uid 500); 26 Oct 2009 20:33:24 -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 10176 invoked by uid 99); 26 Oct 2009 20:33:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 20:33:24 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Mon, 26 Oct 2009 20:33:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70E39234C1F1 for ; Mon, 26 Oct 2009 13:33:02 -0700 (PDT) Message-ID: <1046887581.1256589182459.JavaMail.jira@brutus> Date: Mon, 26 Oct 2009 20:33:02 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-1182) org.apache.cxf.bus.extension.DeferredMap::undefer causes all configuration to be lost when not using 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/CXF-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-1182. ------------------------------ Resolution: Fixed Fix Version/s: 2.3 Assignee: Daniel Kulp > org.apache.cxf.bus.extension.DeferredMap::undefer causes all configuration to be lost when not using Spring > ----------------------------------------------------------------------------------------------------------- > > Key: CXF-1182 > URL: https://issues.apache.org/jira/browse/CXF-1182 > Project: CXF > Issue Type: Bug > Components: Configuration > Affects Versions: 2.0.2 > Environment: Tomcat 5.5 > Reporter: Damien B > Assignee: Daniel Kulp > Fix For: 2.3 > > > While trying to use "Publishing an endpoint with the API" ( http://cwiki.apache.org/CXF20DOC/servlet-transport.html ) under Tomcat, it fails with the following problem (with a modified CXFServlet): > - CXFServlet loads, create a bus = BusFactory.newInstance()).createBus() with the default parameters (Jetty for the transports) > - the transports are correctly registered in CXFServlet::replaceDestinationFactory (ServletTransportFactory instead of Jetty) > - while publishing the "/Greeter" endpoint, DestinationFactoryManagerImpl::getDestinationFactoryForUri fails to find a matching prefix with the registered ServletTransportFactory > - then it calls ((DeferredMap)destinationFactories).undefer(), and tries again > - undefer in turn calls the ExtensionManagerImpl, which reloads the default configuration: Jetty comes back, and the ServletTransportFactory is lost for good -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.