Re: Tomcat 8.5.5 variables

2016-09-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

OSP,

On 9/26/16 12:47 AM, Linux Support wrote:
> Hi All,
> 
> The environment :
> 
> Using CATALINA_BASE:   /apps/TOMCAT/tomcat Using CATALINA_HOME: 
> /apps/TOMCAT/tomcat Using CATALINA_TMPDIR: /apps/TOMCAT/tomcat/temp
> Using JRE_HOME:/usr Using CLASSPATH: 
> /apps/TOMCAT/tomcat/bin/bootstrap.jar:/apps/TOMCAT/tomcat/bin/tomcat-j
uli.jar
>
>
> 
Server version: Apache Tomcat/8.5.5
> Server built:   Aug 31 2016 19:51:16 UTC Server number:  8.5.5.0
> OS Name:SunOS OS Version: 5.11 Architecture:   sparcv9
> JVM Version:1.8.0_92-b14 JVM Vendor: Oracle Corporation
> 
> I need to setup CATALINA_OPTS and JAVA_OPTS for the application to 
> be deployed. Where do i set them up ? Am i to create a 
> environment.sh file in CATALINA_HOME/bin ?
> 
> Further, will the catalina.sh start invoke those variables defined 
> ?

I know it's repetitious (other replies have the correct answer), but
the catalina.sh file tells you exactly how to do this:

# Do not set the variables in this script. Instead put them into
# a script setenv.sh in CATALINA_BASE/bin to keep your
# customizations separate.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJX6ttQAAoJEBzwKT+lPKRYWtEQAKPRgmTfKVbcJY2XiPU6q6y+
VxCz89HXSlf7Pk7dWZuvAiBuO74hACOcUei+1D1zGlLbN+tZRStVZm/9Kg9xHlB3
+H6Z30DWqoOy1Gyc752mpPYd3SP7DdA+u3edvXf/q4deuyJPlEwJ2zzjo0r0jtv/
j4nexfRZkkKKoHW/j4MpRD784LC12n1f+OH8BHO7I0F+0BnP9FiNmaDaAIn/U3SX
3ScD+Ryeu3QOaDkImBBz5s+VMwBq4piBvcqt9zzR879WnaN4snc19YI8cCOm76jg
dTFQjeOWmOJSiV/wcGuZqHVb8DCji50SRGdP4kETnzQqEVMSJ1Tv3FFjGxm4btv2
f6/ES1dwhytWLDI89LEsf0y5H4cxp4GfgD6uc8HkYyXUA6+XbFAH4oYFoRhZGVO2
zMyoD2/WFXp5SVOm/7UY4LcaxXqOBlN8XOO8hJUVDd+Q0G+byQoiRtG6o1b39Twq
mDwZWj4MakW7bxY7S8Ye9pECFgrZ0qHx/2hHmYtFnuEL/9l8CHUrSPWc93N2nTh4
jJKQX+pl936o2j93LJAYsJOvEQ2Oh+nfUnZoJRFAtfKQ8+VnSqHT67t9snv7Q5TR
/sTIICVNLm9eU6CDJBLnQm85BPmCyQSgPymfBG+5WK6exYoEju4XuP79fp1UWzGl
gojeaovJ7yRW7UMYdasL
=PEgk
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat 8.5.5 variables

2016-09-26 Thread Lulseged Zerfu
Hi
You can add these variables in bin/setenv.sh which will be picked up by  the 
startup.sh
BRLulseged

> From: ossuppor...@gmail.com
> Date: Mon, 26 Sep 2016 14:47:08 +1000
> Subject: Tomcat 8.5.5 variables
> To: users@tomcat.apache.org
> 
> Hi All,
> 
> The environment :
> 
> Using CATALINA_BASE:   /apps/TOMCAT/tomcat
> Using CATALINA_HOME:   /apps/TOMCAT/tomcat
> Using CATALINA_TMPDIR: /apps/TOMCAT/tomcat/temp
> Using JRE_HOME:/usr
> Using CLASSPATH:
> /apps/TOMCAT/tomcat/bin/bootstrap.jar:/apps/TOMCAT/tomcat/bin/tomcat-juli.jar
> Server version: Apache Tomcat/8.5.5
> Server built:   Aug 31 2016 19:51:16 UTC
> Server number:  8.5.5.0
> OS Name:SunOS
> OS Version: 5.11
> Architecture:   sparcv9
> JVM Version:1.8.0_92-b14
> JVM Vendor: Oracle Corporation
> 
> I need to setup CATALINA_OPTS and JAVA_OPTS for the application to be
> deployed. Where do i set them up ? Am i to create a environment.sh file in
> CATALINA_HOME/bin ?
> 
> Further, will the catalina.sh start invoke those variables defined ?
> 
> Cheers
> OSP
  

RE: Tomcat 8.5.5 variables

2016-09-25 Thread Chandrashekar H . S
Can be done by setting the CATALINA_OPTS and JAVA_OPTS in bin/setenv.sh file

-Original Message-
From: Linux Support [mailto:ossuppor...@gmail.com] 
Sent: 26 September 2016 10:17
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Tomcat 8.5.5 variables

Hi All,

The environment :

Using CATALINA_BASE:   /apps/TOMCAT/tomcat
Using CATALINA_HOME:   /apps/TOMCAT/tomcat
Using CATALINA_TMPDIR: /apps/TOMCAT/tomcat/temp
Using JRE_HOME:/usr
Using CLASSPATH:
/apps/TOMCAT/tomcat/bin/bootstrap.jar:/apps/TOMCAT/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.5
Server built:   Aug 31 2016 19:51:16 UTC
Server number:  8.5.5.0
OS Name:SunOS
OS Version: 5.11
Architecture:   sparcv9
JVM Version:1.8.0_92-b14
JVM Vendor: Oracle Corporation

I need to setup CATALINA_OPTS and JAVA_OPTS for the application to be deployed. 
Where do i set them up ? Am i to create a environment.sh file in 
CATALINA_HOME/bin ?

Further, will the catalina.sh start invoke those variables defined ?

Cheers
OSP


Tomcat 8.5.5 variables

2016-09-25 Thread Linux Support
Hi All,

The environment :

Using CATALINA_BASE:   /apps/TOMCAT/tomcat
Using CATALINA_HOME:   /apps/TOMCAT/tomcat
Using CATALINA_TMPDIR: /apps/TOMCAT/tomcat/temp
Using JRE_HOME:/usr
Using CLASSPATH:
/apps/TOMCAT/tomcat/bin/bootstrap.jar:/apps/TOMCAT/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.5
Server built:   Aug 31 2016 19:51:16 UTC
Server number:  8.5.5.0
OS Name:SunOS
OS Version: 5.11
Architecture:   sparcv9
JVM Version:1.8.0_92-b14
JVM Vendor: Oracle Corporation

I need to setup CATALINA_OPTS and JAVA_OPTS for the application to be
deployed. Where do i set them up ? Am i to create a environment.sh file in
CATALINA_HOME/bin ?

Further, will the catalina.sh start invoke those variables defined ?

Cheers
OSP