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 344F9200D3E for ; Thu, 16 Nov 2017 15:45:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 333CD160BE6; Thu, 16 Nov 2017 14:45:55 +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 78955160BE5 for ; Thu, 16 Nov 2017 15:45:54 +0100 (CET) Received: (qmail 92970 invoked by uid 500); 16 Nov 2017 14:45:52 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 92959 invoked by uid 99); 16 Nov 2017 14:45:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2017 14:45:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CCB001A0C9F for ; Thu, 16 Nov 2017 14:45:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sW7xu4iEn5Uv for ; Thu, 16 Nov 2017 14:45:49 +0000 (UTC) Received: from mailbox.servedge.com (li1281-212.members.linode.com [45.79.182.212]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 36BA85FCFB for ; Thu, 16 Nov 2017 14:45:48 +0000 (UTC) Received: (qmail 14685 invoked by uid 513); 16 Nov 2017 08:45:41 -0600 Received: from pool-173-66-116-184.washdc.fios.verizon.net (HELO Christophers-iMac.local) (chris@christopherschultz.net@173.66.116.184) by mailbox.servedge.com with ECDHE-RSA-AES128-GCM-SHA256 encrypted SMTP; 16 Nov 2017 08:45:41 -0600 Subject: Re: Tomcat Xml parser issue To: users@tomcat.apache.org References: From: Christopher Schultz Message-ID: <99cb9410-32ac-1c87-c695-7930676f5068@christopherschultz.net> Date: Thu, 16 Nov 2017 09:45:40 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit archived-at: Thu, 16 Nov 2017 14:45:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Vicky, On 11/16/17 6:53 AM, Vicky B wrote: > Hi All, > > I have application which is using spring , ESAPI and oracle > xmlparserv2.jar , this application works fine in my local tomcat on > windows but when i deployed in linux server with linux based > apache tomcat i got below error when spring container was trying > to parse application specific xmls > > org.apache.catalina.core.StandardContext.listenerStart Exception > sending context initialized event to listener instance of class > org.springframework.web.context.ContextLoaderListener > > org.springframework.beans.factory.BeanDefinitionStoreException: > Parser configuration exception parsing XML from class path > resource [spring/spring-context.xml]; nested exception is > javax.xml.parsers.ParserConfigurationException: Unable to validate > using XSD: Your JAXP provider > [oracle.xml.jaxp.JXDocumentBuilderFactory@526ad194] does not > support XML Schema. Are you running on Java 1.4 with Apache > Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD > support. > > > when i removed xmlparserv2.jar from my war file the application > worked fine , what is the issue is this due to class loading issue > or could be possible reason for this issue . Does tomcat provide > xml parser which spring loads. What is xmlparserv2.jar? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAloNpJQdHGNocmlzQGNo cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFjMzBAAnGkUGwrItoDMyqhU 2Q4LEOe6/dUW1ZdixIGztY87r7e3r0Q0BAGhFD4bS6NMRjS1XwG1trUKYPiIyp1Q DUScFZfa3kSBnpbxHtdYTSls91LZq5C5uo/sfDh7zmJ1asWmO4WdfcdaBJIAYl1I XyEpLqGHKHiGBpbpAzsKiI94TBJWL5RXoOaEcXxWms1z6T+x9yO0uwdbKVGEasjY cMpJlmwjq7dJyglttQ+hsEUfpXyJ6BsregRQwvC2/EGrQgbZQTMpVTUTR3Qyw3NX sjSiU1lZyXO3gBncooqNGiR2AJG2w8OZkMVyZGh/c6qj+ZJf/1dene7DA+7VOjmZ 2NrqDH1mhm2S0OXrU+/poOEnUS6324J2Hqu4Fz5M5rUPaKqNaZd/BKeD8YbxgHiz t1Fr9mYIXkq+NVZuAkDjQdybwZ/cwdnTk73PMRX3v6StE5XDLxAkHs/djOgl8cWB Spv5Ri23rufbv5mcWPQep2wnR6l2OGb6w3C1v6wv93VS06Ex/dLGqxZYukllxqzW QSEFC1DRvYsAVLjvTM2nKSKwgFR/YAlvQ2FDuulfevE8aU0hMQ8E4AgZc/oP4SlS fF0EJ8LStp75ZHlFYfCGLHVmhCiZFuCJOjCyiZt87jfHDerTHoxjRZMIpAI51Lxd oYbq3v/0qYfAV0jqClo0SM9u/8s= =ivJQ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org