AW: [Linux-HA] Tomcat times out

2008-07-04 Thread Ehlers, Kolja
Thanks for your help now I raised the timeout to 120s and I see it trying for 180 seconds: tomcat[1861]: 2008/07/04_15:55:27 DEBUG: start_tomcat[tomcat]: retry monitor_tomcat ... tomcat[1861]: 2008/07/04_15:58:23 DEBUG: start_tomcat[tomcat]: retry monitor_tomcat Is it waiting for a RC or is t

AW: [Linux-HA] Tomcat times out

2008-07-04 Thread Ehlers, Kolja
: Freitag, 4. Juli 2008 16:08 An: General Linux-HA mailing list Betreff: AW: [Linux-HA] Tomcat times out Thanks for your help now I raised the timeout to 120s and I see it trying for 180 seconds: tomcat[1861]: 2008/07/04_15:55:27 DEBUG: start_tomcat[tomcat]: retry monitor_tomcat ... tomcat[1861

AW: [Linux-HA] Tomcat times out

2008-07-04 Thread Ehlers, Kolja
Thanks Peter, I will definitely take a good look at those scipts. The problem that this ocf tomcat script im using does not realize that tomcat is running is probably this line in the monitor function: monitor_tomcat() { > if ! pgrep -f "java -Dname=$TOMCAT_NAME" > /dev/null; then

AW: [Linux-HA] Tomcat times out

2008-07-07 Thread Ehlers, Kolja
Hello all, I have a general question about bash programming since yet I am not too familiar with it. The isrunning_tomcat() function in the tomcat ocf keeps returning an error code. This is the function: if wget -O /dev/null $RESOURCE_STATUSURL 2>/dev/null; then return $OC

AW: [Linux-HA] Tomcat times out

2008-07-07 Thread Ehlers, Kolja
Thank you Michael for the very detailed help. Its working pretty okay now still I have one more question. I am running Apache and one virtual ip adress in one group now and 9 tomcat instances ungrouped. I want heartbeat to start and monitor the apache/ip group on only one node and all tomcats on b

AW: [Linux-HA] Tomcat times out

2008-07-07 Thread Ehlers, Kolja
-HA] Tomcat times out Thank you Michael for the very detailed help. Its working pretty okay now still I have one more question. I am running Apache and one virtual ip adress in one group now and 9 tomcat instances ungrouped. I want heartbeat to start and monitor the apache/ip group on only one

AW: [Linux-HA] Tomcat times out

2008-07-13 Thread Ehlers, Kolja
Hello everybody, sometimes in my cluster it happens that tomcat the tomcat start or monitor does not return SUCCESS inside the timeout frame. Then I get: Failed actions: tomcat_22:1_start_0 (node=www2test, call=25, rc=-2): Timed Out tomcat_22sdb:1_start_0 (node=www2test, call=23, rc=-2):