ClusterPrerequisites
StepsTo run JBoss and PostgreSQL on a cluster machine, follow these steps: Setup Env VariablesCopy .bash_profile from /afs/ece/usr/tttseng to your home directory. cp /afs/ece/usr/tttseng/.bash_profile ~ Source it. . ~/.bash_profile Now you should have access to Ant, Subversion, and PostgreSQL. Setup PostgreSQLFollow the instructionto create the IRV DB. Make sure the Postmaster is running before you proceed. Checkout IRVGo back to your home directory and checkout the source. svn co http://msepc12.sp.cs.cmu.edu/svn/polaris/classes/analysis Change the ConfigYou'll want to use ejb_cluster.properties, since the JNDI server listens on port 2099 instead of 1099. cd ~/analysis/config/ Create a file called default.properties. The file should contain the following line: conf.ejb = cluster Start JBossType the following command to start JBoss: /afs/ece/class/ece846/java/jboss-3.2.3/bin/run.sh -c team10 Test the InstallationGo back to your analysis directory. cd ~/analysis Do the acceptance test. ant acceptance Hopefully everything should work... Miscellaneous Notes
|