RE: Context.xml error

2007-07-18 Thread Caldarale, Charles R
> From: Artur Rataj [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > But is not url-pattern defining the page address, and not a > listed directory? The DefaultServlet - the one that produces directory listings - treats the URI path as a webapp subdirectory. &g

Re: Context.xml error

2007-07-18 Thread Artur Rataj
On 7/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Artur Rataj [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > I have a web app that has servlets on /library/*, and want tomcat to > also display some directory listing under /files or

RE: Context.xml error

2007-07-10 Thread Caldarale, Charles R
> From: Artur Rataj [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > I have a web app that has servlets on /library/*, and want tomcat to > also display some directory listing under /files or something like > that. Directory listings are handled by the Defaul

Re: Context.xml error

2007-07-10 Thread Artur Rataj
On 7/9/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: What are you actually trying to accomplish? I have a web app that has servlets on /library/*, and want tomcat to also display some directory listing under /files or something like that. Artur ---

RE: Context.xml error

2007-07-09 Thread Caldarale, Charles R
> From: Artur Rataj [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > So, if an app has additional context for some directory listing, where > it should be defined? Your use of the terminology is in error. An app is a context, and vice versa; the phrase "app ha

Re: Context.xml error

2007-07-09 Thread Artur Rataj
On 7/8/07, Mark Thomas <[EMAIL PROTECTED]> wrote: Because each context.xml file can oly define a single context. So, if an app has additional context for some directory listing, where it should be defined? Artur - To start

RE: Context.xml error

2007-07-08 Thread Caldarale, Charles R
> From: Juha Laiho [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > Looking at that the context data you posted, at least the > first one is missing the path="/..." attribute (which is > required to be unique for all context within a given host >

Re: Context.xml error

2007-07-07 Thread Mark Thomas
Artur Rataj wrote: > Hello. I added a second context to Context.xml: > and tomcat stopped to work: Because each context.xml file can oly define a single context. Mark - To start a new topic, e-mail: users@tomcat.apache.org To u

Re: Context.xml error

2007-07-07 Thread Juha Laiho
Artur Rataj wrote: > Hello. I added a second context to Context.xml: > > > WEB-INF/web.xml > > > docBase="/home/library/islib/Informacja_Ekspresowa/" >reloadable="true"> > > > > and tomcat stopped to work: > > > 2007-07-07 11:23:06 org.apache.tomcat.util.digester.Digester fatalErr

Context.xml error

2007-07-07 Thread Artur Rataj
Hello. I added a second context to Context.xml: WEB-INF/web.xml and tomcat stopped to work: 2007-07-07 11:23:06 org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 20 column 2: The markup in the document following the root element must be well-formed. or