PHP 4.0 Bug #9056: NoClassDefFoundError with Java and HTTP/1.1
| From: | bjackson at mcleodusa dot com | Date: | Thu, 01 Feb 2001 18:01:43 +0000 |
| Subject: | PHP 4.0 Bug #9056: NoClassDefFoundError with Java and HTTP/1.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45545@lists.php.net to get a copy of this message | ||
From: bjackson@mcleodusa.com
Operating system: Mandrake Linux 7.2
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: NoClassDefFoundError with Java and HTTP/1.1
If a request is sent with IE 5.5 with HTTP/1.1 enabled and a script contains code such as this:
session_start();
$system = new Java("java.lang.System");
PHP says:
Fatal error: java.lang.NoClassDefFoundError: net/php/reflect
This is an intermittent error and shows up on most tries, but works properly once in while. There is
also an intermittent null pointer exception.
To work around it, we have added this to httpd.conf.
BrowserMatch "MSIE" downgrade-1.0
--
Edit Bug report at: http://bugs.php.net/?id=9056&edit=1