Re: Replication Stops Overnight

2009-04-11 Thread Filip Hanik - Dev Lists
sounds like a 'stale connection'. what I would do first, is to turn off keep alive look up keepAliveCount and keepAliveTime in http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html Filip Theparanoidone Theparanoidone wrote: Greetings, We are using tomcat6 cluster in two data-cente

RE: Replication Stops Overnight

2009-04-11 Thread Martin Gainty
the default dropTime from MCastService is 3 secs e.g. properties.setProperty("memberDropTime","3000"); would suggest increase memberDropTime property (so MCastService detects a Heartbeat) Martin does anyone knows what op means about 'going home'? __

Replication Stops Overnight

2009-04-11 Thread Theparanoidone Theparanoidone
Greetings, We are using tomcat6 cluster in two data-centers with replicated sessions. We are not using multicast because multicast broadcast between network subnets/zones is difficult to setup, so instead we are using static members (data center 1: webd101, and webd102 / data center 2: w

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
> RewriteRule ^myapp/some(.*)  script.shtml%{QUERY_STRING} [L] > # Line above will be ignored > JkMount /myapp/* balancer > > May be this is just a bug? > So, i found that its work only if condition begins with / RewriteRule ^/myapp/some?(.*) /script.shtml?%{QUERY_STRING} [L,PT] Other conditions

RE: Tomcat is not serving requests - but not crashed...

2009-04-11 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Tomcat is not serving requests - but not crashed... > > Please configure Tomcat for logging and restart TC > http://tomcat.apache.org/tomcat-5.5-doc/logging.html Note that Tomcat is *always* configured for some level of logging; th

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
Hi, Rainer! Thx for you answer, its look like good solution, but anyway ignoring line BEFORE JkMount - a bit stupid behavior. RewriteRule ^myapp/some(.*) script.shtml%{QUERY_STRING} [L] # Line above will be ignored JkMount /myapp/* balancer May be this is just a bug? ---

RE: Tomcat is not serving requests - but not crashed...

2009-04-11 Thread Martin Gainty
Please configure Tomcat for logging and restart TC http://tomcat.apache.org/tomcat-5.5-doc/logging.html Once the exceptions are noted in %TOMCAT_HOME%/logs please display the contents of the log so we can be of further assistance Thanks, Martin __ D

Re: RewriteRule inside JkMount location

2009-04-11 Thread Rainer Jung
Only one little addition below: On 11.04.2009 14:19, André Warnier wrote: > J Channel wrote: > [...] > > Hi. > Let me jump in here for a while. > > First, I think it would be clearer (and certainly more efficient), to > move your Rewrite rules away from a .htaccess file in docroot, and just > pu

Re: Tomcat is not serving requests - but not crashed...

2009-04-11 Thread kegliuz
Here are some configuration details: Server: Linux CentOS Linux version 2.6.18-8.1.14.el5PAE (mockbu...@builder7.centos.org) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) Server version: Apache Tomcat/5.5.23 Server built: Mar 5 2007 08:25:04 Server number: 5.5.23.0 OS Name:Linux OS V

Re: RewriteRule inside JkMount location

2009-04-11 Thread André Warnier
J Channel wrote: [...] Hi. Let me jump in here for a while. First, I think it would be clearer (and certainly more efficient), to move your Rewrite rules away from a .htaccess file in docroot, and just put them in your main Apache configuration files. (I suppose that if you have access to the

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
I found that its work ok with httpd.conf like this: ... JkMount /app/* balancer JkUnMount /app/ntd/* balancer ... But this is not very well cause i need to add many exception pathes like this to httpd.conf :( I just need to have mod_rewrite directives with more priority than JkMount. Just like in

clustering error

2009-04-11 Thread supareno
hello, we 're trying to do some tomcat clustering but i think that our implementation is not really good we have 2 tomcats on the same machine and we configured the clustering (same multicast port and ip and differents tcplistenport) the problem is that we have a lots of errors in each tomcat