5 posts / 0 new
Last post
#1 Sun, 05/17/2009 - 08:10
anwoke8204

tomcat

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

Sun, 05/17/2009 - 10:40
Joe
Joe's picture

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!

Sun, 05/17/2009 - 15:06 (Reply to #2)
mrwilder

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.

Sun, 05/17/2009 - 14:15
anwoke8204

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.

Sun, 05/17/2009 - 14:31
anwoke8204

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.

Topic locked