Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C46018AEE for ; Thu, 11 Feb 2016 11:47:06 +0000 (UTC) Received: (qmail 52268 invoked by uid 500); 11 Feb 2016 11:47:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52206 invoked by uid 500); 11 Feb 2016 11:47:02 -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 52195 invoked by uid 99); 11 Feb 2016 11:47:02 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 11:47:02 +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 418CD1A03B4 for ; Thu, 11 Feb 2016 11:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id szzE_u4UdwPL for ; Thu, 11 Feb 2016 11:46:58 +0000 (UTC) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 6E32F428E5 for ; Thu, 11 Feb 2016 11:46:58 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id tk3so13769293lbb.3 for ; Thu, 11 Feb 2016 03:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0ITEhneaoT56oMfVdFI9cfr0zNo5PcIYsxbV2r3w53I=; b=gkucZxCHfJfj+kOqWJMIm/J3VBm9zlyEGHH0XGNd3ldCBrQmkEZNDqdYjR80o/J6Z6 ig0uKRptfLqaUZHM+a9u0Q9B7oMizvTyVhbOXrRSUaZz0dk710qp8r/hE6nplYFfV1V8 rn51o2k2q29z/pECimiDnCzcu4ZJnQJECGEuM3n9bkikBldhcwE4tEQL56N5Of8QYn4v +Q3UZ4dZ3OKzZHr+gIyvTGwEme0w/LNwmLZ7vbqa0Rr6ZsxsL49ueKaxom4BQ6Is33KC 2ZG0h7WTLWjzh43sb+4hfETlXZsXu7rkZMHXDFvL6FjvJyOjUUhAJDwEEA2vdrriTjAn sCng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=0ITEhneaoT56oMfVdFI9cfr0zNo5PcIYsxbV2r3w53I=; b=XIszxnFFeawp2V61ifGJjdNexzpBNf1B8cS0mT7ct2HJAnPRfAbNwRkHhNjr1r0w47 DZRVMakjaY0uXIQnFGS2QJyJQqIYiB0mqZyK7LXAbKHUnZL3TNHK4J723+R/16pFfMr4 L3vMBzPjpIx65KgwLZy26RvYgPd3jn5Brg/8UpczJJbBi6uOGZVJmR46vjcsjBur2NFc fXPEuvmxk/4M3TWe1e6fz+U5i/71xQCMOUfhKBFJ8Z3l51gWLIDNIxuOoTYmkCgdTxbi kIWfUTlmVfEpefElDB0mHXEXbw8IMEuxzrJEo41WcRvMe86YaqvnTufiOJvcN97GZnJP w4Bg== X-Gm-Message-State: AG10YOTRVd1CxXiQLoox+aEupU4qKRRAnEEOfXHGB4Lg68Zuqc10rK1uFCI3UYSPZQZeD7sHk/ed8MjMksaw/w== MIME-Version: 1.0 X-Received: by 10.112.161.225 with SMTP id xv1mr18652475lbb.127.1455191211043; Thu, 11 Feb 2016 03:46:51 -0800 (PST) Received: by 10.25.40.134 with HTTP; Thu, 11 Feb 2016 03:46:50 -0800 (PST) In-Reply-To: <56B8AB8F.4090301@christopherschultz.net> References: <56B5140A.5080804@christopherschultz.net> <56B8AB8F.4090301@christopherschultz.net> Date: Thu, 11 Feb 2016 17:16:50 +0530 Message-ID: Subject: Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve From: Chiranga Alwis To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a11c30ff436f164052b7d1b6c --001a11c30ff436f164052b7d1b6c Content-Type: text/plain; charset=UTF-8 Hi Chris, I will check if it works by sticking to the default. On Mon, Feb 8, 2016 at 8:21 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Chiranga, > > On 2/7/16 2:27 AM, Chiranga Alwis wrote: > > I think OpenSAML seems to be using > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl. I am actually > > having this class within the lib folder of Tomcat. > > Replacing XML parsers within applications is always a sticky business. > Have you tried simply removing your local Xerces implementation from > your web application to see if that works? > > - -chris > > > On Sun, Feb 7, 2016 at 12:41 PM, Chiranga Alwis > > wrote: > > > >> Hi Chris, > >> > >> Yes I do. This is a SAML based single-sign-on valve for Tomcat. > >> > >> On Sat, Feb 6, 2016 at 2:58 AM, Christopher Schultz < > >> chris@christopherschultz.net> wrote: > >> > > Chiranga, > > > > On 2/4/16 3:10 PM, Chiranga Alwis wrote: > >>>>> I have specified the following issue in stackoverflow: > >>>>> http://stackoverflow.com/questions/35210472/javax-xml-parsers-fact > oryc > > > >>>>> > onfigurationerror-provider-for-class-javax-xml-parse > > configurationerror-provider-for-class-javax-xml-parse> > > > > So > >>>>> > > you have a serialized SAML object, and it's trying to parse XML as > > it's being deserialized? > > > > Are you (or is OpenSAML) using any kind of custom XML parser? > > > > -chris > > > >>> > >>> -------------------------------------------------------------------- > - - > >>> > >>> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > >>> For additional commands, e-mail: users-help@tomcat.apache.org > >>> > >>> > >> > > > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAla4q48ACgkQ9CaO5/Lv0PDK8wCgsgGKJK0xwYrcDJPk4glV4pyg > Z7oAnR+nNPS0eyjQ6MYYiffDzsiAJdeL > =K9nv > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --001a11c30ff436f164052b7d1b6c--