File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat installation