php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9056 NoClassDefFoundError with Java and HTTP/1.1
Submitted: 2001-02-01 13:01 UTC Modified: 2001-04-29 11:26 UTC
From: bjackson at mcleodusa dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: Mandrake Linux 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 47 = ?
Subscribe to this entry?

 
 [2001-02-01 13:01 UTC] bjackson at mcleodusa dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 11:26 UTC] jmoore@php.net
PHP cant find the net.php.reflect class which implies that your missing some .jar files from your classpath. THis is a problem with your setup not PHP.

Bogusifying
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jan 19 02:03:16 2022 UTC