Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-25 Thread Chiranga Alwis
Hi,

Sorry for the late response. I did start working by sticking to the default
and it seems to work.

Thanks for the help.

On Thu, Feb 11, 2016 at 5:16 PM, Chiranga Alwis 
wrote:

> Hi Chris,
>
> I will check if it works by sticking to the default.
>
> On Mon, Feb 8, 2016 at 8:21 PM, Christopher Schultz <
> ch...@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 <
>> >> ch...@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-unsubscr...@tomcat.apache.org
>> >>> For additional commands, e-mail: users-h...@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-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>


Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-11 Thread Chiranga Alwis
Hi Chris,

I will check if it works by sticking to the default.

On Mon, Feb 8, 2016 at 8:21 PM, Christopher Schultz <
ch...@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 <
> >> ch...@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-unsubscr...@tomcat.apache.org
> >>> For additional commands, e-mail: users-h...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-08 Thread Christopher Schultz
-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 < 
>> ch...@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
> 
>
>  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-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-06 Thread Chiranga Alwis
Hi Chris,

I think OpenSAML seems to be using
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl. I am actually having
this class within the lib folder of Tomcat.

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 <
> ch...@christopherschultz.net> wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> 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-factoryc
>> onfigurationerror-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
>>
>> -BEGIN PGP SIGNATURE-
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iEYEARECAAYFAla1FAoACgkQ9CaO5/Lv0PCoVQCgvBZpQYWJ3p1YmdzDUD+fWgp1
>> wbEAn36BXyOYrPq25825MEKC+2q9ugKW
>> =Ny9W
>> -END PGP SIGNATURE-
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>


Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-06 Thread Chiranga Alwis
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 <
ch...@christopherschultz.net> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> 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-factoryc
> onfigurationerror-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
>
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAla1FAoACgkQ9CaO5/Lv0PCoVQCgvBZpQYWJ3p1YmdzDUD+fWgp1
> wbEAn36BXyOYrPq25825MEKC+2q9ugKW
> =Ny9W
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: 'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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-factoryc
onfigurationerror-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

-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAla1FAoACgkQ9CaO5/Lv0PCoVQCgvBZpQYWJ3p1YmdzDUD+fWgp1
wbEAn36BXyOYrPq25825MEKC+2q9ugKW
=Ny9W
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



'javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created' for Tomcat Valve

2016-02-04 Thread Chiranga Alwis
Hi,

I have specified the following issue in stackoverflow:
http://stackoverflow.com/questions/35210472/javax-xml-parsers-factoryconfigurationerror-provider-for-class-javax-xml-parse

Any help will be highly appreciated.