Re: 404 resource not found

2006-01-28 Thread Mark Space

Mark Space wrote:

I've already tried increasing the logging to debug, but I see 
nothing untoward in the logs, just a lot of [info].  I've tried 
eyeballing the web.xml file and the directory paths several times and 
I can see my typo.  I



That's should have been can't see my typo...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 404 resource not found

2006-01-28 Thread Caldarale, Charles R
 From: Mark Space [mailto:[EMAIL PROTECTED] 
 Subject: 404 resource not found
 
 2. The app is installed in (Tomcat_home)/webapps/ROOT/Beer-v1

That's at least one problem - your app should be under webapps, not
webapps/ROOT.  Your app was never deployed.  Follow the examples.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 404 resource not found

2006-01-28 Thread Caldarale, Charles R
 From: Mark Space [mailto:[EMAIL PROTECTED] 
 Subject: Re: 404 resource not found
 
 So, is ROOT the default app?  This said to use ROOT: 
 http://www.coreservlets.com/Apache-Tomcat-Tutorial/

I'd suggest using the real Tomcat and Servlet documentation first, and
then referring to 3rd party doc only if necessary for clarification -
but beware, since a good bit of it is out of date and some simply wrong.

ROOT indeed is the location of the default app, and apps are not
intended to be nested inside one another.  Note that the above tutorial
always uses webapps/ROOT/WEB-INF, not webapps/ROOT/myapp/WEB-INF like
you tried to do.  All the examples in that tutorial are merely providing
extra pages for the default app rather than additional apps.

I'd also suggest reading the servlet spec from the Sun web site, as it
provides much detail that is intentionally not duplicated in the Tomcat
doc.  You can get the spec here:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]