Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat installation

 
Arul Jose
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[aruljose@aruljose bin]$ startup.sh
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program

where to set the BASEDIR?

i already tried setting in setclasspath.sh, catalina.sh and .bashrc.

i tried setting it to the tomcat home
/home/arulhttp://web/jose/appl/tomcat/jakarta-tomcat-5.0.28

its still showing the same message

jose
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't set it.
The startup scripts do.

What environment variables have you set?

On a Unix system, unless I'm running more than one instance of Tocmat from the same code base, I only set JAVA_HOME. I let the scripts take care of CATALINA_HOME and CATALINA_BASE.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic