You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2006/10/24 18:16:11 UTC

[jira] Closed: (NUTCH-200) OpenSearch Servlet ist broken

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

Sami Siren closed NUTCH-200.
----------------------------


> OpenSearch Servlet ist broken
> -----------------------------
>
>                 Key: NUTCH-200
>                 URL: http://issues.apache.org/jira/browse/NUTCH-200
>             Project: Nutch
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 0.8
>            Reporter: Michael Nebel
>         Assigned To: Sami Siren
>             Fix For: 0.8
>
>         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