|
From: <php...@li...> - 2009-11-02 18:12:13
|
Hi,
I'm using the PHP-Java-Bridge to implement fulltext search
capabilities with the help of Java Lucene for my web project. To index
new documents, a script is run by a cronjob every hour or so. Since I
switched to the new PJB Version 5.5.4, after some time (something
between 1-3 days), the following internal server error from Tomcat
occurs:
HTTP Status 500 - The server encountered an internal error () that
prevented it from fulfilling this request.
javax.servlet.ServletException: Servlet execution threw an exception
< in http://localhost:8080/JavaBridge/java/Java.inc on line 516
This is pretty scary, because from that moment on, my site gets
unusable and the error remains there. When I restart Tomcat (6.0)
everything works fine again.
Here are the lines from Java.inc for context:
if (function_exists("error_get_last"))
$error = error_get_last();
else
$error = array("message"=>"broken connection error");
trigger_error ("${msg} ".$error["message"], E_USER_ERROR);} (Line 516)
Anyone an idea what could be happening? Or alternatively some idea
like: "I don't know whats happening exactly, but it probably has to do
with ... and if you change this or that config param, it could get
better". That would be really great. I've got absolutely no idea how
to react on this (the best thing I though of is to restart tomcat
every hour by cronjob to prevent the worst (namely several hours of
site down), but that's probably not yet the optimal solution).
Thanx
Holger
|