Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4849E722F for ; Mon, 19 Dec 2011 22:27:55 +0000 (UTC) Received: (qmail 34975 invoked by uid 500); 19 Dec 2011 22:27:55 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 34936 invoked by uid 500); 19 Dec 2011 22:27:55 -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 34928 invoked by uid 99); 19 Dec 2011 22:27:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 22:27:55 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD 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; Mon, 19 Dec 2011 22:27:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C216011C76C for ; Mon, 19 Dec 2011 22:27:30 +0000 (UTC) Date: Mon, 19 Dec 2011 22:27:30 +0000 (UTC) From: "Dhawalpatel (Commented) (JIRA)" To: issues@cxf.apache.org Message-ID: <1794483871.28426.1324333650796.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <405611996.23891.1324206633560.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-3978) Multiple BusApplicationContext Objects created by CXF 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-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172682#comment-13172682 ] Dhawalpatel commented on CXF-3978: ---------------------------------- Hi Daniel, Thanks for your reply. When I checked the CXF-2398, it doesnt look like Seumas fixed anything related to BusApplicationContext objects. But anyway, let me check the code of SpringBusFactory is it was modified to have ONLY one BusApplicationContext object in createBus method. But I assume, you understood my issue properly. Let me know if you have any questions in understanding my issue. Thanks Dhawal > Multiple BusApplicationContext Objects created by CXF > ----------------------------------------------------- > > Key: CXF-3978 > URL: https://issues.apache.org/jira/browse/CXF-3978 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.1 > Environment: Production > Reporter: Dhawalpatel > Priority: Blocker > > Hi all, > Can anyone tell me if there was a known bug or issue wherein CXF creates a new BusApplicationCOntext object for each outgoing Web Service call? I see that while using JCA Connector architecture, SpringBusFactory object creates a new BusApplicationContext object. Is it a bug? I am running CXF in WebContainer thread pool of WAS and as the threads never gets killed due to pool, the BusApplicationContext objects accumulates and results in high GC memory. > Please help if this is a known bug in this version of CXF? We are in a production down situation due to memory overhead created by BusApplicationContext object size and number of these objects. there is one-one correspondence between BusApplicatioContext to Thread in thread pool which is causing memory to increase. > The version of cxf-bundle-fuse is 2-1-3-18 > THanks -- 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