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. Regards, Tomo 2011年11月17日14:51 nozawat <[email protected]>: > 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 think that I should not use CATALINA_OPTS by a process > monitoring when I consider outside setting. > > Does not it become a reason to change the process monitoring? > > Regards, > Tomo > > 2011/11/11 nozawat <[email protected]>: >> 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 CATALINA_OPTS is different by cib and outside setting >> >> When I set CATALINA_OPTS in the tomcat-ra from the outside, there is >> the same definition to two places(cib and setenv.sh),and When I set >> -Dname definitely. >> It moves. However, is not it confusing? >> >> Regards, >> Tomo >> >> 2011/11/10 Dejan Muhamedagic <[email protected]>: >>> On Fri, Nov 04, 2011 at 01:55:57PM +0900, nozawat wrote: >>>> 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 different from the default "tomcat")? >>>> For example, it may not move when CATALINA_OPTS is catalina.sh and is >>>> overwritten. >>>> It is to move without a problem even if an environment variable is set >>>> from the outside that I need. >>> >>> I'm sorry, but I don't understand much of this. Could you please >>> rephrase. "may not move", what may (not) move? What is >>> overwritten? Which environment variable do you refer to? >>> >>> Cheers, >>> >>> Dejan >>> >>>> Regards, >>>> Tomo >>>> >>>> 2011/11/4 Dejan Muhamedagic <[email protected]>: >>>> > Hi, >>>> > >>>> > On Tue, Nov 01, 2011 at 09:31:10AM +0900, nozawat wrote: >>>> >> Hi Dejan >>>> >> >>>> >> Sorry,I got a wrong attached file. >>>> >> I send a right file. >>>> > >>>> > Are we sure that the pid file is _always_ going to exist and >>>> > contain the PID? What's wrong with setting the tomcat_name >>>> > parameter when it's really needed (i.e. it is different from the >>>> > default "tomcat")? >>>> > >>>> > If you don't produce good arguments, this change looks >>>> > superfluous to me. >>>> > >>>> > Cheers, >>>> > >>>> > Dejan >>>> > >>>> >> Regards, >>>> >> Tomo >>>> >> >>>> >> 2011/11/1 Dejan Muhamedagic <[email protected]>: >>>> >> > 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, >>>> >> > >>>> >> > Dejan >>>> >> > >>>> >> >> Regards, >>>> >> >> Tomo >>>> >> > >>>> >> > >>>> >> >> _______________________________________________________ >>>> >> >> Linux-HA-Dev: [email protected] >>>> >> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> >> >> Home Page: http://linux-ha.org/ >>>> >> > >>>> >> > _______________________________________________________ >>>> >> > Linux-HA-Dev: [email protected] >>>> >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> >> > Home Page: http://linux-ha.org/ >>>> >> > >>>> > >>>> > >>>> >> _______________________________________________________ >>>> >> Linux-HA-Dev: [email protected] >>>> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> >> Home Page: http://linux-ha.org/ >>>> > >>>> > _______________________________________________________ >>>> > Linux-HA-Dev: [email protected] >>>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> > Home Page: http://linux-ha.org/ >>>> > >>>> _______________________________________________________ >>>> Linux-HA-Dev: [email protected] >>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>>> Home Page: http://linux-ha.org/ >>> _______________________________________________________ >>> Linux-HA-Dev: [email protected] >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >>> Home Page: http://linux-ha.org/ >>> >> _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
