Hi I'm trying to install TomCat on Windows 2000 - should be simple enough - downloaded and installed TomCat. Then I've set the %CATALINA_HOME% (and now also %CATALINA_BASE%). Then I open up the command window....and execute '%CATALINA_HOME%\bin\startup' ......and that displays the following: using CATALINA_BASE: C:\tomcat\jakarta-tomcat-4.0.3-src using CATALINA_HOME: C:\tomcat\jakarta-tomcat-4.0.3-src\catalina\src using CATALINA_TMPDIR: C:\tomcat\jakarta-tomcat-4.0.3-src\temp using JAVA_HOME: C:\jdk1.3.1_09
but unfortunately that is all I get.....and tomcat is definitely not available on port 8080 so I assume it hasn't started. Bearing in mind I don't get an error message I wonder where the problem is. The values used by the environment seem to be correct? Thanks
The normal startup.bat creates a new Command Prompt window where the catalina.bat file runs - if you get an early error, that window opens and vanishes in the blink of an eye. I suggest modifying startup.bat to run catalina.bat in the existing open window by changing the line in startup.bat:
that way you can at least get an error message. Also, I recommend being "in" the bin directory when executing startup.bat Bill
Thanks, the error now appears as: Exception in thread "main" java.lang.NoClassDefFoundError: apache/catalina/startup/Bootstrap did I miss something somewhere?
Author and all-around good cowpoke
Joined: Mar 22, 2000
That error does not ring a bell with me. I notice you have SDK 1.3.1 and Tomcat 4.0.3 - these are not anywhere near the latest versions. Also, as I recall, Tomcat 4 had two downloadable versions, one that depended on SDK 1.4 and one that would work with 1.3 - are you sure you have the right ones. Bill