DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40811


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From [EMAIL PROTECTED]  2007-08-19 08:26 -------
(In reply to comment #5)
> Some supplemental info, following up on my previous post regarding automatic
> deployment (see above)
> 
> According to the official documentation:
> 
>
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> 
> "Any subdirectory within the application base directory  that appears to be an
> unpacked web application (that is, it contains a /WEB-INF/web.xml file) will
> receive an automatically generated Context element, even if this directory is
> not mentioned in the conf/server.xml file"
> 
> What is missing here is a small but important extra statement "... and even if
> it IS mentioned in conf/server.xml".

  That is not only one thing that is missing here. I have a problem with
automatically generated Context element for subdirectory within the application
base directory  that NOT appears to be an unpacked web application (that is, it
DOES NOT contain a /WEB-INF/web.xml file!) And when I try to browse files from
that directory a get an exception. Here is the snippet from tomcat log file

Aug 19, 2007 2:00:41 PM org.apache.jasper.compiler.TldLocationsCache
processWebDotXml
WARNING: Internal Error: File /WEB-INF/web.xml not found
Aug 19, 2007 2:00:42 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)

This comes when I browse a page in a subdirectory, as I mentioned.
I have several subdirs and they are made to serve a certain purpose. I cannot
give them up. I even thought of making each a separate webapp, but it's no good
for me either because they must use one and the same context path.

Does anyone have any idea, how to go around this bug? I think of posting this as
a separate bug for I suprisantly haven't found it posted yet. May be I just
failed to do something of what you know could help here...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to