This content has been marked as final. Show 8 replies
If you think that your JAVA_HOME is defined correctly check if these files are available:
Startup script is looking for these files and if they both exist error message should not be displayed.
Maybe it is something wrong with your jdk instalation.
CATALINA_HOME should points to your tomcat directory
Hi - I am starting to get this eror - although I have run Tomcat for a long time.
However, I originally installed Tomcat on my XP 5.1 system using the Windows installer method - and everything worked fine. That is, fine, until I wanted to run webapps under NetBeans 6.0.1. The problem is that the run application would halt with an error because it could not find the shutdown.bat utility to restart the Tomcat to allow the service to be registered. So, I looked in the 5.5 zip file, and extracted the bat files, and put them in the %CATALINA_HOME%\bin directory, set JAVA_HOME and CATALINA_HOME, and got this error.
I note that the windows Tomcat which uses the Services means to automatically start the service does not require any of these environment variables, and is happy to work away.
I am going to undo my attempted reworking - and will wait to see if the new Tomcat 6 resolves the issue.
The main problem appears to be - at least for me - an issue with the Netbeans not working happily with the windows version of Tomcat. I will check this out with Eclipse to see if I can get web applications coded more successfully there.
If anyone has any work arounds I would be grateful to learn of them.