I might be just tired, but I don't see the difference between those two lines.
Otis ----- Original Message ---- From: Michael Wechner <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, August 22, 2006 9:07:12 AM Subject: Ontology compile bug Hi It seems to me that refine-query-init.jsp should be patch as below, otherwise search.jsp will not compile because it already initializes nutchConf (I am using nutch-0.8): Index: src/web/jsp/refine-query-init.jsp =================================================================== --- src/web/jsp/refine-query-init.jsp (Revision 433565) +++ src/web/jsp/refine-query-init.jsp (Arbeitskopie) @@ -13,7 +13,7 @@ // being loaded into the JVM. Need improvement in future. try { - Configuration nutchConf = NutchConfiguration.get(application); + //Configuration nutchConf = NutchConfiguration.get(application); String urls = nutchConf.get("extension.ontology.urls"); ontology = new org.apache.nutch.ontology.OntologyFactory(nutchConf).getOntology(); if (urls==null || urls.trim().equals("")) { HTH Michi -- Michael Wechner Wyona - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] +41 44 272 91 61
