Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
Thanks for your replay, Neven. Eventually - I decided to heed advices and remove JAVA_OPTS at all. So - now using only CATALINA_OPTS in /bin/setenv.bat. 2014/1/28 Neven Cvetkovic > On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко >wrote: > > > > About point 4 - this is main goal: as we have

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 1/28/14, 8:16 AM, Neven Cvetkovic wrote: > On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко > wrote: >> >> About point 4 - this is main goal: as we have few >> Java-applications running in this very system - they must use >> "global" mem

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Neven Cvetkovic
On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко wrote: > > About point 4 - this is main goal: as we have few Java-applications > running > in this very system - they must use "global" memory options, thats why I > suggested set System variable JAVA_OPTS. But namely Tomcat - must use > another me

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
A lot of thanks, Neven! This is perfect explanation - considering my English :-) About point 4 - this is main goal: as we have few Java-applications running in this very system - they must use "global" memory options, thats why I suggested set System variable JAVA_OPTS. But namely Tomcat - must us

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread André Warnier
Арсений Зинченко wrote: OK, thanks - I'll do it from now (really - never used this file before, just now found reference to it in catalina.bat) . But - last question, please: in setenv.bat - must be used CATALINA_OPTS or JAVA_OPTS? Ok, let us be really clear here. 1) The command to *stop* Tom

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Neven Cvetkovic
On Mon, Jan 27, 2014 at 10:58 AM, Арсений Зинченко wrote: > > Set JAVA_OPTS as system variable (for all other applications); and create > setenv.bat in /bin/ directory with CATALINA_OPTS whith Xmx/Xms for Tomcat? > > Will it be more correctly than set CATALINA_OPTS as System variable? Or - > by th

RE: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Caldarale, Charles R
> From: Арсений Зинченко [mailto:setev...@gmail.com] > Subject: Re: JAVA_OPTS vs CATALINA_OPTS > in setenv.bat - must be used CATALINA_OPTS or JAVA_OPTS? Dan already explained this: Again, you could put memory settings in CATALINA_OPTS or in JAVA_OPTS. Setting them in CATALIN

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
OK, thanks - I'll do it from now (really - never used this file before, just now found reference to it in catalina.bat) . But - last question, please: in setenv.bat - must be used CATALINA_OPTS or JAVA_OPTS? 2014/1/27 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > А

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 1/27/14, 10:58 AM, Арсений Зинченко wrote: > Thanks, Christopher. > > OK, what about next: > > Set JAVA_OPTS as system variable (for all other applications); and > create setenv.bat in /bin/ directory with CATALINA_OPTS whith > Xmx/Xms

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
Thanks, Christopher. OK, what about next: Set JAVA_OPTS as system variable (for all other applications); and create setenv.bat in /bin/ directory with CATALINA_OPTS whith Xmx/Xms for Tomcat? Will it be more correctly than set CATALINA_OPTS as System variable? Or - by the way, in setevn.bat must

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Daniel Mikusa
On Jan 27, 2014, at 10:36 AM, Арсений Зинченко wrote: > Hi, Dan. Thanks for replay. > >> he JVM is only going to accept one value for Xmx and Xms. Specifying the > same options in JAVA_OPTS and CATALINA_OPTS would just be confusing. > > As I says before - we have few Java-application on same m

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 1/27/14, 9:21 AM, Арсений Зинченко wrote: > We have a little dispute with my colleague about using this > variables. > > So: have Windows-box machine. On it - runing few different > Java-application, including Tomcat. > > Needs to set

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
Hi, Dan. Thanks for replay. > he JVM is only going to accept one value for Xmx and Xms. Specifying the same options in JAVA_OPTS and CATALINA_OPTS would just be confusing. As I says before - we have few Java-application on same machine. So - for them needs to set Xmx 1G, but for Tomcat - 4G. >

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Daniel Mikusa
On Jan 27, 2014, at 9:21 AM, Арсений Зинченко wrote: > Hi. > > I'm sorry for so kindly question - but needs experts advice... > > We have a little dispute with my colleague about using this variables. > > So: have Windows-box machine. On it - runing few different > Java-application, including

JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
Hi. I'm sorry for so kindly question - but needs experts advice... We have a little dispute with my colleague about using this variables. So: have Windows-box machine. On it - runing few different Java-application, including Tomcat. Needs to set memory for Tomcat other, than for all other Java-

Re: To "export" or not, JAVA_OPTS vs. CATALINA_OPTS

2009-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 8/28/2009 1:55 PM, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote: > Currently, our catalina.sh file (running on Redhat Linux) has the > following first line: > > JAVA_OPTS="-Xmx1024m -Xms1024m" > > Two questions: > > 1. What is t

To "export" or not, JAVA_OPTS vs. CATALINA_OPTS

2009-08-28 Thread Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2
Currently, our catalina.sh file (running on Redhat Linux) has the following first line: JAVA_OPTS="-Xmx1024m -Xms1024m" Two questions: 1. What is the difference in doing it that way vs. adding the word "export" in front of it? 2. What benefit/difference, if any, would it be to use CATALINA_