Nutch 1.2 在Eclipse中的配置 (2)

Nutch + Resin 在Eclipse的配置

经过Nutch 1.2 在Eclipse中的配置 (1),之后就需要看看搜索效果了

1. 需安装Eclipse中的resin插件,更新地址:http://caucho.com/eclipse/

2. 配置resin.conf到Nutch的根目录,修改相应的<http>和<host>标签为如下:

<!-- The http port -->
<http server-id="" host="*" port="3331"/>

...

<host id="" root-directory=".">
    <resin:set var="resin_admin_password"  default=""/>
    <resin:set var="resin_admin_localhost" default="true"/>
    <web-app id="/nutch" document-directory="E:\Projects\Nutch\apache-nutch-1.2\web"/>
</host>

这里使用的为resin3

3.启动resin,可以通过 http://localhost:3331/nutch访问

相关文章

评论关闭。