Readme BUS TICKET SYSTEM 1. Project Summary: This is the Fault-Tolerant Baseline Application for the express bus ticket system. Our system is a 3 tier system that uses Apache as webserver. The database is located on mahjongg, the CORBA skeleton is run through the chess and risk server, and the client uses the clue server which is also where the webserver runs. The primary server is chess server and the secondary server is risk server. The replicatio type is the active replication. For the baseline scenario, you can see bus ticket schedule and buy it using a credit card system. You may also cancel the a previously purchased ticket. We assume that our database cannot be corrupted and will be used for the baseline scenario. Therefore it does not need to be set up because it's already running. 2. Replication Type: Active replication 3. Members: heejoonj@, wtang@, mjeung@, wangbonl@, kyuh@ 4. Environments setting in .bashrc file : export CVSROOT=/afs/ece/usr/wangbonl/cvsroot export JAVA_BINDIR=/afs/ece/usr/heejoonj/java5/jdk1.5.0_06/bin export JAVA_HOME=/afs/ece/usr/heejoonj/java5/jdk1.5.0_06 export JAVA_ROOT=/afs/ece/usr/heejoonj/java5/jdk1.5.0_06/jre export JRE_HOME=/afs/ece/usr/heejoonj/java5/jdk1.5.0_06/jre export PATH=/afs/ece/usr/heejoonj/java5/jre1.5.0_06/bin:/afs/ece/usr/heejoonj/java5/jdk1.5.0_06/bin:$PATH export PATH=$PATH:/usr/local/mysql/bin export CLASSPATH_ROOT=$HOME/lib export CLASSPATH=.:$CLASSPATH_ROOT/commons-collections-3.1.jar:$CLASSPATH_ROOT/commons-dbcp-1.2.jar:$CLASSPATH_ROOT/commons-pool-1.2.jar:$CLASSPATH_ROOT/mysql-connector-java-3.1.12-bin.jar:$CLASSPATH_ROOT/log4j-1.2.9.jar:$HOME/config:$HOME/src/FaultSixers 4. Server names and conventions (Please use the below servers for consistency): Database Server : mahjongg Naming server ( where orbd runs) : chess First Server Host : chess Second Server Host : risk Client Host: clue 5. Run programs 1) chess machine a. run naming server : orbd -ORBInitialPort 1050 & b. run server 1 : java BusTicketSystemApp.BusTicketSystemServer -ORBInitialHost chess -ORBInitialPort 1050 1 & c. run recovery server : java RecoveryApp.RecoveryServer -ORBInitialHost chess -ORBInitialPort 1050 1 & 2). RISK machine a. run server : java BusTicketSystemApp.BusTicketSystemServer -ORBInitialHost chess -ORBInitialPort 1050 2& b. run recovery server : java RecoveryApp.RecoveryServer -ORBInitialHost chess -ORBInitialPort 1050 2 & 3) OTHELLO machine a. run Global Fault Manager : java GloRecoveryApp.GloRecoveryServer -ORBInitialHost chess -ORBInitialPort 1050 & 4) Run the client program on CLUE machine java BusTicketSystemApp.BusTicketSystemClient