i am using tomcat on ubuntu linux but i can't get it started.
at some point in time i did: $ sudo apt-get install sun-java5-jdk
then $ 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.
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 ]
Ra Carter
Ranch Hand
Joined: Jul 30, 2005
Posts: 93
posted
0
after some more investigations i found that the tomcat service probably never started successfully and i also found the log files for tomcat which said:
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?
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:
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.