• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • 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: 41860
908
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
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic