500049 Video Annotation and Reference System : Tienhou This page last changed on Sep 14, 2007 by brian. ## About tienhou.shore.mbari.org Tienhou is the server used to serve the VARS internal web pages, host the VARS JNLP applications, and run the scripts used for supporting VARS. ## Installing VARS on Tienhou VARS is installed on Tienhou as a stand-alone application (i.e. Not JNLP) in C:\Program Files\VARS and also hosted on Tienhous webserver as JNLP application. Building the stand-alone version: Follow the build instructions using -Denvironment=shore flag Unzip the zip file $VARS/vars-deploy/vars-app/target/vars-VERSION-standalone4shore.zip and copy it's contents into C:\Program Files\VARS on Tienhou. Building the JNLP version: Follow the build instructions using -Denvironment=shore flag Copy the contents of $VARS/vars-deploy/vars-jnlp/target/site to C:\Inetpub\wwwroot\webstart on Tienhou. ## Supporting Scripts
| Scripts have been temporarily moved As of the 2007-09-14, the supporting scripts have been moved to cron jobs running on the computer Elvis as the user 'brian' (aka Brian Schlining). Tienhou is a Windows 2000 machine; it can not handle the long classpath required for running VARS applications. This move is temporary and these scripts will be moved to the Tienhou replacement machine (8 core + 14GB!!) at the end of November 2007.
merge.bat This script merges physical, positional, and camera data from EXPD with VARS annotations using nearest neighbor interpolation. The outcome of the merges are written to te EXPDMergeStatus table in the VARS database on Solstice. updateallrovctd.bat Supporting the samples database, this script updates ROV CTD information for CollectionEvents in the samples database that are missing CTD information updateallsamplekeywords.bat Also supporting the samples database, this script updates keywords (i.e. Concepts) for samplesin the samples database updateurls.bat When the databases on the ships are synched with the shore database, the images for the framegrabs are referenced by file URLs. These URL's need to be converted to web URLs in order to allow users to view them with the Query application. This script locates any file URL's in the CameraData table on Solstice. It then verifies that the image has been uploaded to the image web server. If the image exists on the web server the URL will be changed to reference it. updatevarspub.bat Once a month a DTS job updates the public database stored on Varspub. This script copies images that are referenced on the external database from the internal web server to the external web server. ## Application server Tienhou is running the Tomcat application server. Currently this server is used to hsot the database tests used to show potential problems with the database. The source code for the project is stored in CVS on moonjelly.shore.mbari.org and can be browsed at http://moonjelly/cgi-bin/cvsweb.cgi/iag/brian/vars-web/ The webapps directory where the database test application is stored is C:\Program iles\Apache Software Foundation\Tomcat 5.5\webapps

Document generated by Confluence on Feb 03, 2026 12:59