On 16/03/2011 20:26, Martin Gainty wrote:

Please ignore everything Martin wrote. As usual, it is a combination of
irrelevant, inaccurate and misleading information.

Mark

> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> //notice UTF is all caps 
> 
> <Context docBase="${catalina.home}/webapps/manager" privileged="true" 
> antiResourceLocking="false" antiJARLocking="false">
> 
> docBase:
> Do not choose a docBase that starts with your Host's appBase string. 
> The default appBase is "webapps" so do not choose a docBase like
>         "webapps-foo."  Doing so will lead to deployment errors: see 
>         Bugzilla for details.
>         The value of this field must not be set when the Context is
>         configured using a META-INF/context.xml file as it will be
>         inferred by the automatic deployment process.
> use either META-INF/context.xml or specify docBase in <Context but you should 
> not have docBase defined in both places
> 
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
> 
> hth
> Martin Gainty 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene 
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte 
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht 
> dient lediglich dem Austausch von Informationen und entfaltet keine 
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von 
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
> destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
> l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
> est interdite. Ce message sert à l'information seulement et n'aura pas 
> n'importe quel effet légalement obligatoire. Étant donné que les email 
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
> aucune responsabilité pour le contenu fourni.
> 
> 
> 
> 
>> Subject: Solr on new Tomcat 7.0.11
>> From: lewis.mcgibb...@gmail.com
>> To: users@tomcat.apache.org
>> Date: Wed, 16 Mar 2011 17:19:37 +0000
>>
>> Hello list,
>>
>> Is anyone running Solr (in my case 1.4.1) on above Tomcat dist? In the
>> past I have been using guidance in accordance with
>> http://wiki.apache.org/solr/SolrTomcat#Installing_Solr_instances_under_Tomcat
>> but having upgraded from Tomcat 7.0.8 to 7.0.11 I am having problems
>> E.g.
>>
>> INFO: Deploying configuration descriptor wombra.xml < This is my context
>> fragment
>> from /home/lewis/Downloads/apache-tomcat-7.0.11/conf/Catalina/localhost
>> 16-Mar-2011 16:57:36 org.apache.tomcat.util.digester.Digester fatalError
>> SEVERE: Parse Fatal Error at line 4 column 6: The processing instruction
>> target matching "[xX][mM][lL]" is not allowed.
>> org.xml.sax.SAXParseException: The processing instruction target
>> matching "[xX][mM][lL]" is not allowed.
>> ...
>> 16-Mar-2011 16:57:36 org.apache.catalina.startup.HostConfig
>> deployDescriptor
>> SEVERE: Error deploying configuration descriptor wombra.xml
>> org.xml.sax.SAXParseException: The processing instruction target
>> matching "[xX][mM][lL]" is not allowed.
>> ...
>> some more
>> ...
>>
>> 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>
>>
>> Preferably I would upload a WAR file, but I have been working well with
>> the configuration I have been using up until now therefore I didn't
>> question change.
>> I am unfamiliar with the above errors. Can anyone please point me in the
>> right direction?
>>
>> Thank you
>> Lewis
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>                                         


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

Reply via email to