CGS4825 Assignment 2

Due Tuesday, 7/25 at 11:59pm.

To hand in the assignment, zip your cgs4825 directory and upload it via ocelot: Submitting Homework from Unix

Do not modify your files on ocelot until after your assignment has been graded.

Modify .cshrc

Edit the file named .cshrc in your ~ directory. Place these commands after the

# User additions go below here
#
#
and before any other CLASSPATH statements.
#
#Define the location of Java
#
setenv JAVA_HOME /depot/J2SE-1.5
#
#Define the location of Tomcat
#
setenv TOM_HOME /home/ocelot/aul-user-web/jakarta-tomcat-5.0.19
#
#Add directories and jars to the CLASSPATH
#
setenv CLASSPATH {$HOME}/cgs4825/webapps/ROOT/WEB-INF/classes
setenv CLASSPATH {$CLASSPATH}:{$TOM_HOME}/common/lib/servlet-api.jar
setenv CLASSPATH {$CLASSPATH}:{$HOME}/cgs4825/webapps/your-user-name/WEB-INF/classes

Replace your-user-name with your user name. These commands will allow you to compile java servlets on ocelot.


Configure Apache

In the webapps directory

In the username/WEB-INF directory

In the username web application