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) |
2
(5) |
3
(1) |
4
|
5
|
|
6
|
7
|
8
|
9
|
10
(6) |
11
(5) |
12
|
|
13
(1) |
14
(5) |
15
(2) |
16
(4) |
17
(3) |
18
(2) |
19
(2) |
|
20
|
21
(6) |
22
(9) |
23
(6) |
24
(6) |
25
(6) |
26
(5) |
|
27
(2) |
28
(2) |
29
(3) |
30
(1) |
|
|
|
|
From: <php...@li...> - 2010-06-25 20:47:03
|
I have recently updated my installation of the JavaBridge and I'm seeing
some very strange behavior in my PHP scripts that are using the bridge. I'm
hoping that someone else has run into this and can give me a quick answer as
to what I can do to fix the issue.
The problem is with PHP scripts that are being run from the command line
that are using the bridge and taking more than 30s to execute. When the
script gets to the point where it should exit it just hangs. Below I've
included the source code of a very simple script that I've created to
reproduce the issue. When I comment out the line to create the String
object the script runs as expected.
I'm stumped, I've tried many combinations of ideas and nothing seems to fix
the problem. Any help will be appreciated.
Thanks,
Brian
#!/usr/bin/php
<?php
require_once 'http://192.168.0.198:8080/JavaBridge/java/Java.inc';
$jString = new Java("java.lang.String", "test");
echo "start sleep\n";
sleep(30);
echo "sleep finished\n";
echo "start exit\n";
exit(0);
echo "exit finished\n";
?>
|
|
From: <php...@li...> - 2010-06-25 11:00:26
|
Hi Julien, I can confirm that http://localhost:8080/JavaBridge/test.php will hang, if the browser is set to use HTTP/1.0 only (tested with FireFox -> about:config -> network.http.version;1.0) or if there's a HTTP/1.0 proxy in between. This is because phpinfo() generates its response in HTTP/1.1 chunks. But non-chunked responses work. For example http://yourHost:8080/JavaBridge/sessionSharing.php even when run through a simple HTTP/1.0 only proxy. > requests from the proxy. You mentioned the proxy could make a request > with a url the filter can't parse My mistake. Line 95 http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/server/php/java/servlet/PhpCGIFilter.java?revision=1.4&view=markup does forward before it returns (I should stop writing more than one statement per line ... :) > I guess I will have to ask the end users to bypass the proxy for the server Shouldn't be necessary. At least my simple HTTP/1.0 proxy can pass the request/result w/o problems. Which product do you use? Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-25 08:09:18
|
Hi Jost, Well, okay, thanks a lot for your replies ! The HTTP/1.0 is the only difference I've found between requests from local network, and requests from the proxy. You mentioned the proxy could make a request with a url the filter can't parse, but the urls are ok in the Tomcat http log file. I guess I will have to ask the end users to bypass the proxy for the server IP. Thanks again. Julien Mallet. On Fri, Jun 25, 2010 at 3:51 PM, <php...@li...> wrote: >> I think i got it. The company's proxy is making HTTP/1.0 requests... > > Since version 6.x the bridge requires HTTP/1.1, see NEWS file. But > simple HTTP/1.0 GET requests should work (not tested). I will take a > look at this issue. > > >>> BTW: Did jsr223.jsp return the PHP-generated content or an exception? >> >> Yes there is an exception > > Okay. I just wanted to be sure that an exception report has been > returned to your browser. > > > Regards, > Jost Bökemeier > |
|
From: <php...@li...> - 2010-06-25 07:51:52
|
> I think i got it. The company's proxy is making HTTP/1.0 requests... Since version 6.x the bridge requires HTTP/1.1, see NEWS file. But simple HTTP/1.0 GET requests should work (not tested). I will take a look at this issue. >> BTW: Did jsr223.jsp return the PHP-generated content or an exception? > > Yes there is an exception Okay. I just wanted to be sure that an exception report has been returned to your browser. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-25 07:43:56
|
> The problem not is only joomla, but Joomla with PHP/Java Bridge! Amen. Again, joomla cannot be used with the Java.inc PHP library due to a bug in Joomla. In fact Joomla cannot be used with ANY other PHP library using spl_autoload. Please re-read http://bugs.php.net/bug.php?id=49618 and work with the Joomla maintainer to fix this bug! We cannot help you any further. Thanks. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-25 04:01:27
|
Hello, Thanks for your precious answers Jost. I think I found the issue, but I am not able to solve it. See below. On Thu, Jun 24, 2010 at 5:53 PM, <php...@li...> wrote: >> The server is located on the local network. The web browsers on the >> company computers are set to work through the company's proxy. >> With the proxy, I can reach and run any of the Java applications >> without any problem. >> /JavaBridge/jsr223.jsp can be reached as I mentionned in my previous >> post, but all the .php files cannot be reached at all. >> When I disable the proxy, the Java applications are still available, >> and my Php application works too. > > > Before doing anything else, can you please disable the PhpCgiFilter in > your web-inf/web.xml? It simply returns under certain conditions. If > that works, your proxy uses a url that the filter cannot parse. > > Do you have a packet sniffer (ethereal for example)? If not firebug > may also reveil the problem. > Take a look at the tomcat log, it should contain GET requests for .php files. I think i got it. The company's proxy is making HTTP/1.0 requests... Otherwise if I disable the filter, I just got 404 status code. Is there any way to parse correctly HTTP/1.0 ? >> So I tried to rename index.php into index.phtml. What I get is a >> uninterpreted php file (the text content of my php file. seems normal > > Good. > > >> by >> >> <servlet-mapping> >> <servlet-name>PhpCGIServlet</servlet-name> >> <url-pattern>*.phtml</url-pattern> >> </servlet-mapping> >> >> Then I tried to open index.phtml, but could not reach it. > > I assume you have restarted tomcat after that. -- Interesting. Do you > see the requestin the tomcat log? Any new exceptions? >> Can you confirm that the PhpCGIServlet mapping is only necessary in >> the JavaBridge/WEB-INF/web.xml? > > Yes. > > > BTW: Did jsr223.jsp return the PHP-generated content or an exception? Yes there is an exception, but you told me before it was because my Jre was outdated and you are right. Regards, Julien Mallet. |