For http://www.myopensourcejobs.com, we are uisng similar to OpensourceXML
That works like a champ.
I am not sure, if PHP-Java bridge would have any difference in terrms of perf.
Thanks
Sudhi
Stefan Neufeind <[EMAIL PROTECTED]> wrote:
Chris Stephens wrote:
> Has anyone had success getting Nutch to work with the php-java-bridge?
> I've been playing around with this for about a day and a half and have
> not been able to get passed the error:
>
> java stack trace: java.lang.Exception: CreateInstance failed: new
> org.apache.nutch.searcher.NutchBean. Cause:
> java.lang.NullPointerException at
> org.apache.nutch.searcher.NutchBean.init(NutchBean.java:96) at
> org.apache.nutch.searcher.NutchBean.(NutchBean.java:84) at
> org.apache.nutch.searcher.NutchBean.(NutchBean.java:73) at
> java.lang.reflect.Constructor.newInstance(libgcj.so.7) at
> php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:547) at
> php.java.bridge.Request.handleRequest(Request.java:503) at
> php.java.bridge.Request.handleRequests(Request.java:533) at
> php.java.bridge.JavaBridge.run(JavaBridge.java:192) at
> php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:37)
> Caused by: java.lang.NullPointerException at
> org.apache.nutch.searcher.NutchBean.init(NutchBean.java:96) ...8 more
>
> I do have a proper searcher.dir entry in my nutch-site.xml, and my index
> does have data. My class path currently looks like:
> :/usr/java/jdk1.5.0_06:/usr/java/jdk1.5.0_06/lib:/usr/local/nutch/lib:/usr/local/nutch:/usr/local/nutch/conf/nutch-default.xml:/usr/local/nutch/conf/nutch-site.xml
>
>
>
> I would appreciate any reports on nutch working with php-java-bridge and
> information about stability.
Do you really need a real php-java-bridge for that? We're using the
OpenSearch XML-output from nutch in a php-application andlocking down
access to nutch only from localhost. Works fine ...
(Though if someone gets the php-java-bridge to work that would be cool! :-)
Regards,
Stefan
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
Nutch-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-general