Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50F0325C1 for ; Thu, 21 Apr 2011 07:20:50 +0000 (UTC) Received: (qmail 66689 invoked by uid 500); 21 Apr 2011 07:20:49 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 66493 invoked by uid 500); 21 Apr 2011 07:20:49 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 66335 invoked by uid 99); 21 Apr 2011 07:20:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 07:20:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 21 Apr 2011 07:20:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8E9C7ACBE7 for ; Thu, 21 Apr 2011 07:20:07 +0000 (UTC) Date: Thu, 21 Apr 2011 07:20:07 +0000 (UTC) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Message-ID: <703126156.72982.1303370407580.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (GERONIMO-5925) Use one xml parsing related instance (e.g. SAXParserFactory) for one deployment process MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Use one xml parsing related instance (e.g. SAXParserFactory) for one deployment process --------------------------------------------------------------------------------------- Key: GERONIMO-5925 URL: https://issues.apache.org/jira/browse/GERONIMO-5925 Project: Geronimo Issue Type: Improvement Security Level: public (Regular issues) Components: deployment Affects Versions: 3.0 Reporter: Ivan Priority: Minor While investigating some other issues, I found that multiple XML parsing related instance (e.g. SAXParserFactory) are created for each DD parsing. And, it causes many times for resource searching for different properties. I am thinking to use one instance for each application deployment, since the whole deployment process is running on the same thread, so no need to concern the thread-safe issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira