aspose file tools*
The moose likes Tomcat and the fly likes TomCat installation question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TomCat installation question" Watch "TomCat installation question" New topic
Author

TomCat installation question

Rupak Khurana
Ranch Hand

Joined: Mar 01, 2005
Posts: 89
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


SCJP 1.5<br />SCWCD 1.4
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
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


There is no emoticon for what I am feeling!
Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
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

Joined: Mar 01, 2005
Posts: 89
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

Joined: Mar 01, 2005
Posts: 89
Ok I uninstalled and this time unzipped the zip file. set the paths, and run startup.bat and voila!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TomCat installation question