*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Troubleshooting tips" Watch "Troubleshooting tips" New topic
Author

Troubleshooting tips

Gus Spier
Greenhorn

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)
BeerSelect.java 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 ...

regards,

Gus
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Gus,
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.


[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
Greenhorn

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

Thanks,

Gus
 
 
subject: Troubleshooting tips
 
Similar Threads
first program error, something is missing
Head First Servlets and JSP - Ch 3
FIRST EXAMPLE NOT WORKING..!!
Need ur Help
page not found error