• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TomCat installation question

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I uninstalled and this time unzipped the zip file. set the paths, and run startup.bat and voila!
 
reply
    Bookmark Topic Watch Topic
  • New Topic