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) |
3
|
4
|
5
(1) |
6
|
7
|
8
|
|
9
|
10
(1) |
11
|
12
|
13
|
14
(1) |
15
|
|
16
|
17
(2) |
18
(1) |
19
|
20
|
21
|
22
|
|
23
|
24
(2) |
25
(2) |
26
(2) |
27
(1) |
28
|
29
|
|
30
|
31
(4) |
|
|
|
|
|
|
From: Peter N. <pn...@kr...> - 2005-01-31 21:58:16
|
Hi, Jost Boekemeier schrieb: >>OK, here you go, since the log-file is 70k I just >>put it online [1] > > > Your link is not accessible for me. Is it possible to > search for the lines which contain "returning map for" > and post these only? sorry, must have been a temporarily problem... anyway: -------------snipp------------------------ Jan 31 21:04:26 JavaBridge DEBUG: returning map for class [Lorg.omg.WfBase.NameValue; Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 15 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 2 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 2 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 54 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 36 Jan 31 21:04:26 JavaBridge DEBUG: recv: 18 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 8 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 17 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 50 Jan 31 21:04:26 JavaBridge DEBUG: send: SETRESULTFROMOBJECT Jan 31 21:04:26 JavaBridge DEBUG: recv: 15 Jan 31 21:04:26 JavaBridge DEBUG: recv: 0 Jan 31 21:04:26 JavaBridge DEBUG: send: 0 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 55 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 37 Jan 31 21:04:26 JavaBridge DEBUG: recv: 55 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 37 Jan 31 21:04:26 JavaBridge DEBUG: recv: 54 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 36 Jan 31 21:04:26 JavaBridge DEBUG: recv: 18 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 8 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 17 Jan 31 21:04:26 JavaBridge DEBUG: end packet: 1 Jan 31 21:04:26 JavaBridge DEBUG: recv: 50 Jan 31 21:04:26 JavaBridge DEBUG: send: SETRESULTFROMSTRING .... .... java.lang.Throwable: child aborted connection during read at JavaBridge.setResultFromObject(Native Method) at JavaBridge.setResult(JavaBridge.java:588) at JavaBridge.Invoke(JavaBridge.java:916) at JavaBridge.trampoline(Native Method) at JavaBridge.Trampoline(JavaBridge.java:237) at JavaBridge.trampoline(Native Method) at JavaBridge.Trampoline(JavaBridge.java:237) at JavaBridge.trampoline(Native Method) at JavaBridge.Trampoline(JavaBridge.java:237) at JavaBridge.handleRequests(Native Method) at JavaBridge.run(JavaBridge.java:221) at java.lang.Thread.run(Thread.java:536) Jan 31 21:04:26 JavaBridge DEBUG: communication broken: ffffffff Jan 31 21:04:26 JavaBridge DEBUG: terminate communication channel: 817eff0 ----------snapp----------------------------------- >>It involves >>heavy usage of CORBA, so that might be causing the >>problem? > > > Could be, if you don't unwrap the value you've > received -- hmm, what does unwrap mean? I'll have a look at the EJB rmi(iiop example... > version 1.0.8 contains an example which > connects to a EJB service via rmi/iiop, so this should > work in general. Yes, just switched to cvs/1.0.8 yesterday, haven't looked into those examples yet. >>[1] http://www.niekom.de/pub/php-java-bridge.log > > > I get a "unable to connect". see above, but the link should generally be working. Cheers, Peter |
|
From: Peter N. <pn...@kr...> - 2005-01-31 21:57:30
|
Hi,
Jost Boekemeier schrieb:
> Hi,
>
>
>>public NameValue[] process_context
>>$nameValues = $activity->process_context();
>>So far I couldn't figure out a way how to iterate through all the
>>elements of the returned array in PHP.
>
>
> $Array = new java_class("java.lang.reflect.Array");
> for($i=0; $i<$Array->getLength($nameValues); $i++)
> echo $nameValues[i] . "\n";
>
> should work if you have PHP5 (please see
> tests.php5/arrayInterface.php).
PHP5 is quite OK.
Works perfect this way, Thx!
(I looked at all the tests and examples already but didn't manage to
adjust it to my problem correctly)
> In PHP4 the bridge uses the same method
> as the ext/java: it copies all elements from the java array into a PHP
> hashtable $nameValues. I don't know at the moment how it is possible to
> ask a PHP hash table for its length.
Sorry, no help from me. :-<
[...]
>>'foreach ($nameValues as $value) { echo "soemthing" }' work.
>
>
> This should work in both PHP4 and PHP5, please see
> tests.php5/iteratorInterface.php. The example uses a Map, but
> getPhpMap() works for Arrays, Maps and Collections.
>
> Can you please set the log level to debug and send the result? I am
> looking for the output of: logDebug("returning map for "+
> value.getClass());
OK, here you go, since the log-file is 70k I just put it online [1]
instead of posting it to the list.
What I am doing is only proof-of-concept for an exam, no
production-code. performancewise(and stability) I should probably rather
do a lot of the stuff in a native java-library instead. It involves
heavy usage of CORBA, so that might be causing the problem?
Although, it pretty much looks like it was really possible to use a java
CORBA-library within PHP.
>>Do I need to modify the native Java-Class so it provides another
>>java-interface(collection,ArrayList)?
>
>
> Not necessary. I think that for some reason the value is neither an
> Array, nor a Map or Collection. We'll see.
hopefully it is of some help...
[1] http://www.niekom.de/pub/php-java-bridge.log
Big thx,
Peter
|
|
From: Jost B. <jos...@ya...> - 2005-01-31 18:32:28
|
Hi,
> public NameValue[] process_context
> $nameValues = $activity->process_context();
> So far I couldn't figure out a way how to iterate through all the
> elements of the returned array in PHP.
$Array = new java_class("java.lang.reflect.Array");
for($i=0; $i<$Array->getLength($nameValues); $i++)
echo $nameValues[i] . "\n";
should work if you have PHP5 (please see
tests.php5/arrayInterface.php). In PHP4 the bridge uses the same method
as the ext/java: it copies all elements from the java array into a PHP
hashtable $nameValues. I don't know at the moment how it is possible to
ask a PHP hash table for its length.
> It seems not possible to access the java.length property '$nameValues->length'
The bridge accesses java via reflection. For some reasons Sun decided
to wrap arrays differently (via a separate java.lang.reflect.Array
interface).
> 'foreach ($nameValues as $value) { echo "soemthing" }' work.
This should work in both PHP4 and PHP5, please see
tests.php5/iteratorInterface.php. The example uses a Map, but
getPhpMap() works for Arrays, Maps and Collections.
Can you please set the log level to debug and send the result? I am
looking for the output of: logDebug("returning map for "+
value.getClass());
> Do I need to modify the native Java-Class so it provides another
> java-interface(collection,ArrayList)?
Not necessary. I think that for some reason the value is neither an
Array, nor a Map or Collection. We'll see.
Jost
|
|
From: Peter N. <pn...@kr...> - 2005-01-31 10:07:42
|
Hi,
for a few days I have been testing the php-java-bridge and I must admit
it seems pretty mature and useful. :->
One slight problem remains though. I do need to call a java-method which
will return a (dynamic sized)Java-Array of Java-Objects.
signature of the java-method:
public NameValue[] process_context()
usage via php-java-bridge:
$nameValues = $activity->process_context();
So far I couldn't figure out a way how to iterate through all the
elements of the returned array in PHP. It seems not possible to access
the java.length property '$nameValues->length' nor will a
'foreach ($nameValues as $value) { echo "soemthing" }' work.
Are there any means available so I can determine how many elements are
in $nameValues?
I did see the provided examples and manual regarding the use of arrays
but I am not quite sury about it yet. ;(
Do I need to modify the native Java-Class so it provides another
java-interface(collection,ArrayList)?
Thx,
Peter
|