I'm pretty sure that's a BOM: http://en.wikipedia.org/wiki/Byte_Order_Mark
The web.xml in src/webapp also seems to have it there so I would assume that any/all builds from the solr kit would have the same problem no matter where you downloaded it from. It looks like the BOM got checked in here: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/WEB-INF/web.xml?r1=501174&r2=508859&diff_format=h many third party parsers (like xerces I think) handle this automatically but in general they should be removed. - will -----Original Message----- From: Jason P. Weiss [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 12:36 PM To: solr-user@lucene.apache.org Subject: RE: solr and Oracle 10g App Server It was one I downloaded. However, a quick inspection of the source file indicates the same flaw in the source web.xml: >From >http://svn.apache.org/repos/asf/lucene/solr/trunk/src/webapp/WEB-INF/web.xml: <?xml version="1.0" encoding="UTF-8"?> ^^^---- this is what prevents this from running unmodified on OAS. I suspect other app servers/xml parsers are smart enough to ignore the leading characters rather than blowing chunks on them. Jason -----Original Message----- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 11:25 AM To: solr-user@lucene.apache.org Subject: Re: solr and Oracle 10g App Server Jason P. Weiss wrote: > I had some trouble getting the current production build (1.2.0) > working on 10gR3 (10.1.3.0.0). > > I had to remove 3 bad characters off of the front of the web.xml file > and re-jar the WAR file. It worked perfectly after that minor > modification. > Was this a .war you downloaded from: http://www.apache.org/dyn/closer.cgi/lucene/solr/ or one you built from: http://svn.apache.org/repos/asf/lucene/solr/