> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] 
> Subject: error with tomcat HTTP Status 404 The requested 
> resource() is not available
> 
> c:\tomcay6.0\conf\Catalina\localhost\tomas.xml

I hope that was tomcat6.0, not tomcay6.0.

> <Context docBase="d:/examplestomcat">

You're missing the closing slash; the above should be:
<Context docBase="d:/examplestomcat"/>

> I wrote http://127.0.0.1:8080/tomas, but at the end I can see 
> anything, just show me an error.
> 
> the error is:
> 
> HTTP Status 404 - /tomas/

Did you put a welcome file in D:\examplestomcat?  If not, you should get a 404.

> The requested resource (/tomas/) is not available.

What's in the Tomcat logs?  Did you get any errors trying to deploy the webapp?

> I don't know what should I do with the web.xml.

Read the servlet spec, and build a web.xml appropriate for your webapp.

> I just copied the orginal web.xml from tomcat directory 

What Tomcat directory?  There are numerous web.xml files distributed with 
Tomcat.  Regardless, copying any existing web.xml is almost always wrong.

> to d:/examplestomcat/web.xml

That's not where web.xml belongs, even if you had an appropriate one.  Read the 
servlet spec.  Also read this:
http://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to