I too have the lines in my conf file:
# you could also override JAVA_HOME here
# Where your java installation lives
# Where your tomcat installation lives
# That change from previous RPM where TOMCAT_HOME
# used to be /var/tomcat.
# Now /var/tomcat will be the base for webapps only
echo "In the config file"
I threw the echo in there to make sure that this file is being included. It is. I also added the exportsabove. But somehow these variables get unset, or reset to something else.
In my investigations it looks like the file dtomcat5 is the culprit.
I've tried running tomcat5 a few ways:
from /usr/bin/tomcat5 start
which asks for a password for the tomcat user id (which I already have set up)
however still has the CATALINA_HOME problem
I've also run the command from /etc/init.d/tomcat5 start
and it too had the CATALINA_HOME problem
I however found out they are all invoking dtomcat5 to run the server.
So there is where I'm looking now to fix it.
As for how I got tomcat,
I did a general YUM update to get everyting and the YUM gave me tomcat5.
So, thanks so far
- but I am still unable to run tomcat5
More help needed.
- Tom Z