Artur Rataj wrote:
> Hello. I added a second context to Context.xml:
> 
> <Context reloadable="true" privileged="true">
> <WatchedResource>WEB-INF/web.xml</WatchedResource>
> </Context>
> 
> <Context path="/informacja_ekspresowa"
> docBase="/home/library/islib/Informacja_Ekspresowa/"
>        reloadable="true">
> </Context>
> 
> 
> 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.
> org.xml.sax.SAXParseException: The markup in the document following
> the root element must be well-formed.

...

> 2007-07-07 11:23:06 org.apache.catalina.startup.ContextConfig
> processContextConfig
> SEVERE: Parse error in context.xml for /docs
> org.xml.sax.SAXParseException: The markup in the document following
> the root element must be well-formed.
...


> 2007-07-07 11:23:06 org.apache.catalina.startup.ContextConfig
> processContextConfig
> SEVERE: Occurred at line 20 column 2
> 
> 
> Could you tell me why?

Hmm.. could you tell which of the lines is line 20 in context.xml for /docs?

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 -- and I think this requirement makes the
path attribute mandatory as well).
-- 
..Juha

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to