Re: encodeURL, jsessionid and mod_rewrite ?

2017-10-04 Thread Laurent Perez
ter Kreuser wrote: > >> >> Peter Kreuser >> >> Am 04.10.2017 um 02:44 schrieb Christopher Schultz < >>> ch...@christopherschultz.net>: >>> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> Laurant, >>>

encodeURL, jsessionid and mod_rewrite ?

2017-10-03 Thread Laurent Perez
Hi I'm using apache+mod_proxy+mod_rewrite as a tomcat frontend. A "foo" war is deployed at /foo context path under tomcat. The /foo path is not public, apache has a rewrite rule defined as : /bar/* rewrites internally to /foo/*. I'm using jstl and its for every url in my jsps to gain the ;jsessi

Getting a WAR last deployment timestamp thru JMX ?

2017-09-07 Thread Laurent Perez
Hi I'm exposing some webapp metrics over a JSON servlet. I'd like to output the deployment timestamp of my webapp, when war is redeployed by tomcat using the built-in /manager/. I looked into the manager and could not find a timestamp. Is there some magic JMX query available to obtain the last de

Re: Setting up HTTP/2 with no SSL connector ?

2017-03-31 Thread Laurent Perez
Yes I was under the false impression that Chrome did support h2c ; it does not, as you pointed. HTTP/2 works fine now. Thanks On Thu, Mar 30, 2017 at 10:46 PM, Mark Thomas wrote: > On 30 March 2017 20:53:06 BST, Laurent Perez > wrote: > >Thank you Mark. > > > >h2c is

Re: Setting up HTTP/2 with no SSL connector ?

2017-03-30 Thread Laurent Perez
. Where could I check in tomcat source to see if the client is sending the h2c upgrade token ? laurent On Thu, Mar 30, 2017 at 9:07 PM, Mark Thomas wrote: > > On 30/03/17 18:02, Laurent Perez wrote: > > Hi > > > > I managed to run the servlets/serverpush/simpleimage HTTP

Setting up HTTP/2 with no SSL connector ?

2017-03-30 Thread Laurent Perez
Hi I managed to run the servlets/serverpush/simpleimage HTTP/2 push example from Tomcat 9 trunk with the SSL Http11AprProtocol connnector and . Now I would like to enable HTTP/2 but without SSL : my certificates are either hosted under my load balancer or Apache itself, and I do not require SSL b

Instantiating jsp custom tags outside the tag scope itself ?

2007-04-20 Thread Laurent Perez
Hi I'm trying to understand if I'm doing something inherently wrong in my current code, which is working, but which may give me troubles later on : I have a custom jsp tag, and instead of writing its rendering logic inside its doStartTag/doEndTag methods (I'm using JSP 1.2, not 2.x), I let its d

Tomcat5.5.17 not releasing custom JSP tags ?

2006-12-06 Thread Laurent Perez
Hi A webapp I'm working on uses custom JSP tags (1.2) under tomcat 5.5.17. I ran into the following problem : custom tag is supposed to have custom tags as children : has a addChild(Tag tag) method, doing children.add(tag); doStartTag() inits its children container : children = new ArrayLi

mod_jk versus mod_proxy under load ?

2005-12-26 Thread Laurent Perez
Hello One of our production servers recently started to suffer from very heavy performance troubles under load : the current setup is apache2 + mod_jk/ajp13 + tomcat5.0.25, jdk 1.4.2, 1GB (Xmx/Xms to 640MB) on a dual 2.4Ghz Xeon server. The maximum amount of requests/sec reached is around 15req/se

Re: mod_jk troubles under heavy load

2005-12-13 Thread Laurent Perez
Hi Peter > a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher > b) <5.0.30 has a memory leak with registering stats as jk requests > use request.registerRequests=false inside you worker2.properties Unfortunately I can't really switch my tomcat version, because my webapp is colocated

mod_jk troubles under heavy load

2005-12-13 Thread Laurent Perez
Hello I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web site, everything seems to work ok, but under heavy load, the following error randomly appears inside my catalina.out : 12 déc. 2005 14:46:53 org.apache.commons.modeler.Registry registerComponent FATAL: Error registering Catalina: