This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat installation" Watch "tomcat installation" New topic
Author

tomcat installation

Arul Jose
Ranch Hand

Joined: Jan 14, 2005
Posts: 131
[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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Have you checked out Aspose?
 
subject: tomcat installation
 
It's not a secret anymore!