java.io.IOException: Broken pipe within an Apache Tomcat valve

2016-04-28 Thread Chiranga Alwis
Hi, any help with regards to the following issue is highly appreciated. http://stackoverflow.com/questions/36929016/java-io-ioexception-broken-pipe-within-an-apache-tomcat-valve

Accessing Tomcat internal components in a web-application

2016-03-19 Thread Chiranga Alwis
Hi, I have posted the following question in stackoverflow forum. http://stackoverflow.com/questions/36106968/accessing-tomcat-internal-components-in-a-web-application A well explained solution is highly appreciated.

Re: Configuring a custom folder for Tomcat configuration files

2016-03-08 Thread Chiranga Alwis
--- > Daniel Savard > > > 2016-03-08 3:31 GMT-05:00 Chiranga Alwis <chirangaal...@gmail.com>: > > Hi, > > > > please refer the question in stackoverflow > > > http://stackoverflow.com/questions/35862427/configuring-custom-tomcat-configuration-folder >

Configuring a custom folder for Tomcat configuration files

2016-03-08 Thread Chiranga Alwis
Hi, please refer the question in stackoverflow http://stackoverflow.com/questions/35862427/configuring-custom-tomcat-configuration-folder . Is this possible? Any help is highly appreciated.

Re: Apache Tomcat context update listeners

2016-02-27 Thread Chiranga Alwis
at.apache.org/tomcat-7.0-doc/config/automatic-deployment.html > > Pay particular attention to the differences between reload and redeploy. > > Then look at the Lifecyle.CONFIGURE_START_EVENT event. > > Mark > > > > > On Sat, Feb 27, 2016 at 6:17 PM, Mark Thomas <

Re: Apache Tomcat context update listeners

2016-02-27 Thread Chiranga Alwis
. Is my understanding correct? Or is it different? Plus what is/are the most appropriate LifeCycle events which I am to use in such a situation? On Sat, Feb 27, 2016 at 6:17 PM, Mark Thomas <ma...@apache.org> wrote: > On 26 February 2016 19:09:59 GMT+00:00, Chiranga Alwis < > chiranga

Re: Apache Tomcat context update listeners

2016-02-26 Thread Chiranga Alwis
;ma...@apache.org> wrote: > On 26/02/2016 11:44, Chiranga Alwis wrote: > > Hi, > > > > I have currently created a LifecycleListener which listens to Tomcat's > > context deployment event and loads data in a custom configuration file at > > that point. > &g

Apache Tomcat context update listeners

2016-02-26 Thread Chiranga Alwis
Hi, I have currently created a LifecycleListener which listens to Tomcat's context deployment event and loads data in a custom configuration file at that point. I have been trying to find out whether LifecycleListeners support context update and modification events but yet in my understanding I

Re: Debugging Apache Tomcat

2016-02-25 Thread Chiranga Alwis
Sweeny <theo.swe...@avios.com> wrote: > Hi Chiranga, > > -Original Message- > From: Chiranga Alwis [mailto:chirangaal...@gmail.com] > Sent: 25 February 2016 07:03 > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Debugging Apache Tomcat &

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 <chirangaal...@gmail.com> wrote: > Hi Chris, > > I will check if it works by sticking to the default. &g

Debugging Apache Tomcat

2016-02-24 Thread Chiranga Alwis
Hi, please refer this post regarding Tomcat debugging issue: http://stackoverflow.com/questions/35620472/debug-apache-tomcat

Re: Adding a custom configurations file globally and at web-app level for Apache Tomcat

2016-02-22 Thread Chiranga Alwis
t; On 2/12/16 1:27 AM, Chiranga Alwis wrote: > > There are some custom configurations which we intend to add to this > config > > file. We have a custom made single-sign-on valve based on SAML 2.0 which > > has plenty of configuration properties plus there are some cus

Starting order of Apache Tomcat server.xml components

2016-02-15 Thread Chiranga Alwis
Hi, Please refer the stackoverflow forum question. http://stackoverflow.com/questions/35403457/starting-order-of-apache-tomcat-server-xml-components/35403591#35403591

Re: Adding a custom configurations file globally and at web-app level for Apache Tomcat

2016-02-11 Thread Chiranga Alwis
intend to separate out these from default Tomcat configs in web.xml and improve the users' usability. On Thu, Feb 11, 2016 at 10:53 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chiranga, > > On 2/11/16

Adding a custom configurations file globally and at web-app level for Apache Tomcat

2016-02-11 Thread Chiranga Alwis
Hi, I have been working on adding a custom configurations file which follow a pattern similar to the web.xml, i.e. the file can be defined globally but several predefined configuration properties can be overridden at web-app level. For this purpose, my initial plan was to load the content in

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: &g

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 <chirangaal...@gmail.com> wrote: > Hi Chris, > > Yes I do. This is a SA

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 wro

'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.

Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread Chiranga Alwis
Hi, I have been attempting to extend the Single Sign On feature of Apache Tomcat by extending the org.apache.catalina.authenticator.SingleSignOn class. My attempt is to create a Java Maven project extending the above class which outputs a jar and add the resultant jar file to the

Re: Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread Chiranga Alwis
> Application SSO? > > Regards, > Madhu > > On Wed, Dec 9, 2015 at 8:43 PM, Chiranga Alwis <chirangaal...@gmail.com> > wrote: > > > Hi, > > > > I have been attempting to extend the Single Sign On feature of Apache > > Tomcat by extending the org.