You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Michael Nebel (JIRA)" <ji...@apache.org> on 2006/02/03 14:35:03 UTC
[jira] Created: (NUTCH-200) OpenSearch Servlet ist broken
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
[jira] Assigned: (NUTCH-200) OpenSearch Servlet ist broken
Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/NUTCH-200?page=all ]
Sami Siren reassigned NUTCH-200:
--------------------------------
Assign To: Sami Siren
> 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
> 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
[jira] Resolved: (NUTCH-200) OpenSearch Servlet ist broken
Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (NUTCH-200) OpenSearch Servlet ist broken
Posted by "Marko Bauhardt (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/NUTCH-200?page=all ]
Marko Bauhardt updated NUTCH-200:
---------------------------------
Attachment: OpenSearchServlet.375060.patch
The init method from this servlet has wrong parameters. This patch instantiate the Configuration Object in the init method per NutchConfiguration.create().
> 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
> 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