Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Troubleshooting tips

 
Gus Spier
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gus Spier
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic