solrnet errors since new instalation (tomcat 8 / solr 4.10.0 windows server 2012 machine) -



solrnet errors since new instalation (tomcat 8 / solr 4.10.0 windows server 2012 machine) -

i'm facing problem solrnet problem seems random : when seek utilize solr.extract method retrieve content text of pdf/word... files (or solr.commit... ect) next error :

23-oct-2014 23:03:03.729 severe [http-apr-8080-exec-58] org.apache.catalina.core.standardwrappervalve.invoke "servlet.service()" pour la servlet default généré une exception java.lang.illegalstateexception: can't overwrite cause java.lang.illegalstateexception: illegal access: web application instance has been stopped already. not load org.apache.log4j.spi.loggingevent. eventual next stack trace caused error thrown debugging purposes effort terminate thread caused illegal access, , has no functional impact. @ java.lang.throwable.initcause(unknown source) @ org.apache.catalina.loader.webappclassloader.checkstateforclassloading(webappclassloader.java:1331) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1212) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1173) @ org.apache.solr.logging.log4j.eventappender.append(eventappender.java:35) @ org.apache.log4j.appenderskeleton.doappend(appenderskeleton.java:251) @ org.apache.log4j.helpers.appenderattachableimpl.appendlooponappenders(appenderattachableimpl.java:66) @ org.apache.log4j.category.callappenders(category.java:206) @ org.apache.log4j.category.forcedlog(category.java:391) @ org.apache.log4j.category.log(category.java:856) @ org.slf4j.impl.log4jloggeradapter.error(log4jloggeradapter.java:497) @ org.apache.solr.common.solrexception.log(solrexception.java:120) @ org.apache.solr.servlet.responseutils.geterrorinfo(responseutils.java:58) @ org.apache.solr.servlet.solrdispatchfilter.senderror(solrdispatchfilter.java:820) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:434) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:207) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:239) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:219) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:610) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:534) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1081) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:658) @ org.apache.coyote.http11.http11aprprotocol$http11connectionhandler.process(http11aprprotocol.java:277) @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.dorun(aprendpoint.java:2381) @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.run(aprendpoint.java:2370) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(unknown source) caused by: java.lang.classnotfoundexception @ org.apache.catalina.loader.webappclassloader.checkstateforclassloading(webappclassloader.java:1330) ... 32 more

here's code :

var solr = servicelocator.current.getinstance<isolroperations<solr_documentpj>>(); using (var file = file.openread(@"c:\test.pdf")) { var response = solr.extract(new extractparameters(file, "abcd1") { streamtype="application/pdf", extractonly = true, extractformat = extractformat.text, }); filecontent = response.content; }

thank help.

just 1 more thing : utilize solr 4.10.0 in windows machine, not linux one, maybe missed configure tika correctly?

tomcat solr solrnet apache-tika

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -