RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
for your cooperation. > -Original Message- > From: Christopher Schultz > Sent: Wednesday, June 16, 2021 3:48 PM > To: users@tomcat.apache.org > Subject: Re: CATALINA_OPTS vs JAVA_OPTS > Importance: Low > > Jon, > > On 6/16/21 14:31, jonmcalexan...@wellsfargo

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark Thomas
admins have to bother themselves with environment variables. -chris -Original Message- From: Christopher Schultz Sent: Wednesday, June 16, 2021 11:14 AM To: users@tomcat.apache.org Subject: Re: CATALINA_OPTS vs JAVA_OPTS Noelette, On 6/16/21 11:29, Noelette Stout wrote: Thanks! I was m

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
themselves with environment variables. -chris -Original Message- From: Christopher Schultz Sent: Wednesday, June 16, 2021 11:14 AM To: users@tomcat.apache.org Subject: Re: CATALINA_OPTS vs JAVA_OPTS Noelette, On 6/16/21 11:29, Noelette Stout wrote: Thanks! I was mostly trying to fig

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
Noelette, On 6/16/21 13:31, Noelette Stout wrote: ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor] appl

RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
nesday, June 16, 2021 1:45 PM > To: users@tomcat.apache.org > Subject: Re: CATALINA_OPTS vs JAVA_OPTS > > Service configurations are service configurations. You won't run the other > options as service, so those are for the JVM that is used for the service. And > I'm not aw

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Olaf Kock
or any > information herein. If you have received this message in error, please advise > the sender immediately by reply e-mail and delete this message. Thank you for > your cooperation. > >> -Original Message- >> From: Christopher Schultz >> Sent: Wednesday, June

RE: [Possible Spam] Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark A. Claassen
ility for the posting. -Original Message- From: Noelette Stout Sent: Wednesday, June 16, 2021 1:47 PM To: Tomcat Users List Subject: [Possible Spam] Re: CATALINA_OPTS vs JAVA_OPTS Importance: Low Thanks! That clears things up a lot. I think my admins got confused and did both because

RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
; From: Christopher Schultz > Sent: Wednesday, June 16, 2021 11:14 AM > To: users@tomcat.apache.org > Subject: Re: CATALINA_OPTS vs JAVA_OPTS > > Noelette, > > On 6/16/21 11:29, Noelette Stout wrote: > > Thanks! I was mostly trying to figure out if there was precedence or

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
Thanks! That clears things up a lot. I think my admins got confused and did both because there are some instructions that say to add these in JAVA_OPTS, but those instructions are specifically for Windows servers (we're on RHEL). Thanks everyone for all the info and help. On Wed, Jun 16, 2021 at

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark Thomas
On 16/06/2021 18:31, Noelette Stout wrote: ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor] applications

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor] applications to the same Tomcat server, -Xmx must be incr

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
This confirms something that I was thinking originally, which is that we have no good reason to have both in setenv.sh. I'm pretty sure that these were both mentioned in various pieces of documentation from the application vendor. Their documentation tends to be less than stellar. Combine bad docum

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
Noelette, On 6/16/21 11:29, Noelette Stout wrote: Thanks! I was mostly trying to figure out if there was precedence or if it was additive (i.e. 2GB to tomcat itself and another 2GB to the apps). We're having some resource issues on one of our servers, so I wanted to make sure I understood how th

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
Thanks! I was mostly trying to figure out if there was precedence or if it was additive (i.e. 2GB to tomcat itself and another 2GB to the apps). We're having some resource issues on one of our servers, so I wanted to make sure I understood how the resources were being allocated. On Wed, Jun 16, 20

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Rob Sargent
On 6/16/21 9:06 AM, Noelette Stout wrote: openjdk version "1.8.0_292" On Wed, Jun 16, 2021 at 9:04 AM Rob Sargent wrote: Both as for the same minimum so you should get 2G at start up.  I'm not sure which has precedency but I would be on java opt.  I don't have a catalina env, but you ca

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
openjdk version "1.8.0_292" On Wed, Jun 16, 2021 at 9:04 AM Rob Sargent wrote: > > > > On Jun 16, 2021, at 8:36 AM, Noelette Stout > wrote: > > > > If I have a setenv.sh file that contains: > > CATALINA_OPTS="-server -Xms2048m -Xmx5g" > > JAVA_OPTS="... -Xms2048m -Xmx4g .." > > > > How much m

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Rob Sargent
> On Jun 16, 2021, at 8:36 AM, Noelette Stout wrote: > > If I have a setenv.sh file that contains: > CATALINA_OPTS="-server -Xms2048m -Xmx5g" > JAVA_OPTS="... -Xms2048m -Xmx4g .." > > How much memory is actually being allocated to tomcat and the applications > it is serving up? > > -- > No

CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
If I have a setenv.sh file that contains: CATALINA_OPTS="-server -Xms2048m -Xmx5g" JAVA_OPTS="... -Xms2048m -Xmx4g .." How much memory is actually being allocated to tomcat and the applications it is serving up? -- Noelette Stout ITS Enterprise Applications - Application Administrator - Senior