at some point in time i did:
$ sudo apt-get install sun-java5-jdk
$ sudo apt-get install tomcat5.5
then because tomcat told me to when i tried to start it, i updated /etc/default/tomcat5.5 with JAVA_HOME=/usr/bin
($ which java gives me /usr/bin/java by the way)
finally I go:
$ sudo /etc/init.d/tomcat5.5 start
Starting Tomcat 5 servlet engine using Java from /usr/bin: tomcat5.5.
BUT i dont get any webpage when i navigate to http://localhost:8080
i turned off any firewall settings just in case. i dont even know where to start troubleshooting now. any suggestions?
[ March 26, 2007: Message edited by: Ben Souther ]
Using CATALINA_BASE: /var/lib/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /var/lib/tomcat5.5/temp
Using JRE_HOME: /usr/bin
Using Security Manager
/usr/share/tomcat5.5/bin/catalina.sh: 323: /usr/bin/bin/java: not found
so I updated the JAVA_HOME entry in /etc/default/tomcat5.5 to say JAVA_HOME=/usr
the last entry in the log files seem to indicate that tomcat started?
INFO: Server startup in 11404 ms
but still nothing on http://localhost:8080 or http:/localhost:80
i found out that the port is specified in /var/lib/tomcat5.5/conf/server.xml and that it was 8180 by default on my installation. tomcat worked when i went to http://localhost:8180
but the next problem i have is when I try to execute the JSP examples, I get this error:
[ March 25, 2007: Message edited by: Ra Carter ]
This is now an actual JSP problem so I'm going to move it back to the JSP forum.
There is a lot of information in the JSP FAQ for helping to insure that you've got the proper JSTL libraries for the version of the container you're using, as well as making sure your declarations are right. Take a look there and make sure you've got every thing right.