FaclairDictionary EnglishGàidhlig

Search - Error Rannsaich - Mearachd

The server experienced an error trying to perform your search. Please report this to webmaster@learngaelic.scot

Error message: Writing results failed (Loading configuration file failed: /usr/local/regain/crawler/SearchConfiguration.xml)

Stacktrace

Error message:net.sf.regain.util.sharedtag.taglib.ExtendedJspException: Writing results failed (Loading configuration file failed: /usr/local/regain/crawler/SearchConfiguration.xml)
	at net.sf.regain.util.sharedtag.taglib.SharedTagWrapperTag.doEndTag(Unknown Source)
	at org.apache.jsp.index_jsp._jspx_meth_search_005fcheck_005f0(index_jsp.java:997)
	at org.apache.jsp.index_jsp._jspService(index_jsp.java:505)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:376)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:324)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:761)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
	at org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:234)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:388)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:936)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: net.sf.regain.RegainException: Loading configuration file failed: /usr/local/regain/crawler/SearchConfiguration.xml
	at net.sf.regain.search.config.DefaultSearchConfigFactory.createSearchConfig(Unknown Source)
	at net.sf.regain.search.SearchToolkit.loadConfiguration(Unknown Source)
	at net.sf.regain.search.SearchToolkit.getIndexConfigArr(Unknown Source)
	at net.sf.regain.search.sharedlib.CheckTag.printEndTag(Unknown Source)
	... 39 more
Caused by: net.sf.regain.RegainException: Parsing XML failed: /usr/local/regain/crawler/SearchConfiguration.xml
	at net.sf.regain.XmlToolkit.loadXmlDocument(Unknown Source)
	at net.sf.regain.search.config.XmlSearchConfig.<init>(Unknown Source)
	... 43 more
Caused by: java.io.FileNotFoundException: /usr/local/regain/crawler/SearchConfiguration.xml (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	... 45 more

For more information about the query possibilities see here.