| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

InstallationNotes

This version was saved 18 years, 8 months ago View current version     Page history
Saved by PBworks
on October 20, 2005 at 4:01:51 pm
 

As I get feedback from those interested in running the pet store, I will improve the installation. For now, here are some notes to point you in the right direction.

 

| Note: I had the Scheme Pet Store working with the latest version of SISCweb, running on Linux, SUN JDK 1.4, Tomcat 5.0.28. I would assume that other versions would work, but please let me know if you have any problems getting the store to run.

 

Prep work

  • Grab the latest siscweb distribution from http://siscweb.sourceforge.net
  • Grab the source code for the pet store from the DownloadSource page
  • Grap the postgresql JDBC driver from http://jdbc.postgresql.org/download.html
  • Setup the Tomcat server container
  • Make sure that both Tomcat and the siscweb demos work
  • Unpack the pet store source code. I moved the scheme_pet_store directory to $TOMCAT_ROOT/webapps/sps. Lets call this $SPS_ROOT

 

The Database

  • Get a version of postgresql running
  • Edit the Makefile in the $SPS_ROOT/db directory
  • With your postgresql server running, type make create-db and then make load-db. Cross fingers. Find errors, mail them to BenSimon
  • You should review the .sql files in this directory, and confirm that the database was indeed populated with sample data

 

The Web Application

  • Edit $SPS_ROOT/sps.xml file, making sure the correct database connection info is in there
  • Copy $SPS_ROOT/sps.xml to $TOMCAT_ROOT/conf/Catalina/localhost/sps.xml
  • Edit $SPS_ROOT/WEB-INF/web.xml so that it has your correct server host name present
  • Copy sisc-heap.jar, sisc-lib.jar, sisc-opt.jar, sisc.jar and siscweb.jar into $SPS_ROOT/WEB-INF/lib from the siscweb distribution
  • Copy the JDBC jar file into $TOMCAT_ROOT/common/lib/
  • Start up tomcat
  • Visit http:///sps/do/store to see the store application

Comments (0)

You don't have permission to comment on this page.