Paul,
Alfred,
Users,
After some headscratching, we installed "spindle", figured since
nutch was 0.6 and Spindle 0.9 we'd be 50 % closer to having a
working search engine.
Well, after some fooling around we figured out that the way we did
it we needed to update the CLASSPATH in order to find the requisit
.jar files.
Now that we have that working, I wonder if we don't have the same
problem with Nutch.
I'm afraid that I've done something odd as webapps/ROOT/ doesn't seem
to have the same default pathing on my system as I suspect it might
on others.
Assuming that I needed to modify or exlpicitely set the CLASSPATH
for Nutch to find its .jar files, where is the CLASSPATH value set ?
What is the name, (what are the names) of the jar files that I need
to include in my CLASSPATH ?
I assume I set it to point to specific jar files rather than just
point the the location of the jar director(ies) as I would with a
default execution PATH (in say, .cshrc). This has been my experience
with other java apps that I have worked with.
Current error is
org.apache.jasper.compiler.ParseException: /search.jsp(120,35) Attribute has
no value
at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563)
at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:681)
at org.apache.jasper.compiler.Parser$Include.accept(Parser.java:289)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
Running the search.jsp at the command line...
[linus/var/apache/tomcat/webapps/ROOT] /usr/java/bin/java search.jsp
Exception in thread "main" java.lang.NoClassDefFoundError: search/jsp
It looks like I'm not defining the class that contains the search method.
thank you,
Brian
On Sat, Mar 26, 2005 at 01:27:52AM +0100, Alfred Ostermeier wrote:
> My "requested resource (/search.jsp) is not available"-problem is
> SOLVED, thanks for the help! The reason was, i didn't rename
> nutch-0.6.war to ROOT.war.
>
> But how can i get the former ROOT (= Tomcat's start contents) working -
> now bearing the name "old-root"??? I can access the first page via
> "http://localhost:8180/old-root/index.jsp". But none of the links works
> anymore. The error has a familiar ring: HTTP Status 404 / The requested
> resource (/ex-root/tomcat-docs) is not available.
> :)
>
> Brian Cuttler wrote:
>
> >Hello,
> >
> >I've got nutch deployment problems also, and seem to be a little
> >slow with the learning curve.
> >
> >[...]
> >
> >I wasn't able to figure out how to implement it under the ROOT/
> >directory.
> >
> >
> 1) Remove ROOT or rename it to s.th. else
> 2) Copy nutch-0.6.war into webapps
> 3) If you want to do intranet searching and if you want to start tomcat
> from anywhere without nutch complaining: edit
> WEB-INF/classes/nutch-site.xml and specify the directory you've let put
> the crawl in, e.g.:
> <nutch-conf>
> <property>
> <name>searcher.dir</name>
> <value>/usr/local/nutch-0.6/crawl.test/</value>
> <description>My path to nutch's searcher dir.</description>
> </property>
> </nutch-conf>
> 4) Restart Tomcat
> 5) Call http://localhost:yourport/
>
> Bye,
> Alfred
---
Brian R Cuttler [EMAIL PROTECTED]
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773