tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson Snook" <>
Subject Re: new web application - inconsistent resource not found
Date Thu, 16 Jan 2003 21:50:39 GMT
I am having what appears to be a very similar problem.  What I have gleaned
from reading here is that if your application uses servelets, appropriate
<servlet-mapping> tags in the web.xml file in your 'webapps' directory might
solve your problem.  Something along the lines of:

- <servlet-mapping>

may be what you need (you may need a context in your server.xml file as
well).  However, if your application uses beans I don't think this approach
will work.  If it does, I hope somebody can help both of us because this
problem has been afflicting me for several days now.


----- Original Message -----
From: "steven melendez" <>
To: "Tomcat Users List" <>
Sent: Thursday, January 16, 2003 9:15 PM
Subject: new web application - inconsistent resource not found

> Hi all,
> I'm using tomcat 4.1.18 on windows 98, and am having
> problems setting up new web applications.  There
> doesn't seem to be anything wrong with the web
> applications as I can always get them to work in the
> examples directory, but sometimes I get a resource not
> found error message when trying to access pages in the
> new directories/ web applications.  Sometimes when I
> have this problem I simply copy everything in this
> problem directory and paste it into a new directory
> that I create in webapps, and then it works.
> I am not using server.xml to set up new contexts -
> simply creating a new directory in webapps.  I am
> finding this a bit frustrating, as I restart tomcat,
> restart my machine, and can't get it back, but then
> suddenly it will just work again.  I'm having no
> problems in the examples directory - I can always
> access this content when I am having problems with
> other directories in webapps.
> Any suggestions would be greatly appreciated.
> Thanks,
> -steven
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message