Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incorrect $CATALINA_HOME? 1

Status
Not open for further replies.

mboswort

Programmer
May 23, 2006
16
US
I am trying to start up tomcat here on my unix server, but I get this:
creating `/usr/local/tomcat/logs/catalina.out': No such file or directory
My tomcat server is not located in /usr/local/tomcat/. How can I change the $CATALINA_HOME variable so that it points to the correct directory?
 
export CATALINA_HOME=/where/it/should/be

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
either add that line into the catalina.sh script, or execute the line before you call catalina.sh.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
thanks. it turns out there are actually a number of lines that need to be added. is there a quick fix to moving tomcat into a different directory than the default /usr/... one, or do i need to poke around until i've found all the false references?
 
You can move tomcat wholesale, as long as you set two environment variables :

JAVA_HOME
CATALINA_HOME

Thats it.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top