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
(1) |
3
(1) |
4
|
5
(2) |
6
(2) |
7
(3) |
8
(1) |
|
9
|
10
|
11
|
12
(4) |
13
(10) |
14
(5) |
15
(2) |
|
16
|
17
|
18
(12) |
19
|
20
|
21
|
22
(1) |
|
23
(1) |
24
(10) |
25
(3) |
26
(5) |
27
|
28
|
29
|
|
30
(3) |
|
|
|
|
|
|
|
From: <php...@li...> - 2008-11-13 21:23:13
|
Hi,
to fix this problem please add the following line to your Java.inc (or Protocol.inc):
$this->protocol->handler = $this->protocol->socketHandler;
+ $this->protocol->flush(); // don't wait for the next statement
}
This fix will be in PHP/Java Bridge version 5.3.3.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-13 19:23:13
|
Hi,
please see my other mail which explains the problem.
Until version 5.3.3 is released please add a java() dummy statement to your script:
java(...)
// workaround for a 5.3.2 bug which must execute the second java statement within 30 seconds
java(...)
wait(...)
java(...)
...
However, I am curious why the wait() for more than 30 seconds is necessary?
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-13 19:09:14
|
Hi, thank you very much for the bug report. Your script contains the following code: java(...) wait(more than 30sec) java(...) Since the bridge avoids write/write/read to accommodate BSD's socket implementation, it has no chance to do a context switch before the ContextFactory times out after 30 seconds, checked every 10 minutes. Hence the spurious protocol error and the exceptions. Since John Nagle has fixed this TCP problem and all operating systems (except *BSD and probably OSX) seem to contain this fix, I will revert this change. The delayed ack will make the bridge slower on *BSD and OSX (~500ms per request), but I don't see a way to fix this on app level without introducing another network round-trip, which will make the bridge slower on *all* operating systems.[3] The change will be in PHP/Java Bridge version 5.3.3, which will be released this week. Again, thank you very much for reporting this problem! Regards, Jost Boekemeier [1] A program demonstrating this problem: http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018144.html [2] John Nagle's explanation: http://developers.slashdot.org/comments.pl?sid=174457&cid=14515105 and http://freebsd.monkey.org/freebsd-net/200601/msg00156.html [3] As far as I know osx and bsd don't have a modern java environment, anyway. Users who want to run the bridge on these os may as well use unix domain sockets instead, see the README for details. |
|
From: <php...@li...> - 2008-11-13 15:21:26
|
Hello!
> the web app path is missing after the @, so I assume you use the JavaBridge.jar in development mode.
If by "development mode" you mean running the JavaBridge.jar as standalone, then yes:
java -jar JavaBridge.jar SERVLET_LOCAL:8080 4 /var/log/javabridge.log
> Furthermore I assume you're running windows or you have switched of the PipeContextServer.
The JavaBridge is running on Ubuntu 8.04. What the PipeContextServer is, I do not know. Our logs contain no reference to it.
> This is either a serious bug in the JavaBridge.jar or,
> more likely, you have mixed an old version of the front-end with a recent version of the back-end or vice versa.
I considered this as well. In reality, we are currently including the Java.inc file over http:
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
Which I would think ensures that the frontend is indeed of the same version as the backend.
Regards,
Johannes Staffans
itCampus GmbH
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-11-13 14:05:36
|
>> Your client may not be interested in the result anymore... :) Very possible. But with asynchronous requests (AJAX) the client could continue working while waiting on the result. I've never seen a request take longer than a couple of seconds, but everything we are doing here is on an Intranet. I was just curious about issues that might arise in other circumstances. Thanks for the information. Very informative. Charles Shaffer Senior Analyst NTN-Bower Corporation |
|
From: <php...@li...> - 2008-11-13 13:56:19
|
Hi,
> java.io.IOException: No context available for: 21@.
the web app path is missing after the @, so I assume you use the JavaBridge.jar in development mode. Furthermore I assume you're running windows or you have switched of the PipeContextServer.
In any case PHP sends an initial PUT request to the back end and then switches to a ContextRunner, keeping a persistent connection to it until it dies.
When the persistent connection is terminated, the client must not refer to its destroyed context anymore.
This is either a serious bug in the JavaBridge.jar or, more likely, you have mixed an old version of the front-end with a recent version of the back-end or vice versa.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-13 13:40:17
|
Hi,
> If I am following what you are saying, then if I run a
> query that takes
> longer than 30 seconds on the backend database server, the
> PHP process on
> the server will die before the result set is returned.
The result set is returned and php will process further statements until the maximum execution time set in your php.ini file is reached. wait() states do not count as execution time.
> If so, when is the allocated memory reclaimed?
The reference counter reclaims unused memory immediately, i.e. __destruct() is called even before the next statement is executed. Cycles will be reclaimed when the script terminates.
> problem if I ever run a query that takes longer than 30
Your client may not be interested in the result anymore... :)
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-13 13:40:09
|
Hi,
please see the test/cli.java from the documentation server folder.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-13 11:10:26
|
Hello!
Using the standalone version of the JavaBridge v5.3.2.1.2, we are getting this error, seemingly when the JavaBridge is called upon after a period of extended inactivity:
Nov 11 12:42:41 VMBridge ERROR: An exception occured: java.io.IOException: No context available for: 21@.
java.io.IOException: No context available for: 21@.
at php.java.bridge.http.ContextRunner.init(ContextRunner.java:120)
at php.java.bridge.http.ContextRunner.run(ContextRunner.java:139)
at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60)
Nov 11 12:42:41 VMBridge DEBUG: end (thread returned to pool): Thread[JavaBridgeContextRunner#6,5,JavaBridgeContextRunner#6]
Any ideas?
Regards,
Johannes Staffans
itCampus GmbH
|
|
From: <php...@li...> - 2008-11-13 11:07:17
|
Just a quick update on this issue: >> seemingly random, frequent intervals greeted by a friendly >> "Protocol error; , Invalid document end at col 10. >> Check the back end log for details." > Can you please open a ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233), > set the log level to 4 or above and attach the log at the end of the ticket? > Please start tomcat with the option -Dphp.java.bridge.default_log_level=4 > JAVA_OPTS=-Dphp.java.bridge.default_log_level=4 /opt/tomcat/catalina.sh run We are currently doing this, but in the last several days, the error has not reappeared. Maybe setting log_level to 4 fixes it :-) I will return to this issue when we have more information. For the time being, we are getting another error for which I am opening a new thread. Best regards, Johannes Staffans itCampus GmbH |