Skip navigation.
Home

Tomcat Configuration problem

Al slamo alikom W Rahmat ALLAH

i have problem when i try to start TOMCAT from   $TOMCATHOME/bin/startup.sh

error appear and say

The BASEDIR environment variable is not defined correctly

This environment variable is needed to run this program

What is the basedir environment variable ?

i have set before $CATALINA_HOME and $JAVA_HOME

SALAM 

AHMED ADEL 

 

$CATALINA_HOME


I think you should add $CATALINA_HOME to the classpath.

Ahmed Hashim hashimblog/

Solution

Just give all shell Scripts in  TOMCAT_HOME/bin folder execute because startup and shutdown scripts use it 

 

ahmed@mido:~$ /home/ahmed/apache-tomcat-6.0.13/bin/startup.sh
Using CATALINA_BASE: /home/ahmed/apache-tomcat-6.0.13
Using CATALINA_HOME: /home/ahmed/apache-tomcat-6.0.13
Using CATALINA_TMPDIR: /home/ahmed/apache-tomcat-6.0.13/temp
Using JRE_HOME: /home/ahmed/jdk1.6.0

Ahmed Mohamed Adel