• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic