Wednesday, January 20, 2010

Resolving permission issue with Tomcat

When you download and start running, you might get following error.

The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program

To resolve this;
1) Check $CATALINA_HOME and $JAVA_HOME set properly.

2) Check whether the relevant files in $CATALINA_HOME/bin have necessary permissions required for execution.

$ chmod u+x
$ chmod +x ./
$ chmod +x ./
$ chmod +x ./

No comments: