lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glock, Thomas" <thomas.gl...@pfizer.com>
Subject RE: Getting update/extract RequestHandler to work under Tomcat
Date Tue, 03 Nov 2009 22:50:03 GMT
Follow-up - 

This is now working (sadly I'm not sure exactly why!) but I've
successfully used curl (under windows) and the following examples to
parse content

curl
http://localhost:8080/apache-solr-1.4-dev/update/extract?extractOnly=tru
e --data-binary @curl-config.pdf  -H "Content-type:application/pdf"
curl
http://localhost:8080/apache-solr-1.4-dev/update/extract?extractOnly=tru
e --data-binary @curl-config.html  -H "Content-type:text/html"
curl
http://localhost:8080/apache-solr-1.4-dev/update/extract?extractOnly=tru
e --data-binary @c:/EnterpriseSearchSummit.ppt  -H
"Content-type:application/vnd.ms-powerpoint" 

The solr-cell jar is being loaded as well as other jars from the contrib
and dist directories see list below. 

Regarding files being located in the webapps structure - I did that
because I wanted to try and keep 1.3 running under the same instance of
tomcat as 1.4 and thought there might be difficulties specificing Solr
Home via the tomcat java configuration.  I've since removed the 1.3
instance. 

(I removed the replaceClassLoader lines for readability)

.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/asm-
3.1.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/bcma
il-jdk14-136.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/bcpr
ov-jdk14-136.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/comm
ons-codec-1.3.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/comm
ons-compress-1.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/comm
ons-io-1.4.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/comm
ons-lang-2.1.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/comm
ons-logging-1.1.1.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/dom4
j-1.6.1.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/font
box-0.1.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/gero
nimo-stax-api_1.0_spec-1.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/icu4
j-3.8.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/jemp
box-0.2.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/log4
j-1.2.14.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/neko
html-1.9.9.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/ooxm
l-schemas-1.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/pdfb
ox-0.7.3.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/poi-
3.5-beta6.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/poi-
ooxml-3.5-beta6.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/poi-
scratchpad-3.5-beta6.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/tika
-core-0.4.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/tika
-parsers-0.4.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/xerc
esImpl-2.8.1.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/xml-
apis-1.0.b2.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/extraction/lib/xmlb
eans-2.3.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/dist/apache-solr-cell-1.4-d
ev.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/dist/apache-solr-clustering
-1.4-dev.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/carr
ot2-mini-3.1.0.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/comm
ons-lang-2.4.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/ehca
che-1.6.2.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/goog
le-collections-1.0-rc2.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/jack
son-core-asl-0.9.9-6.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/jack
son-mapper-asl-0.9.9-6.jar' to classloader
.../Tomcat%206.0/webapps/apache-solr-1.4-dev/contrib/clustering/lib/log4
j-1.2.14.jar' to classloader
Nov 3, 2009 3:05:03 PM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Nov 3, 2009 3:05:03 PM org.apache.solr.core.SolrCore <init>
INFO: Opening new SolrCore at .\webapps\apache-solr-1.4-dev\solr\,
dataDir=.\webapps\apache-solr-1.4-dev\solr\data\
-----Original Message-----
From: Chris Hostetter [mailto:hossman_lucene@fucit.org] 
Sent: Tuesday, November 03, 2009 9:44 AM
To: solr-user@lucene.apache.org
Subject: RE: Getting update/extract RequestHandler to work under Tomcat

At any rate, I wish to thank you again for your assistance.


Mime
View raw message