[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #HCC-956868]: minor documentation note on setenv.sh examples shown on the web.



thanks justin, we'll get it sorted out.

John

> I mentioned this at the Workshop a few days ago, but I figured I drop an 
> email too.
> 
> On y'alls documentation page for the different THREDDS versions ( 4.2, 4.3, 
> etc):
> http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/tutorial/GettingStarted.html
> http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.3/tutorial/GettingStarted.html
> 
> the example setenv.sh file is a little strange in that it defines JAVA_OPTS 
> based on CATALINA_BASE before CATALINA_BASE has been defined.
> 
> #!/bin/sh
> #
> # ENVARS for Tomcat and TDS environment
> #
> JAVA_HOME="/home/tds/GettingStarted/jdk1.7.0_09"
> export JAVA_HOME
> 
> JAVA_OPTS="-Xmx4096m -Xms512m -server -Djava.awt.headless=true 
> -Djava.util.prefs.systemRoot=$CATALINA_BASE/content/thredds/javaUtilPrefs"
> export JAVA_OPTS
> 
> CATALINA_BASE="/home/tds/GettingStarted/apache-tomcat-7.0.32"
> export CATALINA_BASE
> 
> 
> As such, if you parse this file directly (ie sh -x setenv.sh), JAVA_OPTS will 
> not be defined as it "appears" to be defined.  Not sure if this would matter 
> or not...but I might recommend moving CATALINA_BASE in front of JAVA_HOME
> 
> Jrd
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Justin R. Davis
> address@hidden<mailto:address@hidden>
> Research Assistant Scientist
> Department of Civil and Coastal Engineering
> 365 Weil Hall / P. O. Box 116580
> Engineering School of Sustainable Infrastructure & Environment
> University of Florida
> Gainesville, FL 32611-6580
> (352) 392-1436 x1528
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: HCC-956868
Department: Support THREDDS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.