The BASEDIR environment variable is not defined correctly
Grrr... I've had this error before, but I couldn't remember at first what the deal was. Then I remembered it... The shells scripts in $CATALINA_HOME/bin aren't executable by default...
cd $CATALINA_HOME/bin
chmod +x *.sh
./catalina.sh start
Using CATALINA_BASE: /Users/michael/dev/apache-tomcat-6.0.13/
Using CATALINA_HOME: /Users/michael/dev/apache-tomcat-6.0.13/
Using CATALINA_TMPDIR: /Users/michael/dev/apache-tomcat-6.0.13//temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Ahh, much better!
Thanks for the solution. I had the same problem when I tried to install Tomcat 6 on Debian. I was smart to chmod +x the shutdown.sh and startup.sh, but was still dumb to forget about the rest.
ReplyDeleteKenno
I had the same problem on Mac OSX - and like you I too forgot. But your post reminded me ;-)
ReplyDeleteWell, this post can still be used... :o)
ReplyDelete