Hi,
Yup, same here.  I don't like to rely on the environment.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Giorgio Ponza [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 07, 2004 9:56 AM
>To: Tomcat Users List
>Subject: Re: Where to set JAVA_OPTS
>
>Jon Wingfield ha scritto:
>> No need to change the script. I normally set an Environment variable
in
>> the same place I define JAVA_HOME
>> Go to Control Panel \ System \ Advanced tab \ Environment
variables...
>> Well, that's where it is on XP, which i'm currently running.
>> HTH,
>> Jon
>
>I don't think is a good approach, at least for me. An environment
>variable is accessible to all java programs. Modifying the script
>affects only tomcat.
>Bye
>
>Giorgio
>
>
>>
>> Giorgio Ponza wrote:
>>
>>> Hi
>>> usually i put my JAVA_OPTS in catalina.sh (in windows is
catalina.bat)
>>> like this
>>>
>>> REM set JAVA_OPTS=-server -Xms128m -Xmx128m -verbose:gc
>>> -Xrunhprof:cpu=times,depth=6,thread=y,file=C:\log.txt
>>> set JAVA_OPTS=-server -Xms64m -Xmx64m
>>>
>>> echo Using CATALINA_BASE:   %CATALINA_BASE%
>>> echo Using CATALINA_HOME:   %CATALINA_HOME%
>>> echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
>>> echo Using JAVA_HOME:       %JAVA_HOME%
>>> echo using JAVA_OPTS:       %JAVA_OPTS%
>>>
>>> it is used later in lines like
>>> %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% ....
>>>
>>> Hope i helped u
>>> bye
>>>
>>> Giorgio
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
>--
>-----------------------------------------------------------------------
>Giorgio Ponza
>Web Developer
>Opla.com Ltd
>Tel. +39 011 7506233
>Fax. +39 011 746179
>http://www.opla.it
>-----------------------------------------------------------------------
>Ci sono persone che hanno soldi e persone che sono ricche (Coco Chanel)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to