I'd say it is still a CLASSPATH issue. Quick Google shows long history of complaints (all about Tomcat): http://www.manning-sandbox.com/thread.jspa?threadID=51061 Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book)
On Wed, May 8, 2013 at 3:15 PM, William Pierce <evalsi...@hotmail.com> wrote: > Thanks, Alex. I have tried placing the jars in a folder under solrhome/lib > or under the instanceDir/lib with appropriate declarations in the > solrconfig.xml. I can see the jars being loaded in the logs. But neither > configuration seems to work. > > Bill > > -----Original Message----- From: Alexandre Rafalovitch > Sent: Wednesday, May 08, 2013 11:12 AM > To: solr-user@lucene.apache.org > Subject: Re: Solr 4.3 fails in startup when dataimporthandler declaration is > included in solrconfig.xml > > > Could be classloader issue. E.g. the jars in tomcat/lib not visible to > whatever is trying to load DIH. Have you tried putting those jars > somewhere else and using "lib" directive in solrconfig.xml instead to > point to them? > > Regards, > Alex. > On Wed, May 8, 2013 at 2:07 PM, William Pierce <evalsi...@hotmail.com> > wrote: >> >> I have gotten solr 4.3 up and running on tomcat7/windows7. I have added >> the two dataimport handler jars (found in the dist folder of my solr 4.3 >> download) to the tomcat/lib folder (where I also placed the solr.war). >> >> Then I added the following line to my solrconfig.xml: >> >> <requestHandler name="/dataimport" >> class="org.apache.solr.handler.dataimport.DataImportHandler"> >> <lst name="defaults"> >> <str name="config">dih-config.xml</str> >> </lst> >> </requestHandler> >> >> When I start tomcat, I get the stack trace shown below (commenting out the >> above lines causes tomcat & solr to start up just fine). > > > > > Personal blog: http://blog.outerthoughts.com/ > LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch > - Time is the quality of nature that keeps events from happening all > at once. Lately, it doesn't seem to be working. (Anonymous - via GTD > book)