|
From: <php...@li...> - 2008-09-08 16:52:09
|
Hi. Thank you for your reply. I am still having the same problem. I've tried a variety of things in response to your reply. On Mon, Sep 8, 2008 at 1:09 AM, <php...@li...> wrote: > the current Tomcat version is 6.x, so I assume that you use the > version which came with debian. I am using Ubuntu 7.10 and the Tomcat package available in Ubuntu's package repositories. > Please either use the standard version of Tomcat with a standard > version of Java. Or please use the PHP/Java Bridge debian package > available from sourceforge. I looked at the PHP/Java Bridge Debian package available from SourceForge and saw that it installs a PHP configuration file, 'java.ini', and a bunch of files to '/usr/lib/php5/20060613+lfs'. Are these needed for calling PHP from Java, or are they only needed if you call Java from PHP? On the off chance they are needed to call PHP from Java, I installed them and restarted Apache. This did not solve my problem. I also switched out the JAR PHP/Java Bridge JAR files I am using for the ones included in the Debian package available from SourceForge. This did not solve my problem either. > We've recently tried to set up the binary file on a debian machine > and run into the same problems. Basically the tomcat version shipped > with the debian os is patched. It has additional features which > forbit accessing /bin/sh or /usr/bin/php for example. > > You must edit the appropriate config file and switch off the > provided policy. I turned off the security manager for Tomcat completely. This did not work for me either. -- Jeff Weston PGP public key available from http://pgp.mit.edu/ PGP Key ID: 0x14B456ED |