OpenSearch Servlet ist broken
-----------------------------

         Key: NUTCH-200
         URL: http://issues.apache.org/jira/browse/NUTCH-200
     Project: Nutch
        Type: Bug
  Components: web gui  
    Versions: 0.8-dev    
    Reporter: Michael Nebel


the last path from 31.1.2006 seems to have the servlet boken. My suggestion to 
fix:

--- OpenSearchServlet.java      2006-02-03 14:30:33.000000000 +0100
+++ src/java/org/apache/nutch/searcher/OpenSearchServlet.java   2006-02-01 
09:29:19.000000000 +0100
@@ -59,10 +59,10 @@
   private NutchBean bean;
   private NutchConf nutchConf;
 
-  public void init(ServletConfig config) throws ServletException {
+  public void init(ServletConfig config, NutchConf nutchConf) throws 
ServletException {
     try {
-      this.nutchConf = new NutchConf();
       bean = NutchBean.get(config.getServletContext(), nutchConf);
+      this.nutchConf = nutchConf;
     } catch (IOException e) {
       throw new ServletException(e);
     }

Opensearch also needs Xalan. This seems not to be included anymore. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to