A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Tomcat newbie very simple question.
Joined: Jul 15, 2006
Jun 15, 2007 19:59:00
Started tomcat by clicking on the $CATALINA_HOME/bin/tomcat5.exe.
Trying to hit the following URLs just to see if Tomcat works as a web server
I'm getting 404 no matter what I hit..
Am I missing something.. is downloading Tomcat, starting Tomcat exe (without changing anyhting) and then hitting the example webapps should work right?
Do I need to modify an XML file somewhere?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jun 16, 2007 07:06:00
The best way to start Tomcat when you are a newbie is to open a command prompt window, navigate to the _tomcat_\bin directory, execute start.bat. (Im assuming Tomcat was not installed as a service.)
The start.bat process checks to see if various environment variables are set correctly - without them, nothing will work. By using the command prompt window you are able to see some error messages.
Why did you think that clicking on tomcat.exe was the way to start?
Joined: Jul 15, 2006
Jun 18, 2007 10:46:00
The self executing Windows install of 5.5.23 (the distro) does not ship with a start.bat.
Here's what I have in my "C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin"
Joined: Dec 11, 2004
Jun 18, 2007 11:27:00
If you installed it as an exe, you had the option to install both the start menu items and the Windows Service.
Start-> Programs -> Apache Tomcat
Or fire up your Windows Services screen and you should see an entry called Apache Tomcat
Oh, and there was also an optional systray Icon that can be used to start/stop Tomcat
[ June 18, 2007: Message edited by: Ben Souther ]
How to ask a question...
Simple Servlet Examples
subject: Tomcat newbie very simple question.
Running JSP on TomCat
Is it possible, More than one tomcat running in the one system?
How to run JSP file in tomcat server
Where do you put your jars in order to run under Tomcat Server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014