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
(3) |
3
(2) |
4
(2) |
5
(3) |
6
|
|
7
|
8
|
9
(1) |
10
(2) |
11
(3) |
12
|
13
|
|
14
|
15
|
16
|
17
(2) |
18
(1) |
19
(1) |
20
|
|
21
(1) |
22
(3) |
23
|
24
|
25
|
26
(1) |
27
(1) |
|
28
|
29
|
30
(3) |
31
(2) |
|
|
|
|
From: Kai L. <K.L...@li...> - 2005-08-04 00:07:34
|
On Wed, 03 Aug 2005 12:06:19 -0500, you wrote:
>I want to be able to store an object in $_SESSION so that I can retrive=20
>the object with subsequent php pages. I think the issue I'm having is=20
>due to an out of scope condition when the php page exits. I see the=20
>Cache reference in the docs and tests.php4/Cache.java in the=20
>distribution but I'm little fuzzy on what to actually do.
>
>Here is a code snippet followed by the exception that is raised when my=20
>php page exits:
>
>...
> // OrderServiceUtil() handles the context lookup, remote object=20
>narrowing and home.create calls
> $orderServiceUtil =3D new OrderServiceUtil();
>
> // get an instance of the home interface of the session bean
> $order =3D $orderServiceUtil->getInstance();
>
> // get product id 1041=20
> =
=20
>
> $product =3D $order->getProduct(1041);
> =20
> $_SESSION['product'] =3D $product;
> =20
>...
>
>=20
>java.lang.NoSuchMethodException: __sleep(). Candidates: []
> at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:966)
> at php.java.bridge.Request.handleRequests(Request.java:190)
> at php.java.bridge.JavaBridge.run(JavaBridge.java:142)
> at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:20)
>=20
>Fatal error: Exception thrown without a stack frame in Unknown on line 0
>
>Just looking over the java bridge code it appears it is performing a=20
>wait() which probably call a system specific sleep(). What I can't=20
>figure out is which class the invocation is attempted. wait() and=20
>sleep() should be in rt.jar.
>
>Any thoughts?
Well, "__sleep()" is a magical method which PHP calls to signal to any
object that it is going to be seralized soon ... it has nothing to do
with java at all. And since your $product does not have a __sleep
method, the invocation will fail. Serializing non-trivial objects in
php is not for the faint of heart, you should know exactly what
happens and when (for example the class definition needs to be loaded
when the session gets started, *before* the object gets deserialized).
Anyway, you can't just write a java object to your session. What
you'll have to do is to use a java session. Look up the php java
brigde docs at http://php-java-bridge.sourceforge.net/about about
usage of java_get_session
You could use
session_start();
$java_session =3D java_get_session(session_id());
to get what you want ..
MfG,
Kai Londenberg
-------------------------------
librics GmbH & Co. KG
G=F6ttinger Chaussee 115
D-30459 Hannover
Tel. +49 511 - 473 88 77
=46ax +49 511 - 473 88 78
mailto: K.L...@li...
|
|
From: Abbett, J. <Jon...@ch...> - 2005-08-03 21:51:41
|
Is there a PHP 4 alternative to using PHP 5's try/catch functionality to = catch Java exceptions? =20 Thanks, Jon Abbett jon...@ch... |
|
From: Bryan L. <bl...@th...> - 2005-08-03 17:06:11
|
I want to be able to store an object in $_SESSION so that I can retrive
the object with subsequent php pages. I think the issue I'm having is
due to an out of scope condition when the php page exits. I see the
Cache reference in the docs and tests.php4/Cache.java in the
distribution but I'm little fuzzy on what to actually do.
Here is a code snippet followed by the exception that is raised when my
php page exits:
...
// OrderServiceUtil() handles the context lookup, remote object
narrowing and home.create calls
$orderServiceUtil = new OrderServiceUtil();
// get an instance of the home interface of the session bean
$order = $orderServiceUtil->getInstance();
// get product id 1041
$product = $order->getProduct(1041);
$_SESSION['product'] = $product;
...
java.lang.NoSuchMethodException: __sleep(). Candidates: []
at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:966)
at php.java.bridge.Request.handleRequests(Request.java:190)
at php.java.bridge.JavaBridge.run(JavaBridge.java:142)
at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:20)
Fatal error: Exception thrown without a stack frame in Unknown on line 0
Just looking over the java bridge code it appears it is performing a
wait() which probably call a system specific sleep(). What I can't
figure out is which class the invocation is attempted. wait() and
sleep() should be in rt.jar.
Any thoughts?
|
|
From: Jost B. <jos...@ya...> - 2005-08-02 19:28:18
|
Hi, > I mean auto converting java.util.Hashmap to PHP > native array.. Autoconversion has been switched off in php5 by default because it is an expensive operation. But you can convert manually: java_get_values($map); It is a no-op in php4, please see tests.php5/java_get_values.php for details. On protocol level the behaviour can be switched off by setting bit1 to 0, see protocol.txt. In php5 we send 0304 and in php4 0306, see the function get_mode() in client.c Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
|
From: William L. <wil...@co...> - 2005-08-02 12:35:01
|
Hello,
I've been trying to compile this module on my development web server for
the company I work for. I can't get pass the "./configure" stage. It
aborts with the following:
[root@cooeps php-java-bridge-2.0.7]# ./configure --with-java=/usr/local/IBMJava2-142
...
...
checking for unistd.h... yes
checking whether AF_LOCAL is declared... yes
checking whether PF_LOCAL is declared... yes
checking for socket in -lsocket... no
checking for sem_init in -lrt... yes
checking for pthreads_cflags...
checking for pthreads_lib...
configure: error: host_alias is not set. Make sure to run config.guess
I then run "config.guess" and I get the following:
i686-pc-linux-gnu
I retry with configure but still it fails in the same part. Then I try
adding the --host parameter to the configure script:
[root@cooeps php-java-bridge-2.0.7]# ./configure --host=i686-pc-linux-gnu --with-java=/usr/local/IBMJava2-142
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
...
...
checking whether AF_LOCAL is declared... yes
checking whether PF_LOCAL is declared... yes
checking for socket in -lsocket... no
checking for sem_init in -lrt... yes
checking for pthreads_cflags...
checking for pthreads_lib...
checking for broken stdio buffering... no
checking for broken gcc installation... no
checking for abstract namespace... yes
checking for struct ucred... yes
configure: error: cannot run
And here is where I am stuck. According to the project web page I am
complying with the minimum version requests for the tools needed to make
the build. I am using RedHat 9 with the following packages:
- kernel-2.4.20-8
- JDK from IBM 1.4.2 (IBMJava2-142)
- gcc-3.2.2-5
- apache 1.3.28 (compiled from source)
- php 4.3.2 (compiled from source)
- libtool-1.4.3-5
- automake-1.6.3-5
- make-3.79.1-17
- autoconf-2.57-3
What can I do? any ideas?
The funny thing is that I configured the module successfully in my
workstation with Fedora Core 3 and the latest updates.
Thanx in advance,
-William
|
|
From: <Sup...@gm...> - 2005-08-02 09:01:02
|
Hi All is it possible returning as native Array from Java Class in PHP 5 ? I mean auto converting java.util.Hashmap to PHP native array.. thanks --=20 kamus online - http://kamus.landak.com/ |