Well, you can write a own webservice as well one php client and a
java / jsp service as well for this.
Anyway I do not know the php java bridge, but I made with all native
java invocation mechanisms like jni very bad experience.
If you will get it once to run, it will crash under load in
production at least most jni code I ever had seen.
Sorry, I can't help and the answer to your question is no nutch does
not use gcj.
May think about write your complete ui in jsp, since the step from
php to jsp isn't big.
Stefan
Am 21.11.2005 um 23:33 schrieb Victor Lee:
No, I will have to face it sooner or later because I need to use
Lucene(java) to index something in my php code.
Stefan Groschupf <[EMAIL PROTECTED]> wrote: I suggest to run nutch
standalone in a tomcat and use the rss - xml
feed servlet. You can than parse and show the rss via php.
Am 21.11.2005 um 23:19 schrieb Victor Lee:
Hi,
I am using php-java-bridge to run nutch code in php file. I
keeps getting weird exception. And it refers to GCJ, does nutch
use gcj? Thanks. The following are the errors:
051121 134507 parsing jar:file:/usr/share/java/nutch-0.7.1.jar!/
nutch-site.xml
051121 134507 Plugins: directory not found: plugins
Nov 21 13:45:07 JavaBridge INFO : trying to load class:
org.apache.nutch.searcher.QueryFilter$1 from: [file:/usr/share/java/
nutch-0.7.1.jar, file:/usr/share/java/lucene-1.9-rc1-dev.jar]
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
at php.java.bridge.JavaBridge.Invoke(java.lang.Object,
java.lang.String, java.lang.Object[], php.java.bridge.Response)
(Unknown Source)
at php.java.bridge.Request.handleRequest() (Unknown Source)
at php.java.bridge.Request.handleRequests() (Unknown Source)
at php.java.bridge.JavaBridge.run() (Unknown Source)
at php.java.bridge.ThreadPool$Delegate.run() (Unknown Source)
at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
at .__clone (/lib/libc-2.3.5.so)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at org.apache.nutch.analysis.NutchAnalysis.compound
(java.lang.String) (Unknown Source)
at org.apache.nutch.analysis.NutchAnalysis.parse() (Unknown
Source)
at org.apache.nutch.analysis.NutchAnalysis.parseQuery
(java.lang.String) (Unknown Source)
at org.apache.nutch.searcher.Query.parse(java.lang.String)
(Unknown Source)
at java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
...7 more
Caused by: java.lang.RuntimeException:
org.apache.nutch.searcher.QueryFilter not found.
at org.apache.nutch.searcher.QueryFilters.() (Unknown
Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
...12 more
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net