Hi, I am currently trying to write a Jetty embedded java app that implements
SOLR and uses SOLRJ by excepting posts telling it to do a batch index, or a
deletion or what have you. At this point I am completely lost trying to
follow http://wiki.apache.org/solr/SolrJetty . In my constructor I am doing
the following call:

Server server = new Server();
XmlConfiguration configuration = new XmlConfiguration(new
FileInputStream("solrjetty.xml"));

My xml has two calls, an addConnector to configure the port etc. and the
addWebApplication as specified on the solr wiki. When running the app I get
this:

Exception in thread "main" java.lang.IllegalStateException: No Method: <Call
name="addWebApplication"><Arg>/solr/*</Arg><Arg>/webapps/solr.war</Arg><Set
name="extractWAR">true</Set><Set
name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set><Call
name="addEnvEntry"><Arg>/solr/home</Arg><Arg
type="String">/solr/home</Arg></Call></Call> on class
org.mortbay.jetty.Server

Can anyone point me in the right direction? Thanks. 
-- 
View this message in context: 
http://www.nabble.com/Solr-Jetty-confusion-tp24087264p24087264.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to