On 16/03/2011 17:19, Lewis John McGibbney wrote: > Hello list, > > Is anyone running Solr (in my case 1.4.1) on above Tomcat dist?
I'm not but... > > INFO: Deploying configuration descriptor wombra.xml < This is my context > fragment > from /home/lewis/Downloads/apache-tomcat-7.0.11/conf/Catalina/localhost Looks OK so far. > 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. 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. > 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? The error is coming directly from the SAX parser. Is there a complete stack trace in the logs? There should be. If there is, it might help us figure out what is going on. A quick Google suggests that there might be some whitespace before "<?xml ...". If I add some whitespace in my test case I see the same error. Check the file in a text editor. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org