Re: solr and Oracle 10g App Server
many third party parsers (like xerces I think) handle this automatically but in general they should be removed. rev 561050 ryan
RE: solr and Oracle 10g App Server
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:  ^^^ 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/
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:  ^^^ 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/
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/
RE: solr and Oracle 10g App Server
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. Jason -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 2:13 AM To: solr-user@lucene.apache.org Subject: Re: solr and Oracle 10g App Server i noticed this message while catching up on some mail backlog ... i don't know anything baout Oracle's app server, but some creative googling for the error message you cited suggests to me that "Failed in uploading archive. Invalid archive file:" is a common error message preamble anytime Oracle's app server hasa problem starting up a war the "Start of root element expected" part of the message might be the message from an exception from Solr relating to a config file -- or it might relate to anoracle specific config file ... i have no idea. here's a similar error someone incountered where a very similar message refered to a problem with the "oracle-webservices.xml" file perhaps htat file is not welformed on your system... http://forums.oracle.com/forums/thread.jspa?messageID=1800964 ...i'm not sure that anyone in the solr community can provide you much help without some more detailed info about what kinds of errors you re getting from the actual messages logged by Solr. : I've tried to deploy the solr war file in Oracle 10G, but keep getting : the following error: : : " Failed in uploading archive. Invalid archive file: Start of root : element expected." -Hoss
Re: solr and Oracle 10g App Server
i noticed this message while catching up on some mail backlog ... i don't know anything baout Oracle's app server, but some creative googling for the error message you cited suggests to me that "Failed in uploading archive. Invalid archive file:" is a common error message preamble anytime Oracle's app server hasa problem starting up a war the "Start of root element expected" part of the message might be the message from an exception from Solr relating to a config file -- or it might relate to anoracle specific config file ... i have no idea. here's a similar error someone incountered where a very similar message refered to a problem with the "oracle-webservices.xml" file perhaps htat file is not welformed on your system... http://forums.oracle.com/forums/thread.jspa?messageID=1800964 ...i'm not sure that anyone in the solr community can provide you much help without some more detailed info about what kinds of errors you re getting from the actual messages logged by Solr. : I've tried to deploy the solr war file in Oracle 10G, but keep getting : the following error: : : " Failed in uploading archive. Invalid archive file: Start of root : element expected." -Hoss
solr and Oracle 10g App Server
Hi, I've tried to deploy the solr war file in Oracle 10G, but keep getting the following error: " Failed in uploading archive. Invalid archive file: Start of root element expected." I've searched the mailing lists and google'd around for any pointers, but have not had any luck finding anything immediately useful. The version of solr I am using is 1.2.0 - and Oracle 10g App Server on Solaris 10. Any pointers would be greatly appreciated. Regards, R