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
(3) |
6
(6) |
7
(6) |
8
(10) |
9
(6) |
10
|
|
11
(5) |
12
(5) |
13
(1) |
14
|
15
(2) |
16
(2) |
17
(4) |
|
18
(3) |
19
(3) |
20
(7) |
21
(5) |
22
(7) |
23
(1) |
24
(4) |
|
25
|
26
(3) |
27
(2) |
28
(1) |
29
|
30
|
31
|
|
From: <php...@li...> - 2009-01-22 18:12:06
|
Hi again,
> Things seem to have changed significantly in the 5 stream.
not really. Version 4.x was a transition towards a pure Java implementation (PHP/Java Bridge 5).
Version 5 has a flag which enables backward compatibility (define ("JAVA_PREFER_VALUES", true)). See our API documentation for details.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2009-01-22 17:59:22
|
Hi,
> java.so
Remove it.
Whether or not it's a PHP bug or a bug in Apache, I don't care. Simply remove the Java extension and use the pure Java PHP/Java Bridge instead.
The java.so is unsupported since PHP/Java Bridge version 3.2.1. Please see the NEWS for details.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2009-01-22 17:55:04
|
Hi,
> This example is in Java. So I assume that I must create the
> connection in Java, and then call this script from PHP?
Just take the java code and replace all "·" with "->", "new xxx" with new java("xxx") and xxx.FOO with java("xxx")->foo to create the PHP code. Please note that the driver must be in the bootstrap classpath, see our FAQ for details. Or deploy the driver via the Bea-/Oracle-/Sun- application server deploy tool.
> In this example, would I first need to setup and code an
> EJB in Java that creates the database connection?
Yes. Although it is possible to use a pooled resource directly from the servlet, you may need o/r mapping, anyway.
You can find several Java examples which show how to fetch a JNDI resource.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2009-01-22 17:53:48
|
php...@li... wrote: > Hi > > please see our FAQ "How do I enable the Java extension in my php.ini file?" > (http://php-java-bridge.sourceforge.net/pjb/FAQ.html) > > I'm confused how that is relevant to my question. I must not have explained my problem sufficiently in my previous post. We are running 4.3.3 fine now. We were previously running a version around 4.0.1. When we upgraded to apache 2.2.9 using the same java.so we found that apache processes were hanging and not exiting. I got a backtrace from them that looked like: (gdb) backtrace #0 0x00002b800b4ed38f in read () from /lib/libc.so.6 #1 0x00002aaaad00e380 in java_shutdown_library () from /usr/lib/php5/20060613/java.so #2 0x00002aaaad001e54 in zm_shutdown_java () from /usr/lib/php5/20060613/java.so #3 0x00002aaaac0a17b1 in module_destructor () from /usr/lib/apache2/modules/libphp5.so #4 0x00002aaaac0a7f32 in zend_hash_quick_find () from /usr/lib/apache2/modules/libphp5.so #5 0x00002aaaac0a81a8 in zend_hash_graceful_reverse_destroy () from /usr/lib/apache2/modules/libphp5.so #6 0x00002aaaac09db27 in zend_shutdown () from /usr/lib/apache2/modules/libphp5.so #7 0x00002aaaac05b68a in php_module_shutdown () from /usr/lib/apache2/modules/libphp5.so #8 0x00002aaaac05b729 in php_module_shutdown_wrapper () from /usr/lib/apache2/modules/libphp5.so #9 0x00002aaaac11e911 in zend_get_zval_ptr () from /usr/lib/apache2/modules/libphp5.so #10 0x00002b800b20a1ad in apr_pool_cleanup_run () from /usr/lib/libapr-1.so.0 #11 0x00002b800b20a7bd in apr_pool_destroy () from /usr/lib/libapr-1.so.0 #12 0x00000000004462be in ap_graceful_stop_signalled () #13 0x000000000044671a in ap_graceful_stop_signalled () #14 0x0000000000446904 in ap_graceful_stop_signalled () #15 0x0000000000446d83 in ap_mpm_run () #16 0x0000000000421027 in main () This seems to be identical to the discussion I previously referenced. Things seem to have changed significantly in the 5 stream. We will change our code to work with the new stream, eventually but it doesn't seem trivial. |
|
From: <php...@li...> - 2009-01-22 17:43:07
|
Hi please see our FAQ "How do I enable the Java extension in my php.ini file?" (http://php-java-bridge.sourceforge.net/pjb/FAQ.html) Regards, Jost Bökemeier |
|
From: <php...@li...> - 2009-01-22 15:37:15
|
Hi Jost, > How can I use the PHP-Java Bridge to connect PHP to MySQL > using the JNDI connection? >> Please see the MySQL API for details. An example is here: >> http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html#connector-j-examples-connection-drivermanager This example is in Java. So I assume that I must create the connection in Java, and then call this script from PHP? How can I call it from PHP? > $dbh = mysql_connect("java:comp/env/jdbc/TestDB") >> Mamma mia... :) If you want to access the driver from a EJB session bean, please see our EJB example (http://php-java-bridge.sourceforge.net/pjb/examples/source.php?source=documentClient.php) how to access a session bean. In this example, would I first need to setup and code an EJB in Java that creates the database connection? I'm using Tomcat, so does this mean I have to use openEJB? Once I have the EJB, do I just call it from PHP using the code example you provided? regards Jp This message has been scanned for viruses by MailControl - www.mailcontrol.com |
|
From: <php...@li...> - 2009-01-22 11:21:42
|
Thаnks Peter, that did the trick: $_POST["txtTest"] php...@li... wrote: > Hello! > > >> <form name="frm" id="frm" >> method="POST" action="test.php"> >> <input type="text" name="txtTest" >> >> <?php >> echo "<H1>You entered " . $txtTest . >> you can either set register globals to On or use the $_POST array. >> >> Peter >> |