This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Troubleshooting tips Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Troubleshooting tips" Watch "Troubleshooting tips" New topic

Troubleshooting tips

Gus Spier

Joined: Dec 27, 2007
Posts: 5
MacBookPro OSX v 10.4.11
NetBeans 6.0 (not important, except that provides ...)
apache-tomcat 6.0.14

HF Servlets & JSP (Chapter 3) written and, surprisingly, appears to compile!

http://localhost:8080/Beer-v1/form.html returns HTTP 404 - File not found

There is no doubt in my tiny, military mind that I have fat-fingered something somewhere and I have, so help me, examined every key stroke in every file in every directory in the dev and deployment directories.

And, clearly, I haven't figgered it out yet.

So, to get to the Topic, has anyone got troubleshooting tips? I;m looking for a system that I can use to finally track down and kill whatever bug is in my way that I can use over and over ...


Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32305

Welcome to JavaRanch!

Have you check the Tomcat logs yet? They will help narrow down the problem. For example, you could see that the server started and the web app started (or didn't if something is wrong.)

Another troubleshooting tip is to try Tomcat's "welcome" page/URL to make sure Tomcat itself is working.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gus Spier

Joined: Dec 27, 2007
Posts: 5
Ma'am, yes .. I did start at Tomcat welcome page ... and now that I've found catalina.out, I can see that I have a <BLUSH>fat-finger</BLUSH> in the web.xml

So, for the sake of completeness, in this case, the answer is in the apache logs, located at $TOMCAT_HOME/logs/catalina.out


I agree. Here's the link:
subject: Troubleshooting tips
It's not a secret anymore!