• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Troubleshooting tips

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41147
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic