Alfred,
Nutch users,

I've updated the nutch-site.xml file, the trailing slash looked important.

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<nutch-conf>
        <property>
                <name>searcher.dir</name>
                <value>/usr/nutch-0.6/segments/</value>
                <description>My path to nutch's searcher dir.</description>
        </property>

</nutch-conf>

after that I was able to get to the query page by using the URL
http://linus/ROOT/en/search.html

Which tells me that maybe I have a path problem.

This results in not finding index.jsp, so I modified the html code
to specify the path "/ROOT/"

<form name="search" action="/ROOT/search.jsp" method="get"> 

This results is a slightly different exception that before.

Exception (120.35) rather than (13,35)

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)

Making forward progress but still not quite seeing the end of the tunnel.

                                                thank you,

                                                Brian


On Mon, Mar 28, 2005 at 10:20:05AM -0500, Brian Cuttler wrote:
> 
> Alfred,
> 
> Still being a little dense... 
> 
> For the first time I was able to get the NUTCH application to deplay
> from the WAR file, I had to open protections on the webapps/ directory
> to allow write access to nobody... something I want to close again.
> 
> I restarted catalina and the application deployed into the ROOT/
> directory.
> 
> I restarted apache and tried to access the service but continue to
> receive an exception - which I hope is only a matter of not finding
> the database.
> 
> I made the recommended change to the nutch-site.xml though I can't
> rule out having done it incorrectly.
> 
> The file currently reads
> 
> [linus/var/apache/tomcat/webapps/ROOT/WEB-INF/classes] cat nutch-site.xml
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?>
> 
> <!-- Put site-specific property overrides in this file. -->
> 
> <nutch-conf>
>         <property>
>                 <name>searcher.dir</name>
>                 <value>/usr/nutch-0.6/segments/</value>
>                 <description>My path to nutch's searcher dir.</description>
>         </property>
> 
> </nutch-conf>
> 
> where /usr/nutch=0.6/segments where were the output of the original
> web crawl was placed. After this is working I can put it some place
> better...
> 
> The contents of that directory are 
> 
> [linus/var/apache/tomcat/webapps/ROOT/WEB-INF/classes] ls -l 
> /usr/nutch-06/segments/
> total 6
> drwxr-xr-x   3 nobody   nobody       512 Mar 17 13:33 db
> drwxr-xr-x   2 nobody   nobody       512 Mar 17 13:48 index
> drwxr-xr-x   3 nobody   nobody       512 Mar 17 13:33 segments
> 
> I'm not certain I'm pointing at the right level or there isn't still a
> file protection issue (though I did change the ownership on the tree).
> 
> Oddly, and seemingly worse than last week, I didn't get the search.html
> page printed, just through the exception (maybe I specified a different
> URL).
> 
> I have no idea what (13,35) is
> 
> org.apache.jasper.compiler.ParseException: /index.jsp(13,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)
> 
> 
>                                               thank you,
> 
>                                               Brian
> ---
>    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
> 
---
   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

Reply via email to