Re: Config file not found in class path when deploying WAR

2008-01-29 Thread Björn Wilmsmann
David Smith work: Then I think the path to your common-terms.utf8 probably should be / common-terms.utf8 in the config file. Otherwise the path spec is relative and it's hard to figure out what it's relative to. The hadoop class that generates the reader uses Classloader.getResource( pa

Re: Config file not found in class path when deploying WAR

2008-01-28 Thread David Smith
Then I think the path to your common-terms.utf8 probably should be /common-terms.utf8 in the config file. Otherwise the path spec is relative and it's hard to figure out what it's relative to. The hadoop class that generates the reader uses Classloader.getResource( path ) so an absolute path

Re: Config file not found in class path when deploying WAR

2008-01-28 Thread Björn Wilmsmann
Hi David, thanks for the advice. In my nutch-0.9.jar common-terms.utf8 is located at the root level, but then again, I've built the JAR from source. David Smith wrote: Funny ... I downloaded the 0.9 release of nutch and common- terms.utf8 is not in the nutch.jar file (just to be helpful -

Re: Config file not found in class path when deploying WAR

2008-01-28 Thread David Smith
Funny ... I downloaded the 0.9 release of nutch and common-terms.utf8 is not in the nutch.jar file (just to be helpful -- I don't actually use it). I couldn't find common-terms.utf8 anywhere in the .jar file. I would recommend asking on a nutch user list and be specific with regard to what ve