Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

TomCat installation question

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am just starting with in servlet world. I downloaded and installed TomCat 5.5.16 on Win 2000 machine. Under the bin folder, I dont see any bat files like startup.bat, shutdown.bat etc. The files that are present are :-

bootstrap.jar
commons-logging-api.jar
tcnative-1.dll
tomcat5.exe
tomcat5w.exe
tomcat-juli.jar

If I double click on tomcat5.exe, it runs and I can see the TomCat page if I point my browser to localhost. However if I click on the Servlets or JSP examples link, then it reports an error 404. Similarly if I introduce my own servlet under webapps, I get the same error :-

HTTP Status 404 - /servlets-examples/
---------------------------------------------------------------
type Status report
message /servlets-examples/
description The requested resource (/servlets-examples/) is not available.


Is there anything missing in my setup

-Rupak
 
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a point of spelling: it's Tomcat, not TomCat. At least you didn't write TomKat. Googling that will not lead you to any quick answers about servlets
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rupak,
Yes there definitely is some thing wrong with your setup. Did you install it by running installer or just by extracting from the JAR file?
Try re-installation. Also, have you set all the required class paths?

Abhishek
 
Rupak Khurana
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey this Tomcat installation sucks !

I gave another shot to install it on a different XP machine using Windows installable EXE for 5.5.16. I installed it as a service, with all the examples. I set the paths for CATALINA_HOME, JAVA_HOME etc. I rebooted the machine and after that I can see that tomcat service running. But there are no bat files in the bin folder (startup.bat, shutdown.bat). I can point to my localhost and I can see the startup page for Tomcat showing that cat(or lion). But when I click on the servlets examples link, I get 404 error. I dont know whats going on, I had changed the port number from 8080 to 80 during installation as stated in the Manning book for SCWCD.

pls enlighten me.......
 
Rupak Khurana
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I uninstalled and this time unzipped the zip file. set the paths, and run startup.bat and voila!
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic