RE: Overriding contextPath through (RemoteIp)Valve

2016-06-13 Thread Xavier Dury
Sorry, resent as plain text: > On 13/06/2016 14:23, Xavier Dury wrote: >> Hi, >>  >> The recommended approach when using a proxy in front of tomcat is to have >> the same context path >> on both sides like this: >>  >> http://mycompany.com/mya

RE: Overriding contextPath through (RemoteIp)Valve

2016-06-13 Thread Xavier Dury
> On 13/06/2016 14:23, Xavier Dury wrote: > > Hi, > > > > The recommended approach when using a proxy in front of tomcat is to have > > the same context path > > on both sides like this: > > > > http://mycompany.com/myapp --> http://myinternal

Overriding contextPath through (RemoteIp)Valve

2016-06-13 Thread Xavier Dury
Hi, The recommended approach when using a proxy in front of tomcat is to have the same context path on both sides like this: http://mycompany.com/myapp --> http://myinternalserver.lan:8080/myapp Having different context paths like this: http://mycompany.com/mypublicapp --> http://myint

Valve overriding contextPath behind a proxy

2014-09-22 Thread Xavier Dury
Hi, The recommended approach when using a proxy in front of tomcat is to have the same context path on both side like this: http://mycompany.com/myapp --> http://mycompany.lan:8080/myapp Having different context paths like this: http://mycompany.com/mypublicapp --> http://mycompany.lan:8080/my

RE: Using EL expressions in an ObjectFactory

2013-09-20 Thread Xavier Dury
he > el-api provided by tomcat, everything works fine. > > Xavier > > >> Subject: Re: Using EL expressions in an ObjectFactory >> From: dmik...@gopivotal.com >> Date: Mon, 16 Sep 2013 10:05:14 -0400 >> To: users@tomcat.a

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
Date: Mon, 16 Sep 2013 10:05:14 -0400 > To: users@tomcat.apache.org > > On Sep 16, 2013, at 9:43 AM, Xavier Dury wrote: > >> I built tomcat from trunk (rev 1523639) and I'm having the same issue I had >> with glassfish EL implementation when using overloaded methods: >

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
rom: dmik...@gopivotal.com > Date: Mon, 16 Sep 2013 07:48:33 -0400 > To: users@tomcat.apache.org > > On Sep 16, 2013, at 3:03 AM, Xavier Dury wrote: > >> Hi, >> >> I switched to org.apache.tomcat:tomcat-jasper-el:8.0.0-RC1 as javax.el 3.0 >> implementation and

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
lemented in apache EL? Regards, Xavier > Subject: Re: Using EL expressions in an ObjectFactory > From: dmik...@gopivotal.com > Date: Fri, 13 Sep 2013 15:38:29 -0400 > To: users@tomcat.apache.org > > On Sep 13, 2013, at 3:27 AM, Xavier Dury wrote: > >> When

RE: Using EL expressions in an ObjectFactory

2013-09-13 Thread Xavier Dury
; Date: Thu, 12 Sep 2013 17:10:21 -0400 > To: users@tomcat.apache.org > > On Sep 12, 2013, at 7:58 AM, Xavier Dury wrote: > >> Ok, >> >> I fixed the styling and the documentation. If anything else must be changed, >> don't hesitate. > > In your docs, you

RE: Using EL expressions in an ObjectFactory

2013-09-12 Thread Xavier Dury
expressions in an ObjectFactory > > On 12/09/2013 11:49, Xavier Dury wrote: >> Hi, >> >> I implemented a simple ExpressionFactory @ >> https://github.com/kalgon/expression-factory. >> >> I would love to see this ExpressionFactory next to >> org.apache.nam

RE: Using EL expressions in an ObjectFactory

2013-09-12 Thread Xavier Dury
s where no > ObjectFactory exist, a generic EL-based one could be helpful). > > Xavier > > >> Date: Thu, 29 Aug 2013 14:53:31 -0400 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >> Subject: Re: Us

RE: Using EL expressions in an ObjectFactory

2013-08-30 Thread Xavier Dury
sers@tomcat.apache.org > Subject: Re: Using EL expressions in an ObjectFactory > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Xavier, > > On 8/29/13 3:06 AM, Xavier Dury wrote: >> Could it be possible for the tomcat team to include a >> javax.naming.spi.O

Using EL expressions in an ObjectFactory

2013-08-29 Thread Xavier Dury
Hi, Could it be possible for the tomcat team to include a  javax.naming.spi.ObjectFactory which would use EL3.0 expressions? It would be great if you want to have resource-ref which are not of the usual types. I always wanted to have an ObjectFactory for URLs but having one for each type is to

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
-- >>> Date: Thu, 16 May 2013 15:01:28 +0100 >>> From: ma...@apache.org >>> To: users@tomcat.apache.org >>> Subject: Re: Default web.xml for all webapps of a specific Host >>> >>> On 16/05/2013 14:47, Xavier Dury wrote: >>>> I tried ad

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
> no harm in asking =) > > Thanks, > > Xavier > > >> Date: Thu, 16 May 2013 15:01:28 +0100 >> From: ma...@apache.org >> To: users@tomcat.apache.org >> Subject: Re: Default web.xml for all webapps of a specific Host >> >> On 1

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
x27;s no harm in asking =) Thanks, Xavier > Date: Thu, 16 May 2013 15:01:28 +0100 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 14:47, Xavier

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
00 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 09:55, Xavier Dury wrote: >> Thanks, I didn't find any reference to web.xml.default in the doc. Maybe, I >> wasn't looking

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
t: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 09:40, Xavier Dury wrote: >> Hi, >> >> Is it possible to have a default web.xml that will be loaded for all >> applications inside a Host? >> >> The doc states this is possible for

Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
Hi, Is it possible to have a default web.xml that will be loaded for all applications inside a Host? The doc states this is possible for context.xml which is computed from:  - $CATALINA_BASE/conf/context.xml  - $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default  - /META-INF/context

RE: Destroying resources created with a custom ObjectFactory

2013-01-29 Thread Xavier Dury
t; > Register some hook here to call cacheManager.shutdown() on > > undeploy/redeployreturn cacheManager; }} > > Xavier > > > Date: Mon, 28 Jan 2013 13:07:15 -0500 > > > From: ch...@christopherschultz.net > > > To: users@t

RE: Destroying resources created with a custom ObjectFactory

2013-01-29 Thread Xavier Dury
at.apache.org > > Subject: Re: FW: Destroying resources created with a custom ObjectFactory > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Xavier, > > > > On 1/28/13 12:20 PM, Xavier Dury wrote: > > > I'm using Tomcat 7.0.x

RE: Destroying resources created with a custom ObjectFactory

2013-01-29 Thread Xavier Dury
cheManager; }} Xavier > Date: Mon, 28 Jan 2013 13:07:15 -0500 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: FW: Destroying resources created with a custom ObjectFactory > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Xavier, >

FW: Destroying resources created with a custom ObjectFactory

2013-01-28 Thread Xavier Dury
Hi, I'm using Tomcat 7.0.x and made a custom javax.naming.spi.ObjectFactory to create a Ehcache manager, exposing a configured CacheManager to an application through (local) JNDI. My question is: how/where can I call the CacheManager.shutdown() method when my application is (re|un)deployed? I t