On 09.03.2009 19:30, Caldarale, Charles R wrote:
From: dOE [mailto:doep...@gmail.com]
Subject: Re: How to set Java Memory heap size on Linux?
What is the syntax of the "setenv.sh script"?
It's whatever syntax your shell supports. The export command is often needed
for Linux shells.
The script setenv.sh is not being executed with its own shell, it gets
sourced into catalina.sh:
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 it runs in the same shell as catalina.sh and therefore you don't need
to export those variables, which are only used inside catalina.sh.
By default catalina.sh gets executed by /bin/sh, since its first line is:
#!/bin/sh
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org