#17035 [Opn->Fbk]: Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2

From: Date: Thu, 08 Aug 2002 14:20:58 +0000
Subject: #17035 [Opn->Fbk]: Cannot run PHP using sapi/servlet interface with Tomcat 4.0.4b2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16282@lists.php.net to get a copy of this message
ID: 17035 Updated by: kalowsky@php.net Reported By: donatas.ciuksys@maf.vu.lt -Status: Open +Status: Feedback Bug Type: Java related Operating System: WinXP PHP Version: 4.2.0 New Comment: What does date.php have? Can you make it a short example script to reproduce this problem? Previous Comments: ------------------------------------------------------------------------ [2002-05-06 06:37:53] donatas.ciuksys@maf.vu.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17035&edit=1

« previous php.bugs (#16282) next »