These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for tomcat on the new forum.
what is the best way to install tomcat on ubuntu 8.04 server, I have tried to install it on my server, but it doesn't appear to be working?
There are a couple of apps I want to run on my virtual min servers, but they require tomcat.
Many thanks, Andrew
You're going to have to do better than "it doesn't appear to be working". We can't do anything useful with that.
Errors? Entries in the logs? Something?
--
Check out the forum guidelines!
Without knowing anything about tomcat, I'd still hazard a guess that catalina is looking to find java or tomcat in that bad looking path you got there:
/usr/lib/j2sdk1.5-sun//bin
??? That don't seem right.
One quick trip to google seems to confirm:
Set $CATALINA_HOME var in /etc/profile or /etc/bash.bashrc
export CATALINA_HOME=/path/to/tomcat
then
source /etc/profile
Might have to try this myself soon so let me know how it works out.
it isn't auto-deploying the .war files, I extract them manually, stop tomcat, upload them to the webapps directory, then start teh server and I can't access the apps I just uploaded, I can't access the tomcat admin panel or anything on the tomcat port. I will check to see if I can find any logs.
I found this error:
/usr/share/tomcat5.5/bin/catalina.sh: 348: /usr/lib/j2sdk1.5-sun//bin java: not found
./catalina.sh: 348: /usr/lib/j2sdk1.5-sun//bin java: not found
./catalina.sh: 348: /usr/lib/j2sdk1.5-sun//bin java: not found
./catalina.sh: 348: /usr/lib/j2sdk1.5-sun//bin java: not found
./catalina.sh: 348: /usr/lib/j2sdk1.5-sun//bin java: not found
I am re-installing java to see if that solves the issue.