Hello,

I have been trying to run the SOLR war with embedded Jetty and can’t seem to 
get the config quiet right. Is there any known documentation on this or is 
someone else doing this? I seem to just be setting up a document server at my 
solr.home directory. The code snippet below seems incomplete to me, but I can’t 
seem to find what I am missing. 

Thanks!

Darin

Server solrServer = new Server(8983);

WebAppContext solrApp = new WebAppContext();
solrApp.setContextPath("/");
solrApp.setWar("solr.war");   //solr.war is sitting in my java.home root for 
now.
solrServer.setHandler(solrApp);

solrServer.start();
solrServer.join();

Reply via email to