Need help getting Tomcat to run

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
i have it downloaded, however when i go to run it from cmd, i get errors saying something about an error with catalina configuration. I am running XP pro. is Linux easier to install it on? i have a gentoo install on this comp too.

MIKE
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
Did you set up the CATALINA_HOME environment variable? need to set that to the install directory of Tomcat.

You may also need to reinstall tomcat if you let go to the default directory. I've never had luck with Tomcat running out of a directory with space in the name ('program files').
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
What I did on my most recent tomcat "install"
-unpack tarball
-move to bin directory
-type startup.sh
-see error message about JAVA_HOME and JRE_HOME
-set JAVA_HOME and JRE_HOME
-startup
-profit

Obviously that was on linux but it shouldn't be any different on windows (you could dig into startup.sh and startup.bat if you want to see if there are any differences). Probably all you need to do is set one of those env variables, or CATALINA_HOME, like bunker said, although I believe it defaults to ".." (one above the bin directory) if you don't. You have to be careful if you do set CATALINA_HOME and then try to do a parallel install without changing the version. Even though you run startup in the new bin directory it'll fire up the old version which can be a little confusing :confused: ;)
 

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
I got it to work, i had to reinstall the SDK. for some reason the original install wasnt working correct.

MIKE