Last modified: Mon, 04/03/2017 - 17:28
This capture of a terminal session shows the questions and responses for installing LAS v8.x
[rhs@porter ~]$ tar -xzf las.v8.0.rc1.tar.gz
[rhs@dunkel ~]$ cd las.v8.0.rc1
[rhs@dunkel ~/las.v8.0.rc1]$ ./configure
Searching for perl...
Location of perl executable [/usr/bin/perl]
Starting Perl configuration script with /usr/bin/perl...
Configuring V7.0 User Interface...
If you want to install the in-situ examples make sure you've loaded the sample data.
See the installation instructions at: http://ferret.pmel.noaa.gov/LAS/documentation/installer-documentation/installation/ for details.
Location of java executable: [/usr/java/latest/bin/java]
Verifying Java version...
You have a valid version of Java.
Location of ferret executable: [/home/users/tmap/ferret/x86_64-linux/bin/ferret]
Verifying Ferret version. This might take a few minutes...
Do you have a copy of TDS 4 installed?: [yes]
Created a directory for the webapp classes and resources.
You have a valid version of Ferret.
You must now specify the path name the Web client will use
when accessing LAS. Unless you have more than one version of LAS
installed, the default of /las should be fine
Enter path name for LAS: [/las]
Full path of Tomcat JAKARTA_HOME directory where you would like to deploy the servlet: [/usr/local/tomcat] /home/users/rhs/tomcat
Which HTTP port does the Tomcat server use: [] 8920
Enter the full domain name of the Tomcat Server (do not include the port number): [dunkel.pmel.noaa.gov]
Please provide a title for your LAS.
This title will appear in the upper left hand corner of the LAS interface.
Enter a title for the LAS server: [] LAS v8.0
Provide email address(es) for the administrator(s).
Enter a blank separated list email address(es): [] Roland.Schweitzer@noaa.gov
Do you plan to use a proxy pass or connector from the HTTP server to the tomcat server (recommended; instructions below): [yes] no
Creating the /home/users/rhs/tomcat/content/las/conf/server directory.
Creating the /home/users/rhs/tomcat/content/las/conf/server/temp directory.
Creating the /home/users/rhs/tomcat/content/las/conf/server/data directory.
Creating the /home/users/rhs/tomcat/content/las/conf/server/data/dynamic directory for the dynamic data for user defined variables and comparison regridding.
Now setting up the Ferret environment variables for the server...
If you want to change them, edit 'JavaSource/resources/ferret/FerretBackendConfig.xml'
Do you want to install the example data set configuration? [yes]
Are the sample in-situ datasets loaded into your mySQL database? [yes]
Couldn't copy levitus_monthly.html.
Building addXML and the servlet war file.
Buildfile: /home/users/rhs/las.v8.0.rc1/build.xml
addxml-init:
[mkdir] Created dir: /home/users/rhs/las.v8.0.rc1/build
addxml-compile:
[copy] Copying 1 file to /home/users/rhs/las.v8.0.rc1/build
[unjar] Expanding: /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/lib/JSAP_1.03a.jar into /home/users/rhs/las.v8.0.rc1/build
[unjar] Expanding: /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/lib/joda-time-2.1.jar into /home/users/rhs/las.v8.0.rc1/build
[unjar] Expanding: /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/lib/netcdfAll-4.2.jar into /home/users/rhs/las.v8.0.rc1/build
[unjar] Expanding: /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/lib/log4j-1.2.13.jar into /home/users/rhs/las.v8.0.rc1/build
[javac] /home/users/rhs/las.v8.0.rc1/build.xml:261: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 63 source files to /home/users/rhs/las.v8.0.rc1/build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
addxml-build:
[mkdir] Created dir: /home/users/rhs/las.v8.0.rc1/dist/lib
[jar] Building jar: /home/users/rhs/las.v8.0.rc1/dist/lib/addXML.jar
BUILD SUCCESSFUL
Total time: 10 seconds
Buildfile: /home/users/rhs/las.v8.0.rc1/build.xml
revision:
prepare:
[mkdir] Created dir: /home/users/rhs/las.v8.0.rc1/WebContent/docs
[copy] Copying 269 files to /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/classes
[copy] Copied 39 empty directories to 5 empty directories under /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/classes
[mkdir] Created dir: /home/users/rhs/las.v8.0.rc1/conf/server/custom/las_servlet/src
[mkdir] Created dir: /home/users/rhs/las.v8.0.rc1/conf/server/custom/las_servlet/web/images
compile:
[javac] Compiling 548 source files to /home/users/rhs/las.v8.0.rc1/WebContent/WEB-INF/classes
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/product/server/ProductServerAction.java:72: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] import com.sun.rowset.WebRowSetImpl;
[javac] ^
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/service/database/DatabaseTool.java:36: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] import com.sun.rowset.WebRowSetImpl;
[javac] ^
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/product/server/Cache.java:42: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] this.maxBytes = maxBytes;
[javac] ^
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/jdom/LASBackendResponse.java:576: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] rowset = new WebRowSetImpl();
[javac] ^
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/product/server/ProductServerAction.java:872: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] webrowset = new WebRowSetImpl();
[javac] ^
[javac] /home/users/rhs/las.v8.0.rc1/JavaSource/gov/noaa/pmel/tmap/las/service/database/DatabaseTool.java:296: warning: WebRowSetImpl is internal proprietary API and may be removed in a future release
[javac] webrowset = new WebRowSetImpl();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 6 warnings
dist:
[war] Building war: /home/users/rhs/las.v8.0.rc1/las.war
deploy:
[delete] Deleting directory /home/users/rhs/tomcat/webapps/thredds/WEB-INF/classes/gov/noaa/pmel/tmap
[delete] Deleting directory /home/users/rhs/tomcat/webapps/thredds/WEB-INF/classes/resources/iosp
[copy] Copying 21 files to /home/users/rhs/tomcat/webapps/thredds/WEB-INF/classes
[copy] Copying 1 file to /home/users/rhs/tomcat/webapps/thredds/WEB-INF/classes/resources/iosp
[delete] Deleting directory /home/users/rhs/tomcat/webapps/las
[copy] Copying 1 file to /home/users/rhs/tomcat/webapps
BUILD SUCCESSFUL
Total time: 22 seconds
You can test your F-TDS setup by running the LASTest suite.
To run the tests run these commands.
cd test/LASTest
ant lastest -Df=1
You must restart your Tomcat server.
We've created some scripts to help you do that. See: stopserver.sh, startserver.sh and rebootserver.sh
Your user interface to LAS is at: http://dunkel.pmel.noaa.gov:8920/las/
[rhs@dunkel ~/las.v8.0.rc1]$