php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17035 Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2
Submitted: 2002-05-06 06:37 UTC Modified: 2002-09-09 01:00 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: donatas dot ciuksys at maf dot vu dot lt Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.2.0 OS: WinXP
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: donatas dot ciuksys at maf dot vu dot lt
New email:
PHP Version: OS:

 

 [2002-05-06 06:37 UTC] donatas dot ciuksys at maf dot vu dot lt
I'm trying to run PHP 4.2.0 using sapi/servlet interface on Tomcat 4.0.4b2 (WinXP Pro OS) with jdk1.3.1_03.
My php.ini setting (in c:\windows directory):

extension=php_java.dll
[Java]
java.class.path = "C:\php-4.2.0\extensions\php_java.jar;"
java.home = "C:\java\jdk1.3.1_03\jre\bin"
java.library = "C:\java\jdk1.3.1_03\jre\bin\classic\jvm.dll" 
java.library.path = "C:\php-4.2.0;C:\php-4.2.0\extensions;C:\php-4.2.0\sapi;"

When I try to run date.php, I get three warning messages:
1. Function registration failed - duplicate name - java_last_exception_get
2. Function registration failed - duplicate name - java_last_exception_clear
3. java: Unable to register functions, unable to load.

When I press refresh button in IE, tomcat crashes.

Any help would be appreciated.

Donatas

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-08 10:20 UTC] kalowsky@php.net
What does date.php have?  Can you make it a short example script to reproduce this problem?
 [2002-09-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 09:01:24 2020 UTC