Re: [Linux-ha-dev] change of process check in tomcat-ra

2012-01-31 Thread Dejan Muhamedagic
Hi, On Mon, Dec 19, 2011 at 05:20:53PM +0900, nozawat wrote: Hi Dejan I have two reasons to change the process check. 1)There is the pattern that pgrep does not work by contents to set in CATALINA_OPTS. For example, they are as follows. e.g.)-XX:+UseConcMarkSweepGC 2)It does not

Re: [Linux-ha-dev] change of process check in tomcat-ra

2012-01-31 Thread David Gersic
A minor suggestion on the tomcat RA. It uses wget -O ... to verify that tomcat is running. If the URL is an https://... type, and wget can't verify the certificate being used by the server, it errors out. Using wget --no-check-certificate -O ... would be better, given that this is only being

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-12-19 Thread nozawat
Hi Dejan I have two reasons to change the process check. 1)There is the pattern that pgrep does not work by contents to set in CATALINA_OPTS. For example, they are as follows. e.g.)-XX:+UseConcMarkSweepGC 2)It does not support plural parameters. Therefore I want to change a process check.

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-11-16 Thread nozawat
Hi Dejan When I set CATALINA_OPTS from the outside, it is as follows. 1)It is set CATALINA_OPTS by crm-configure. 2)It is set CATALINA_OPTS by external file(setenv.sh) -setenv.sh is called from run.sh -In this case I set -Dname by all means. In this case it causes a mistake. Therefore I

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-11-10 Thread nozawat
Hi Dejan What is overwritten?Which environment variable do you refer to? It is CATALINA_OPTS. When CATALINA_OPTS is set from the outside, a right process check is not possible. It occurs at following time. 1.-Dname is not set(Outside setting). 2.When -Dname is different. 3.When setting of

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-11-03 Thread nozawat
Hi Dejan Are we sure that the pid file is _always_ going to exist and contain the PID? I believe that PID file exists, and I include pid. BTW, it is the next sentence to be important by this change. What's wrong with setting the tomcat_name parameter when it's really needed (i.e. it is

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-10-31 Thread Dejan Muhamedagic
Hi, On Thu, Oct 27, 2011 at 11:36:10AM +0900, nozawat wrote: Hi I changed the method of the process check in tomcat-ra. SEARCH_STR does not function when I set tomcat parameter in catalina.sh. This is the same one like the other to remove the pid file. Wrong patch attached? Thanks,

Re: [Linux-ha-dev] change of process check in tomcat-ra

2011-10-31 Thread nozawat
Hi Dejan Sorry,I got a wrong attached file. I send a right file. Regards, Tomo 2011/11/1 Dejan Muhamedagic de...@suse.de: Hi, On Thu, Oct 27, 2011 at 11:36:10AM +0900, nozawat wrote: Hi  I changed the method of the process check in tomcat-ra.  SEARCH_STR does not function when I set

[Linux-ha-dev] change of process check in tomcat-ra

2011-10-26 Thread nozawat
Hi I changed the method of the process check in tomcat-ra. SEARCH_STR does not function when I set tomcat parameter in catalina.sh. Regards, Tomo tomcat.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org