On 16/03/2011 21:27, Lewis John McGibbney wrote:
> Hi Mark
>>
>> Hmm. That suggests a corrupted context.xml file
>>
>>> My configuration descriptor is as follows
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <Context docBase="/home/lewis/Downloads/wombra/wombra.war"
>>> crossContext="true">
>>>   <Environment name="solr/home" type="java.lang.String"
>>> value="/home/lewis/Downloads/wombra" override="true"/>
>>> </Context>
>>
>> But that looks OK. Very odd.
> 
> I had comments included within the context.xml, I have never had
> problems with these in the past and actually found them of use when I
> first started using this method for deploying my web app like this.
> Removing them solves my problem as you suggested. Thank you for your
> sound help

You should be able to keep them as long as you put them after:
<?xml version="1.0" encoding="utf-8"?>

That *must* be the very first thing in the file. Look at the xml files
that ship with Tomcat for examples.

I suspect you got caught out by the fact that Tomcat 7 now validates xml
files by default.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to