CCL Home Page
Up Directory CCL t026.html
slide

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"

Tomcat install continued

As a root you need to edit the file: /etc/tomcat4/conf/tomcat4.conf since it assumes that you are using open source JDK (Jive) from IBM. Change the JAVA_HOME to point at the top of your Java 2 SDK. In my case I changed it to: JAVA_HOME=/usr/java/j2sdk1.4.0 and immediately below this I added a line:

CLASSPATH=${JAVA_HOME}/lib/tools.jar
Also removed the link to xerces parser, since Java 1.4 comes with JAXP XML parser.
cd /var/tomcat4/common/lib
rm xerces.jar
Then, I started Tomcat as root:
/etc/rc.d/init.d/tomcat4 start
Once Tomcat is running, try to view the examples and documentation by pointing your browser at the root of Tomcat document tree: http://127.0.0.1:8180.

Modified: Wed Feb 20 06:54:40 2002 GMT
Page accessed 342 times since Sun Feb 20 14:17:00 2011 GMT