php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17760 Warnings at the invocation of a new Java object
Submitted: 2002-06-14 08:14 UTC Modified: 2002-08-08 10:17 UTC
From: etienne dot anken at eivd dot ch Assigned:
Status: Not a bug Package: Java related
PHP Version: 4.2.1 OS: Win 2000
Private report: No CVE-ID: None
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:
45 - 1 = ?
Subscribe to this entry?

 
 [2002-06-14 08:14 UTC] etienne dot anken at eivd dot ch
I get the following message everytime when I invoke
new Java("SomeClass") :

Unknown list entry type in request shutdown (0) in Unknown on line 0 

The object works fine when I use a method. But i keep getting warnings. Has anyone seen this problem before. I can't seem to find anything about this problem. 

I am using 
- Win 2000 (French) 
- Apache 1.3.24 
- JDK 1.3.1_03 
- PHP 4.2.1 

Thank you
Etienne

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-08 10:17 UTC] kalowsky@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Can you please provide a sample script that does work, and doesn't work?  Thank you.
 [2003-03-20 19:40 UTC] rui dot li at d6 dot com dot cn
i got the same Warning Messages when i invoke the classes written in Java like Etienne.
my Java code(Test.java):
=================================
public class Test 
{
    public void test() 
	{
		System.out.println("Hello World!");
	}
    public String kevin(String abc,String efg){
        return (abc+efg);
    }
}
==============================
and my PHP code:
=======================
<?php
$bean = new Java("Test");

echo $bean->kevin("i love "," you");
?>
=======================
///////////////////
i got result below:
i love you
Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0
//////////////////
 [2003-03-20 19:48 UTC] rui dot li at d6 dot com dot cn
i provide my php.ini setting

[Java]
java.class.path = ".\extensions\php_java.jar;e:\project\java"
java.home = D:\java\jdk1.3
java.library = d:\java\jdk1.3\jre\bin\hotspot\jvm.dll 
java.library.path = "d:\web\php4\extensions"
 [2003-04-04 12:11 UTC] patocastillo at hotmail dot com
Delete from php.ini E_WARNING(run-time warnings , non-fatal errors), in Error handling ang loggin section. It works.

regards
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 02:01:29 2024 UTC