Contour Line

May 30, 2007

Dropping in bodington.war

Filed under: Uncategorized — jmarca @ 1:22 pm

Well, turns out that dropping bodington.war into the Tomcat server does work without a hitch if you do the dropping from within the Tomcat Manager application. I just upgraded this morning from Tomcat 5.5 to Tomcat 6.0, and so I decided to try the “drop in” route for deploying Bodington.

It is still true that you have to add the database driver libraries under WEB-INF /lib in order to get your chosen database to be visible to the setup screen. So the rules are:

  1. use Tomcat manager to deploy bodington.war
  2. copy your db jar files to bodington/WEB-INF/lib/.   Or as Matthew pointed out in the comments, your Tomcat install may already have the proper db library jar files located in $CATALINA_HOME/lib.
  3. use Tomcat manager to restart bodington, if you added db jar files to the web app.
  4. log in as sysadmin (read the bodington/WEB-INF/adminpw.txt file for the password)
  5. follow the configuration dialogs
  6. when you’re up and running, delete the adminpw.txt file, or make it invisible to the world or something.

Blog at WordPress.com.