Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-21 Thread Cyrille Le Clerc
Hello, I am interested in using the secure attribute of Tomcat connectors for non https/ssl requests. However, the ssl only JSESSIONID cookie mechanism currently relies on request.secure == true rather than on request.scheme == https (1). A confusion on secure vs. https seems to come from

Re: Pointers on diagnosing session and thread hangs

2009-06-21 Thread Pete Helgren
For curiosity's sake, why did you roll your own DB pooling, rather than letting Tomcat manage it? That is a good question and one I am not sure I can easily answer since the base code I am working with was originally written by someone else 6 years ago. I am not sure if DB pooling was

Apache Load Balancer - truncating responses?

2009-06-21 Thread Dmitri O.Kondratiev
Hello! I have the following problem: When using apache load balancer with Tomcat, *sometimes* responses get truncated , resulting in incomplete HTML of *wrong* encoding. My application that Tomcat runs always returns responses in utf-8, yet when truncated, page has a different encoding. The

Re: Apache Load Balancer - truncating responses?

2009-06-21 Thread André Warnier
Dmitri O.Kondratiev wrote: Hello! I have the following problem: When using apache load balancer with Tomcat, *sometimes* responses get truncated , resulting in incomplete HTML of *wrong* encoding. My application that Tomcat runs always returns responses in utf-8, yet when truncated, page has a

RE: Apache Load Balancer - truncating responses?

2009-06-21 Thread Martin Gainty
i can investigate if you can send me the configuration files you are using for Apache httpd.conf,workers.properties,.htaccess, mime.types,magic.default Tribes: $TRIBES_HOME/org/apache/catalina/tribes/mbeans-descriptors.xml

RE: Pointers on diagnosing session and thread hangs

2009-06-21 Thread Martin Gainty
where is _isIBMi declaration?.. how is _isIBMi used to configure ConnectionPool? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein,

Removal of conf/[engine]/[host]/application_context.xml on webapp redeploy with deployXML = false?

2009-06-21 Thread Mike Frohme
Hi, Trying to understand behavior of TC (6.0.x) deployment process of webapps with the following Host definition (server.xml): Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true deployXML=false xmlValidation=false xmlNamespaceAware=false In short, we want to

RE: Removal of conf/[engine]/[host]/application_context.xml on webappredeploy with deployXML = false?

2009-06-21 Thread Caldarale, Charles R
From: Mike Frohme [mailto:mfro...@genscape.com] Subject: Removal of conf/[engine]/[host]/application_context.xml on webappredeploy with deployXML = false? In short, we want to manually manage conf/[engine]/[host]/appname.xml files for each webapp. Then your deployment procedure should

Apache mod_jk SetEnvIf negative look ahead not working

2009-06-21 Thread as2
Hi, I am trying to add a rule .. some thing like this LocationMatch /app/ SetHandler jakarta-servlet SetEnvIf REQUEST_URI \.(jsp|htm?)$ JK_WORKER_NAME=default SetEnvIf REQUEST_URI ^(/app/dir/([^/]*)/(?!jsp)) no-jk /LocationMatch I am having problem with this line SetEnvIf