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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjackson at mcleodusa dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 09:01:28 2024 UTC