From: Abbett, J. <Jon...@ch...> - 2005-08-26 13:32:16
|
I'm seeing a bunch of strange stuff in my log files, not sure what to = make of it. =20 In my php_errors log file, right when I restart Apache: =20 [26-Aug-2005 08:52:27] PHP Notice: php_mod_java(57): waiting for server = another 14 seconds in Unknown on line 0 =20 =20 In my Apache error log, after I visit a page: =20 [client 10.1.150.118] PHP Fatal error: Exception thrown without a stack = frame in Unknown on line 0 [client 10.1.150.118] PHP Fatal error: php_mod_java(59): = Synchronization problem, rinit with active connection called. Cannot = continue, aborting now. Please report this to: = php...@li... = <mailto:php...@li...> in Unknown on line = 0, referer: http://ajax.ping.chip.org/viewer.php = <http://ajax.ping.chip.org/viewer.php>=20 =20 =20 I'm seeing this in my php-java-bridge.log file: =20 java.lang.NoSuchMethodException: __sleep(). Candidates: [] at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:966) at php.java.bridge.Request.handleRequests(Request.java:190) at php.java.bridge.JavaBridge.run(JavaBridge.java:142) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:20) It looks like the php-java-bridge log error happens the first time I run = a particular page, then the "exception thrown without a stack frame," = etc. occurs when I try to rerun the page. At this point, my PHP pages = will stop responding until I restart Apache. =20 =20 The code snippet that's (probably) causing the problem: =20 GLOBAL $doctypes; =20 try { $pac =3D getPingActionClient(); $headersResult =3D $pac->readDocumentHeaders(getSessionVar('ticket'), = getSessionVar('username'), null); $documentHeaders =3D $headersResult->getDocumentHeader(); } catch (Exception $e) { log_write("[getDocumentHeaders] ERROR: $e"); log_write("[getDocumentHeaders] Returning null..."); } =20 $menu =3D ''; $buildlist =3D array(); $iter =3D $documentHeaders->iterator(); =20 while ($iter->hasNext()) { $header =3D $iter->next(); $docClass =3D $header->getDocumentClassification(); $urn =3D $docClass->getClassification(); if (isset($doctypes[$urn]) && !in_array($urn, $buildlist)) { $buildlist[] =3D $urn; $menu .=3D createMenuItem($doctypes[$urn]['display_name'], = $doctypes[$urn]['menu_url']) . "/n"; } } =20 It gets a list of "Document Headers," then iterates over them. Not too = complex. I'm using PHP5 with Apache2: full info at = http://ajax.ping.chip.org/info.php <http://ajax.ping.chip.org/info.php>=20 =20 I'm happy to provide more information, just ask. Any and all help is = most appreciated. =20 Thanks, Jon Abbett jon...@ch... |