Here is the latest.

I created a new file caclled "search-servers.txt" and
i used the following:

emma [tab] 6969
virgini [tab] 6969

The [tab] references the only white space is a tab. 
Emma and Virginia are both server names (wife and
daughter to be hehe) and they both ping.

When you deploy the war file and run a query i see
this:

:11:37.138]
[04:11:37.146] 040504 041137 11 loading
file:/home/nutch/resin/webapps/ROOT/WEB-INF/classes/nutch-default.xml
[04:11:37.146]
[04:11:37.170] 040504 041137 11 loading
file:/home/nutch/resin/webapps/ROOT/WEB-INF/classes/nutch-site.xml
[04:11:37.170]
[04:11:37.176] 040504 041137 11 searching servers in
/home/nutch/resin/search-servers.txt
[04:11:37.176]
[04:11:37.194] 040504 041137 11 Client adding server
virginia:6969
[04:11:37.194]
[04:11:37.194] 040504 041137 11 Client adding server
emma:6969
[04:11:37.194]
[04:11:37.220] 040504 041137 12 Client connection to
208.37.26.110:6969: starting
[04:11:37.220]
[04:11:37.221] 040504 041137 13 Client connection to
208.37.26.100:6969: starting
[04:11:37.221]
[04:11:37.299] 040504 041137 11 query request from
62.244.185.34
[04:11:37.299]
[04:11:37.356] 040504 041137 11 query: hedge funds
world
[04:11:37.356]
[04:11:37.445] 040504 041137 11 file: init
[04:11:37.445]
[04:11:46.393] 040504 041146 14 query request from
62.244.185.34
[04:11:46.393]
[04:11:46.394] 040504 041146 14 query: hedge funds
world

I'm testing this under Tomcat 4, 5 and Resin.  Resin
seems to be the fastest for me :)

Anyhow, on the query servers i saw this:

040504 050951 22 Server connection on port 6969 from
208.37.26.120: starting
040504 050951 12 Server handler on 6969:
getSegmentNames()
040504 050951 13 Server handler on 6969: search(hedge
funds world, 10)
040504 050953 15 Server handler on 6969:
getDetails(#3204675)
040504 050953 16 Server handler on 6969:
getDetails(#3187462)
040504 050953 18 Server handler on 6969:
getDetails(#3011757)
040504 050953 14 Server handler on 6969:
getDetails(#3151273)
040504 050953 17 Server handler on 6969:
getDetails(#3028211)
040504 050953 21 Server handler on 6969:
getDetails(#3035636)
040504 050953 20 Server handler on 6969:
getDetails(#3087242)
040504 050953 12 Server handler on 6969:
getDetails(#3073243)
040504 050953 19 Server handler on 6969:
getDetails(#3123887)
040504 051000 13 Server handler on 6969: search(hedge
funds world, 10)
040504 051000 15 Server handler on 6969:
getDetails(#3187462)
040504 051000 16 Server handler on 6969:
getDetails(#3204675)
040504 051000 15 Server handler on 6969:
getDetails(#3011757)
040504 051000 17 Server handler on 6969:
getDetails(#3151273)
040504 051000 12 Server handler on 6969:
getDetails(#3035636)
040504 051000 14 Server handler on 6969:
getDetails(#3028211)
040504 051000 17 Server handler on 6969:
getDetails(#3123887)
040504 051000 20 Server handler on 6969:
getDetails(#3087242)
040504 051000 21 Server handler on 6969:
getDetails(#3073243)
040504 051004 13 Server handler on 6969: search(hedge
world, 10)
040504 051004 18 Server handler on 6969:
getDetails(#3187462)
040504 051004 18 Server handler on 6969:
getDetails(#3159426)
040504 051004 21 Server handler on 6969:
getDetails(#3074283)
040504 051004 19 Server handler on 6969:
getDetails(#3034698)
040504 051004 12 Server handler on 6969:
getDetails(#3120447)
040504 051004 15 Server handler on 6969:
getDetails(#3231904)
040504 051004 16 Server handler on 6969:
getDetails(#3122963)
040504 051004 17 Server handler on 6969:
getDetails(#3199541)
040504 051004 20 Server handler on 6969:
getDetails(#3210496)

and on the 2nd query server:

040504 050749 18 Server handler on 6969: starting
040504 050749 21 Server handler on 6969: starting
040504 050903 22 Server connection on port 6969 from
208.37.26.120: starting
040504 050903 13 Server handler on 6969:
getSegmentNames()
040504 050903 12 Server handler on 6969: search(hedge
funds world, 10)
040504 050905 14 Server handler on 6969:
getDetails(#528520)
040504 050912 13 Server handler on 6969: search(hedge
funds world, 10)
040504 050912 12 Server handler on 6969:
getDetails(#528520)
040504 050916 17 Server handler on 6969: search(hedge
world, 10)
040504 050916 16 Server handler on 6969:
getDetails(#183696)
040504 050922 13 Server handler on 6969: search(test,
10)
040504 050922 12 Server handler on 6969:
getDetails(#622363)
040504 050922 20 Server handler on 6969:
getDetails(#509732)
040504 050922 20 Server handler on 6969:
getDetails(#381002)
040504 050922 20 Server handler on 6969:
getDetails(#379428)
040504 050922 20 Server handler on 6969:
getDetails(#372827)
040504 050922 20 Server handler on 6969:
getDetails(#343041)
040504 050922 20 Server handler on 6969:
getDetails(#330982)
040504 050922 21 Server handler on 6969:
getDetails(#238462)
040504 050922 13 Server handler on 6969:
getDetails(#230698)
040504 050922 15 Server handler on 6969:
getDetails(#228011)
040504 050927 12 Server handler on 6969: search(test,
10)
040504 050927 20 Server handler on 6969:
getDetails(#622363)
040504 050927 18 Server handler on 6969:
getDetails(#509732)
040504 050927 13 Server handler on 6969:
getDetails(#381002)
040504 050927 18 Server handler on 6969:
getDetails(#379428)
040504 050927 13 Server handler on 6969:
getDetails(#372827)
040504 050927 18 Server handler on 6969:
getDetails(#343041)
040504 050927 13 Server handler on 6969:
getDetails(#330982)
040504 050927 18 Server handler on 6969:
getDetails(#238462)
040504 050927 13 Server handler on 6969:
getDetails(#230698)
040504 050927 18 Server handler on 6969:
getDetails(#228011)


I believe i have shut my firewall all the way down.  I
have also verified that the /tmp work directory is
world writeable on all 3 servers and that each
individual server can query locally with 0 problems.

Here is the output on the browser almost the instant
you query:

500 Servlet Exception
java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:333)
        at
net.nutch.ipc.Client.getConnection(Client.java:273)
        at net.nutch.ipc.Client.call(Client.java:248)
        at
net.nutch.searcher.DistributedSearch$Client.getSummary(DistributedSearch.java:389)
        at
net.nutch.searcher.NutchBean.getSummary(NutchBean.java:119)
        at _jsp._search__jsp._jspService(/search.jsp:63)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
        at com.caucho.jsp.Page.pageservice(Page.java:571)
        at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:155)
        at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:211)
        at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
        at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
        at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
        at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:323)
        at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:430)
        at
com.caucho.util.ThreadPool.run(ThreadPool.java:377)
        at java.lang.Thread.run(Thread.java:534)




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to