[PHP-DEV] Bug #6617 Updated: JVM starts only on 3 requests per httpd
ID: 6617 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Java related Operating System: LinuxPPC 2000 PHP Version: 4.0.4pl1 New Comment: This now works in 4.1.1 Previous Comments: [2002-01-11 16:46:00] [EMAIL PROTECTED] How does this behave under PHP 4.1.1? [2001-01-16 20:47:52] [EMAIL PROTECTED] Hi James, Still failing, but on the 7th request. CHEERS Paul [2001-01-07 11:01:12] [EMAIL PROTECTED] Can you please ugrade and give feedback if it now works/still fails. James [2000-09-07 18:25:58] [EMAIL PROTECTED] As per Bug id # 6122 ./configure --with-mysql=/usr/local \ --with-java=/usr/local/java/j2sdk1.3 \ --with-sybase=/usr/local/freetds \ --with-apxs=/home/internet/www02/bin/apxs \ --enable-shared \ --enable-track-vars Using Blackdown JDK 1.2.2 And a modified JDK 1.3 - modified as the lack of HotSpot caused .so load failures !! From php.ini [java] extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-2809 extension=libphp_java.so java.class.path=/usr/local/lib/php_java.jar java.library.path=/usr/local/lib:/usr/local/lib/php/extensions/no-debug-non-zts-2809 The jver.php test script html ? $system = new Java(java.lang.System); print Java version=.$system-getProperty(java.version). br\n; print Java vendor=.$system-getProperty(java.vendor). p\n\n; print OS=.$system-getProperty(os.name). . $system-getProperty(os.version). on . $system-getProperty(os.arch). br\n; $formatter = new Java(java.text.SimpleDateFormat, , dd, 'at' h:mm:ss a ); print $formatter-format(new Java(java.util.Date)).\n; ? /html The first 3 runs work correctly then the fourth through (approx) seventh fail and there is 1 more success followed by failure. Apache must then be killed manually. The error text is :- error: Fatal error: Unable to create Java Virtual Machine in ... I noted [EMAIL PROTECTED]'s comment to use Tomcat, I'm off in that direction now, but I would prefer this method. ! ! PHP RULES ! ! Edit this bug report at http://bugs.php.net/?id=6617edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #6617 Updated: JVM starts only on 3 requests per httpd
ID: 6617 Updated by: lobbin Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Java related Operating System: LinuxPPC 2000 PHP Version: 4.0.4pl1 New Comment: How does this behave under PHP 4.1.1? Previous Comments: [2001-01-16 20:47:52] [EMAIL PROTECTED] Hi James, Still failing, but on the 7th request. CHEERS Paul [2001-01-07 11:01:12] [EMAIL PROTECTED] Can you please ugrade and give feedback if it now works/still fails. James [2000-09-07 18:25:58] [EMAIL PROTECTED] As per Bug id # 6122 ./configure --with-mysql=/usr/local \ --with-java=/usr/local/java/j2sdk1.3 \ --with-sybase=/usr/local/freetds \ --with-apxs=/home/internet/www02/bin/apxs \ --enable-shared \ --enable-track-vars Using Blackdown JDK 1.2.2 And a modified JDK 1.3 - modified as the lack of HotSpot caused .so load failures !! From php.ini [java] extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-2809 extension=libphp_java.so java.class.path=/usr/local/lib/php_java.jar java.library.path=/usr/local/lib:/usr/local/lib/php/extensions/no-debug-non-zts-2809 The jver.php test script html ? $system = new Java(java.lang.System); print Java version=.$system-getProperty(java.version). br\n; print Java vendor=.$system-getProperty(java.vendor). p\n\n; print OS=.$system-getProperty(os.name). . $system-getProperty(os.version). on . $system-getProperty(os.arch). br\n; $formatter = new Java(java.text.SimpleDateFormat, , dd, 'at' h:mm:ss a ); print $formatter-format(new Java(java.util.Date)).\n; ? /html The first 3 runs work correctly then the fourth through (approx) seventh fail and there is 1 more success followed by failure. Apache must then be killed manually. The error text is :- error: Fatal error: Unable to create Java Virtual Machine in ... I noted [EMAIL PROTECTED]'s comment to use Tomcat, I'm off in that direction now, but I would prefer this method. ! ! PHP RULES ! ! Edit this bug report at http://bugs.php.net/?id=6617edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]