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>
<servlet-name>yourServlet</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</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.
Wilson
----- Original Message -----
From: "steven melendez" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>