Hi,

On Tue, Jan 18, 2011 at 12:54:50PM -0500, Vadym Chepkov wrote:
> 
> On Jan 18, 2011, at 10:28 AM, Dejan Muhamedagic wrote:
> 
> > On Tue, Jan 18, 2011 at 07:58:28AM -0500, Vadym Chepkov wrote:
> >> 
> >> On Jan 17, 2011, at 5:43 PM, Brett Delle Grazie wrote:
> >> 
> >>> Hi Dejan,
> >>> 
> >>> On 17 January 2011 14:54, Dejan Muhamedagic <[email protected]> wrote:
> >>>> Hi Brett,
> >>>> 
> >>>> Long time.
> >>> 
> >>> Indeed it is - thank you for the reminder!
> >>> 
> >>> This one simply uses here documents for start/stop operations.
> >> 
> >> Using 'su -'  always makes me uncomfortable, because this
> >> would invoke so many things intended for login sessions only, 
> >> especially on systems with /etc/profile.d/. Just a thought.
> > 
> > Well, I'd rather live without it, but sometimes it seems
> > necessary. I don't know if tomcat is such a beast, but it could
> > be.
> 
> definitely not, it was done in the past to put enormous amount of environment 
> variables into .profile of tomcat user
> But catalina.sh has this code for quite awhile now:
> 
> if [ -r "$CATALINA_BASE"/bin/setenv.sh ]; then
>   . "$CATALINA_BASE"/bin/setenv.sh
> elif [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
>   . "$CATALINA_HOME"/bin/setenv.sh
> fi
> 
> so environment can be set in a setenv.sh

OK. I'd rather leave this to you tomcat experts to figure out
which is the right way, but let's keep it as it is in order not
to disturb the existing installations.

> Vadym
> 
> P.S. Is it necessary for ClusterMon ?

How should I know? I'm just a poor maintainer who knows close to
nothing about single resource agents.

Thanks,

Dejan

> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to