The following are what I got from php-java-bridge.log. I already put the necessary in /usr/share/java. I also put the necessary jar file in Java_require. But somehow I still got these. The plugins directory not found is not a problem because nutch has the same thing when it is called as a standalone program. Thanks.
051119 165944 parsing jar:file:/usr/share/java/nutch-0.7.1.jar!/nutch-default.xml
051119 165945 parsing jar:file:/usr/share/java/nutch-0.7.1.jar!/nutch-site.xml
051119 165945 Plugins: directory not found: plugins
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.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
...12 more
Victor Lee <vic...@ya...> wrote: Hi,
I already spent a long time finding out why java_require can't find my jar file in classpath. I set Selinux to permissive to make sure that it's not because of selinux. It seems that it can find the original java package correctly, e.g. java.io...
But it can't find my custom jar files. I tried to set the java.classpath in /etc/php.d/java.ini, but it still doesn't work. I also tried to create a directory in /usr/share/java and put all my custom jar files there and then set the java.classpath, but it still doesn't work. Don't know why. I am using Eclipse with Trustudio to debug.
Many thanks.
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |