Check status of your server:
/etc/init.d/apache2 status
Check if tomcat is running - and the output:
ps -def | grep tomcat
tomcat 31388 1 0 11:53 pts/0 00:00:05 /usr/lib64/jvm/java/bin/java -Djava.endorsed.dirs= -classpath /usr/lib64/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-actions-1.1.1.jar:/usr/share/java/mx4j/mx4j-jmx-1.1.1.jar:/usr/share/java/mx4j/mx4j-tools-1.1.1.jar:/usr/share/java/mx4j/mx4j-jmx.jar -Dcatalina.base=/srv/www/tomcat5/base/ -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/srv/www/tomcat5/base//temp org.apache.catalina.startup.Bootstrap start
root 31806 29163 0 12:13 pts/0 00:00:00 grep tomcat
Add tomcat module to the apache (or something):
a2enmod jk
More to follow here.
1 comment:
check the examples here:
localhost:8080/jsp-examples
Post a Comment