You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
(4) |
3
(10) |
4
(1) |
5
|
6
(1) |
|
7
|
8
(4) |
9
(3) |
10
(1) |
11
(1) |
12
|
13
(1) |
|
14
(2) |
15
|
16
|
17
|
18
(4) |
19
|
20
(1) |
|
21
|
22
(2) |
23
(2) |
24
(2) |
25
(2) |
26
(3) |
27
|
|
28
|
29
|
30
|
|
|
|
|
|
From: <php...@li...> - 2008-09-08 20:30:26
|
Hi, On Mon, Sep 8, 2008 at 11:53 AM, <php...@li...> wrote: > Do you get a valid JSR223 script engine manager from the factory? > > Do you receive a javax.script.ScriptEngine? And is the script engine > indeed the php.java.bridge.PhpScriptEngine or is it some other > implementation? I'm not sure how to check these things. I added a toString() call on the script engine and got the following: "php.java.script.PhpServletScriptEngine@2b7bd9". Based on what I see there, I'm guessing that the correct implementation is being used. > Can you please start log4j (e.g. with: "java -jar log4j.jar" -- > please use the log4j contained in the bridge binary download) and > restart tomcat with the log level set to 4 (e.g. with: > JAVA_OPTS="-Dphp.java.bridge.default_log_level=4" sh catalina.sh > run) and check the log? Okay, I got logging working. The first thing I saw was an exception: "java.io.IOException: Permission denied". The stack trace is fairly lengthy, so I've attached it as a separate file (exception.txt). I think I'm getting this exception because the PHP/Java Bridge is attempting to create a temp file in my web directory, but the Tomcat user does not have write access to that directory. I remember seeing a system call to attempt to create a file in this directory when I was using strace to try and track down this problem yesterday. For now, I have made my web directory writable by tomcat (using chmod 777). When I ran the JSP again, I no longer see the exception in my log, but I still am not getting any output from PHP. This is the only other log entry I see related to the PHP/Java Bridge: Time: 8:18:05 PM Priority: DEBUG Thread: http-8180-Processor23 NDC: null Category: php.java.bridge.JavaBridge Location: null Message: created new bridge: php.java.bridge.JavaBridge@d0005e Throwable: null -- Jeff Weston PGP public key available from http://pgp.mit.edu/ PGP Key ID: 0x14B456ED |
|
From: <php...@li...> - 2008-09-08 18:53:34
|
Hi Jeff, > > 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. Do you get a valid JSR223 script engine manager from the factory? Do you receive a javax.script.ScriptEngine? And is the script engine indeed the php.java.bridge.PhpScriptEngine or is it some other implementation? Can you please start log4j (e.g. with: "java -jar log4j.jar" -- please use the log4j contained in the bridge binary download) and restart tomcat with the log level set to 4 (e.g. with: JAVA_OPTS="-Dphp.java.bridge.default_log_level=4" sh catalina.sh run) and check the log? Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
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 |
|
From: <php...@li...> - 2008-09-08 08:09:07
|
Hi, > First off, some background information about my setup. I am > running on > Ubuntu 7.10 (Gusty Gibbon). I am using Tomcat 5.5 as my web > server. I the current Tomcat version is 6.x, so I assume that you use the version which came with debian. 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. 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. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |