Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat download

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am trying to download the tomcat to practice JSP/struts but after seeing this links http://tomcat.apache.org/download-55.cgi i am confused and i do not know what to install from that link.


reagrds,

rahul
 
Paras Jain
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If you just want to practice struts/jsp just download the Binary distrubution in the zip format.

Regards,
Paras
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use this link and get the 6.0.13 zip file. Unzip and run the startup.bat in the bin folder
[ May 23, 2007: Message edited by: Mathias Nilsson ]
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are things we should set after downloading the tomact? i cliked on start up but http://localhost:8080 is not working..

plese help me
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to set the following environment variables appropriately

(i) CATALINA_HOME or TOMCAT_HOME to the main/root directory where you have either installed or extracted the Tomcat

(ii) JAVA_HOME environment variable to the main/root direcotry where you have installed J2SDK.

(iii) Run the startup.bat file in the command prompt. Its present in <TOMCAT-INSTALLED-DIR>/bin folder

(iv) Open your browser and type http://localhost:8080. It should work. Just check and make sure you dont have a clash on the PortNumber if your IIS is already running your machine.
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tomcat install is a good tutorial if you are using pc.

If you are using mac os x then just install tomcat in /usr/local/tomcat and set permissons.
check the bin directory for sh start and stop script
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic