Can't get Tomcat 4.1 started
When I use startup.bat in the "Tomcat\bin" folder it says:
The CATALINA_HOME environment variable is not defined correctly.
In my "autoexe.bat" I have added the lines:
set JAVA_HOME="D:\Program Files\JSDK1_4_1"
set CATALINA_HOME="C:\Program Files\Tomcat"
so I don't know what the problem is.
Please help, it's driving me nuts!.
try putting the enviroment variables manually.
It's in My Computer > Advanced > Env. Vars
Make sure TOMCAT_HOME is set as well
Also, PHP didn't like being in a dir. named with a space. Try C:\tomcat.
Ok, that worked, the startup.bat is no longer complaining about the CATALINA_HOME variable. Now he's complaining there's not enough enviroment space.
well, if you've defined the variables in the autoexec and via my computer, there may be a duplicate issue.
Not to mention you don't need to define them everytime you start.
Just enter all 3 where I said above and you should be set.
I'm trying to get Tomcat started in win98 so I can't use "my computer". And I'm using Tomcat 4.1 which uses CATALINA_HOME instead of TOMCAT_HOME.
[path\to\java.exe] -jar -Duser.dir="[path\to\tomcat\install]" "[path\to\tomcat\install]\bin\bootstrap.jar" start
C:\j2sdk1.4.1_01\bin\java.exe -jar -Duser.dir="C:\Program Files\Apache Group\Tomcat 4.1" "C:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" start
This should have been created as a shortcut in your startmenu when you installed tomcat.