Production Bubble Movie
Download Website to your PC

This web page are instructions to download the CO2_Bubble-Movie-WebSite Directory with all the files necessary in building the Production Bubble Movie WebSite on the Kansas Geological Survey (KGS) server.

You will also need PuTTY on your PC to move the Website to the KGS Server, see next section PuTTY, or some other software. The release.bat and release_help.bat are PC Batch Files that specifically use PuTTY to move the files & directories to the KGS Server. If you use the script you will need to replace CO2_Bubble-Movie to the full path, i.e. c:\users\{your PC name}\Documents\{your path}\CO2_Bubble-Movie-WebSite. It is also stated at the top of both Batch files.

The Production Bubble Movie Application Website is bundled by 2 methods as a ZIP file and as a JAR File. Both will create the CO2_Bubble-Movie-WebSite directory with all the files to build the Production Bubble Movie Website on the KGS Server. The sign_jar.bat is a PC Batch File designed for the Windows Environment, but it shows the procedure for signing the jar file so the JAR file can be used as a Trusted Applet. If you use the script you will need to replace the call "C:\jdk1.7.0_25\bin\" in the script to the JDK directory that you downloaded to your PC in the download.html instructions.


PuTTY

"PuTTY is a free implementation of SSH and Telnet for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.

LEGAL WARNING: Use of PuTTY, PSCP, PSFTP and Plink is illegal in countries where encryption is outlawed. We believe it is legal to use PuTTY, PSCP, PSFTP and Plink in England and Wales and in many other countries, but we are not lawyers, and so if in doubt you should seek legal advice before downloading it. You may find useful information at cryptolaw.org, which collects information on cryptography laws in many countries, but we can't vouch for its correctness.

Use of the Telnet-only binary (PuTTYtel) is unrestricted by any cryptography laws."

To download PuTTY go to, http://www.chiark.greenend.org.uk/~sgtatham/putty/

To log into Kansas Geological Server (KGS) - Gondor, you well need to set up the PuTTY configuration to look at Gondor server Host Name (or IP address) 129.237.140.42 Port 22 as SSH connection type. When you select the "Open" button you will get a "Command Prompt" like window with "login as:", enter webadmin, the password you will need to get from KGS computer services.


Directory Structure of CO2_Bubble-Movie-WebSite

/CO2_Bubble_Movie - directory holds the /lib directory, PDF Help document and the Run.bat PC Batch File for running as an application. This is the working directory for building a CO2_Bubble_Movie.zip file so the user can download the file to their PC and run the Production Bubble Movie as an application.
/WebSite - directory is the Production Bubble Movie Website
/HELP - directory is the Production Bubble Movie Help
   release.bat - Windows Batch file for moving the Production Bubble Movie Website to the KGS Server.
   sign_jar.bat - Windows Batch file for signing the JAR file so it can be used as a Trusted Source.


REMEMBER:
To replace the "C:\jdk1.7.0_25\bin\" with the JDK directory path you downloaded to your PC in the sign_jar.bat file.

Before you run the script you will need the keystore for the Kansas Geological Survey (KGS) web site.

You will need to get the storepass & keypass passwords from the KGS computer services and then replace {password1} and {password2} in the sign_jar.bat file at the jarsigner call.

sign_jar.bat

Sign JAR File so the Production Bubble Movie Applet will be considered as a Trusted Source.

   Procedure

  1. Copy the Bubble_Map.jar file from the /CO2_Bubble-Movie/lib directory to the top level of the directory, i.e. at the same level as the sign_jar.bat file.
  2. Open a Command Prompt window. In a Command Prompt window enter: sign_jar. This will run the jarsigner script.

    C:\jdk1.7.0_25\bin\jarsigner -tsa http://timestamp.digicert.com -keystore "C:\Documents and Settings\{your PC name}\a_kgs_ku_edu.jks" -storepass {password1} -keypass {password2} Bubble_Map.jar server

    If any errors, you will see it in the Command Prompt Window.

  3. The script will automatically copy Bubble_Map.jar to the WebSite Directory.
  4. The script will automatically move the Bubble_Map.jar to the \CO2_Bubble_Movie\lib directory.

release.bat

The PC Batch file release.bat will move the contents of the /WebSite Directory to the KGS Server.

  1. Place your mouse on the \CO2_Bubble_Movie directory. Then right click with your mouse. Select the WinZip menu item. Which will display another list, choose the CO2_Bubble_Movie.zip sub menu item. This will create a CO2_Bubble_Movie.zip file in the top directory. Move the CO2_Bubble_Movie.zip to the \WebSite directory.
  2. Double click on release.bat, which will immediately display a "Command Prompt" Window requesting the password, enter the password for webadmin, the password you will need to get from KGS computer services. The program will move the contents of WebSite up to the KGS Server.
  3. Verify your changes by going to the Production Bubble Movie Web Site, http://www.kgs.ku.edu/PRS/Ozark/GBubbleMap/GBubbleMap.html?SQL=1000149927.

Author: John R. Victorine jvictor@kgs.ku.edu

The URL for this page is http://www.kgs.ku.edu/PRS/Ozark/JAVA_SRC/CO2_Bubble-Movie/upload.html