Thanks Ognjen for your reply. My reply was intended to 2 different people
hence it repeated but anyway I would try to take care on this.

So now it is clear from your answer that catalina.sh is called from
startup.sh in a default installation.

Regards


On Thu, May 22, 2014 at 3:59 AM, Ognjen Blagojevic <
ognjen.d.blagoje...@gmail.com> wrote:

> Randhir,
>
> On 21.5.2014 14:31, Randhir Singh wrote:
>
>> I had changed catalina.sh in our development environment like a week back
>> and want to implement it in the production environment but I got this
>> doubt. I feel catalina.sh is invoked by startup.sh but am not sure. I have
>> already taken downtime for production tomorrow but I got this doubt
>> whether
>> changing the
>>
>
> 1. Don't post the same message twice. It makes volunteers on the list
> waste their time.
>
> 2. Don't top post. Bottom posting is the standard on this list.
>
> 3. Don't "request"/ People are volunteering here.
>
> 4. In default Tomcat instalation, catalina.sh is called from startup.sh.
>
> 5. Regardless of do you call startup.sh or catalina.sh, environment
> variables have the same meaning: JAVA_OPTS is used on Tomcat startup and
> Tomcat shutdown, while CATALINA_OPTS is only used on Tomcat startup. If you
> place -Xms2048m in JAVA_OPTS it will reserve 2 GB on Tomcat startup, and
> another 2 GB when you invoke Tomcat shutdown. That is waste of memory. Use
> CATALINA_OPTS instead.
>
> 6. It is not recommended to modify startup.sh or catalina.sh ever. All
> environment variables should be set in the file bin/setenv.sh.
>
> 7. (5.) and (6.) were already pointed out by Chris. Please read answers on
> the list carefully to show that you respect resources volunteers are
> allocating for you for free.
>
> 8. You may invoke "ps -fHA | grep Bootstrap" after you start Tomcat, to
> see if your CATALINA_OPTS reached JVM call.
>
> -Ognjen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-- 

*STL Disclaimer:*
The content of this message may be legally privileged and confidential and 
are for the use of the intended recipient(s) only. It should not be read, 
copied and used by anyone other than the intended recipient(s). If you have 
received this message in error, please immediately notify the sender, 
preserve its confidentiality and delete it. Before opening any attachments 
please check them for viruses and defects. No employee or agent is 
authorised to conclude any binding agreement on behalf of Sterlite 
Technologies Limited with another party by email without express written 
confirmation by authorised person. Visit us at www.sterlitetechnologies.com 
 Please consider environment before printing this email !




Reply via email to