Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Will Tomact 4.0 suffice??

 
Shruti Kale
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hie people!
I had trouble installing Tomcat 5.0 so i settled for Tomcat 4.0 version. I am preparing for SCWCD and the HF clearly says i need Tomcat 5 for the preperation. Which topics will require the new version? I don't want to waste too much time on installing the new server so will it suffice if I start preparing with Tomcat 4.0 itself??
Thanks in advance..
 
Tobin Jackson
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Smriti,

My opinion is this: if you're just starting out and itching to write some basic servlets I would go ahead with 4.0. But keep trying to get 5 up and running.. Eventually, you will want a JSP2.0 and Servlet2.4 compliant container to help iron out the details in your mind.

One BIG diff tho. EL scripting is disabled by default in tomcat4.

Tobin
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi smriti,
Tomcat 5 installation is not that difficult. Can you can post what type of problems you are experiencing ??. Also, you should be able to run all jsp's and servlets in Tomcat 4 also. I'm still waiting for my HF book !!
 
Shruti Kale
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tobin and Giju!
First thing I am not getting the start and stop batch files for Tomact 5.0 on installation so I dont know how to start the server in the first place! Once I solve that issue I will proceed with modiying the classpath variable.
Am I facing the problem coz i already have Tomact 4.0 installed on my machine? Although I did try to uninstall Tomcat 4.0 and then install the new version. Nothing worked though!
Does my post belong to the Tomact forum??
 
Tobin Jackson
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. i have both 4 and 5 on my linux box and they both have startup.sh and shutdown.sh scripts for for *nix and startup.bat, shutdown.bat for Windows.

When i switched from 4 to 5 a couple of weeks ago the only problem I had was figuring out how to make 5 automatically reload/reinstantiate newly compiled servlet classes.

Here's a suggestion if you're on Windows. Try downloading the .zip version. Unzip it.. goto the /bin directory at a dos prompt.. type startup.bat.. and see what happens

Tobin
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 5 runs as a service (if u have selected that option during installation). So just go to the services window and check whether it created one called "Apache Tomcat" !!!
 
Shruti Kale
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing is working for me.
Instead of Start and Stop tomact 5.0 I get options that say Configure Tomcat/Monitor Tomcat. When i click on them I get a pop up error saying- The specified service does not exist as an installed service. Unable to open service Tomact5.
I used the exe for jakarta-tomcat-5.0.281.exe and also jakarta-tomcat-5.0.282.exe.
Am i using the wrong binaries? Their website is awful so I won't be surprised!
 
Raju Sri
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Smithi,

Try to download the jakarta-tomcat-5.0.281.zip file . Once you unzip that you will bet start and stop script files under bin directory.

Cheers
 
Bahadar Khan
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Smitri,

Visit this link
http://jakarta.apache.org/site/binindex.cgi

and don't confuse with the overwhelming download informationand link. Scroll down to the bottom of the page and from bottom the 3rd important link's block says , Tomcat 5.5.1. Under that download 5.5.1.zip. Unzip it in any directory on your any drive then under bin directory you'll find batch files startup.bat etc.

cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic