[ http://issues.apache.org/jira/browse/NUTCH-200?page=all ]
     
Sami Siren resolved NUTCH-200:
------------------------------

    Fix Version: 0.8-dev
     Resolution: Fixed

this is now fixed, thanks

> 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
>     Assignee: Sami Siren
>      Fix For: 0.8-dev
>  Attachments: OpenSearchServlet.375060.patch
>
> 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

Reply via email to