Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Installation of Tomcat

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I got a problem about installation of Tomcat.
I've downloaded jarkarta-tomcat-4.0.4.zip and extracted it at C:\
I edited C:\autoexec.bat as follows:
SET CATALINA_HOME=C:\jakarta-tomcat-4.0.4
SET JAVA_HOME=C:\J2SDK1.4.0_01
SET CLASSPATH=C:\jakarta-tomcat-4.0.4\common\lib\servlet.jar;
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.0_01\BIN
I'm using ME.
However, I can't startup the Tomcat.
Whenever I typed C:\jarkarta-tomcat-4.0.4\bin\startup, it got an error
message saying that "The CATALINA_HOME environment variable is not defined
correctly.This environment variable is needed to run this program."
Is it wrong about my settings?
Also, is jarkarta-tomcat-4.0.4.exe functioning same as
jarkarta-tomcat-4.0.4.zip?
Thank you for your help!
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the .exe file does everthing for you so you dont have to worry about setting all the varialbes etc, so in a way its preferrable.
I am sure you have been told the ME is a road crash of an operating system so you are bound to be having some problems but I know other people who have managed to get it working so do keep going.
You need to double check for the existence of those system variables, as they may not have been created despite your adding them to the batch file.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved from Servlets -> Apache/Tomcat

Also: When you set them in autoexec.bat, you have to restart the pc. Also check out these links for Win ME

https://coderanch.com/t/81609/Tomcat/Tomcat-startup-Windows-ME
https://coderanch.com/t/81802/Tomcat/Help-starting-Tomcat
 
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Double-check your installation with this
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic