I have used Tomcat quite a bit but for some reason this install has me stumped.

I have Tomcat 5.5.27 installed on Linux Debian. I su as another user that I installed Tomcat with.

On starting Tomcat, I'm getting the error "The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program"

I have tried everything I can think of. The .sh files in my apache-tomcat/bin directory all have execute privileges, I have put the BASEDIR in the setclasspath.sh file to see if that made a difference.

I am truly stumped!

Any help or guidance will be greatly appreciated!


Posted 8 years ago