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: Jost B. <jos...@ya...> - 2005-08-04 19:05:17
|
Hi Jonathan, > Is there a PHP 4 alternative to using PHP 5's > try/catch functionality to catch Java exceptions? Currently only java_last_exception(). But funny that you mention it, I have just thought about this while trying to do the opposite: find a way to signal an exception while running a PHP procedure invoked from java. I think there are at least two solutions, we could either add a primitive to register a "global" exception handler, something like: java_register_exception_handler(php_proc); or we could add a special primitive "java_call_with_exception_handler" which wraps the current invoke, getsetprop or create call and invokes the handler in case we receive an exception- instead of an object-handle (the protocol uses E to tag an exception object). Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
|
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...
|