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-26 15:14:47
|
> I will mark PHP/Java Bridge version 6 as "experimental" Done. Current stable download is PHP/Java Bridge 5.5.4.1 The next version, PHP/Java Bridge 6.2.1, will contain the following changes: * Use the WebSocket protocol instead of HTTP/1.1 chunked connection * Dropped support for all application servers which do not support the WebSocket protocol. This means: Jetty 7 only. * JSR 223 script engine improvements: FastCGI instead of CGI and getInvocablePhpScriptEngine() w/o the URI parameter for local script invocation and implementation of the Compilable interface. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-26 12:57:42
|
Hi Brian, you should probably keep using PHP/Java Bridge version 5.x instead. If it is true that the timeout cannot be configured reliably ( see http://marc.info/?l=tomcat-dev&m=115956945015246&w=3 ), the PHP/Java Bridge version 6 becomes useless, until tomcat supports a reliable, persistent communication channel. For example WebSockets. I will mark PHP/Java Bridge version 6 as "experimental" and will check the tomcat 6 source code. Thanks again for reporting this issue! Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-06-26 12:29:29
|
Great, thanks for the quick response. I've updated my tomcat timeout and everything seems to be working well enough now. Thanks for the help, Brian On Sat, Jun 26, 2010 at 7:42 AM, < php...@li...> wrote: > Hi Brian, > > > sleep(30); > > the default tomcat keep-alive timeout is 20000ms. If your script > doesn't send any data within 20seconds, tomcat closes the connection. > > Please change tomcat's server.xml to > > <Connector port="8080" protocol="HTTP/1.1" > connectionTimeout="40000" > redirectPort="8443" /> > > (there's no separate keepAliveTimeout; Tomcat uses the > connectionTimeout for the keep-alive as well) > > The hanging at the end of the script is another problem. PHP/Java > Bridge 6.0 uses HTTP/1.1 chunked connections, which require a shutdown > sequence. From the current Java.inc: > > for ($this->res=$this->fread(10); strlen($this->res) < 10; > $this->res.=$this->fread(10-strlen($this->res))); > > The "10" is the <F t="E"/>, which is okay. But I should have checked > that the connection is still alive. Or simply replace the for loop > with fread($sock, 10), as tomcat won't send the 10 bytes > one-after-the-other. > > > Thank you very much for reporting this issue. > > > Regards, > Jost Bökemeier > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2010-06-26 11:42:18
|
Hi Brian,
> sleep(30);
the default tomcat keep-alive timeout is 20000ms. If your script
doesn't send any data within 20seconds, tomcat closes the connection.
Please change tomcat's server.xml to
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="40000"
redirectPort="8443" />
(there's no separate keepAliveTimeout; Tomcat uses the
connectionTimeout for the keep-alive as well)
The hanging at the end of the script is another problem. PHP/Java
Bridge 6.0 uses HTTP/1.1 chunked connections, which require a shutdown
sequence. From the current Java.inc:
for ($this->res=$this->fread(10); strlen($this->res) < 10;
$this->res.=$this->fread(10-strlen($this->res)));
The "10" is the <F t="E"/>, which is okay. But I should have checked
that the connection is still alive. Or simply replace the for loop
with fread($sock, 10), as tomcat won't send the 10 bytes
one-after-the-other.
Thank you very much for reporting this issue.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2010-06-26 04:51:46
|
I had a hanging problem but at the same time my script was not working. It
was because my I hadn't installed JavaBridge and PHP correctly. I just
re-installed both, and I didn't have the problem anymore.
It could also be something with the exit function, but I don't know
JavaBridge well enough to comment what exactly.
Sincerely,
Sravan Suryadevara
On Sat, Jun 26, 2010 at 1:45 AM, <
php...@li...> wrote:
> 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";
>
> ?>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|