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
(5) |
2
(3) |
3
(1) |
|
4
|
5
(3) |
6
(1) |
7
|
8
|
9
|
10
(2) |
|
11
|
12
(1) |
13
(7) |
14
(4) |
15
(2) |
16
|
17
(1) |
|
18
|
19
(5) |
20
|
21
(5) |
22
(1) |
23
|
24
|
|
25
|
26
|
27
|
28
|
29
(1) |
30
|
31
|
|
From: Abbett, J. <Jon...@ch...> - 2005-12-13 21:22:03
|
Of course, now that you've said those magic words, my problem has
mysteriously vanished. The failure situations I described now work!
(BTW, I'm running PHP 5 with Bridge v2.0.7)
Thanks for your help all the same.
--Jonathan
-----Original Message-----
From: Jost Boekemeier [mailto:jos...@ya...]=20
Sent: Tuesday, December 13, 2005 2:24 PM
To: Abbett, Jonathan; php...@li...
Subject: RE: [Php-java-bridge-users] How to pass a "boolean", not
"java.lang.Boolean"?
Hi Jonathan,
> $object->setValue(true);
I could not reproduce the above problem using the
following test code:
public class test { =20
=20
public Object getBoolean(boolean b) {return new
Boolean(b);} =20
}
<?php =20
=20
=20
java_require(getcwd()); =20
=20
$test =3D new Java("test"); =20
=20
echo $test->getBoolean(true); =20
=20
echo $test->getBoolean(false);=20
php 4.3.9, bridge 2.0.8.
Can you please set the java.log_level to 5 and attach
the log at the end of the ticket
(http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1379741&gro=
up_
id=3D117793&atid=3D679233)
BTW: Is it possible to upgrade to php5 and bridge
version 3.0.2? PHP5 eliminates this problem altogether
as the bridge no longer needs to coerce the return
values. All the examples you've given should work as
expected, you can even cast java values to boolean or
other php types.=20
Regards,
Jost Boekemeier
=09
=09
=09
___________________________________________________________=20
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: Jost B. <jos...@ya...> - 2005-12-13 19:32:13
|
Hi Juan, if I remember correctly, the bridge cannot open a TCP port in this AS so that it has to use a TCP tunnel for the entire communication. [#|2005-12-13T11:43:05.921+0500|INFO|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=19;|WebModule[/JavaBridge] > JavaBridge DEBUG: @5c6110 re-directing to port# > 9567|#] The above should not appear, you should get a security exception instead. Maybe this depends on the OS and the exception appears too late (i.e. the selected communication channel turns out to be unusable and the bridge has no chance to inform the client about this). I'll check this. Do you have the command "truss" installed on your machine? If so, can you please open a ticket and append the result of truss php -f testJavaBasic.php at the end of the created ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233). Thank you very much for the bug report. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: Jost B. <jos...@ya...> - 2005-12-13 19:24:20
|
Hi Jonathan,
> $object->setValue(true);
I could not reproduce the above problem using the
following test code:
public class test {
public Object getBoolean(boolean b) {return new
Boolean(b);}
}
<?php
java_require(getcwd());
$test = new Java("test");
echo $test->getBoolean(true);
echo $test->getBoolean(false);
php 4.3.9, bridge 2.0.8.
Can you please set the java.log_level to 5 and attach
the log at the end of the ticket
(http://sourceforge.net/tracker/index.php?func=detail&aid=1379741&group_id=117793&atid=679233)
BTW: Is it possible to upgrade to php5 and bridge
version 3.0.2? PHP5 eliminates this problem altogether
as the bridge no longer needs to coerce the return
values. All the examples you've given should work as
expected, you can even cast java values to boolean or
other php types.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: Jost B. <jos...@ya...> - 2005-12-13 18:54:55
|
Hi Jonathan, [$object->setValue(true) not working] I have created a ticket for this, please see http://sourceforge.net/tracker/index.php?func=detail&aid=1379741&group_id=117793&atid=679233 for details. I will look at this asap. Thank you very much for the bug report. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: Jost B. <jos...@ya...> - 2005-12-13 18:38:57
|
Hi Mark,
the syntax for namspace access is different than the
syntax for property access. For example if you have a
class
public interface php {
public interface java {
public class bridge {
public enum JavaBridge = {UNITS, VOLUME, SCORE};
}
}
}
the JavaBridge would be accessed via:
$bridge = new
JavaClass('php$java$bridge$JavaBridge');
echo $bridge->UNITS;
this is to avoid name clashes with the class:
$bridge = new
JavaClass("php.java.bridge.JavaBridge");
The different syntax makes sense, an I hope the PHP6
developers don't make the same mistake that sun made;
if you compile and place the above php.class into your
classpath, then no java developer can access the class
php.java.bridge.JavaBridge anymore because the java
compiler automatically rewrites the syntax
php.java.bridge.JavaBridge into
php$java$bridge$JavaBridge and stores this into the
.class file.
However, the real fun begins if you compile and place
the following java.class into your classpath:
public interface java {
public class lang {
public enum String = {one, two};
}
}
After that a new java.lang.String() will return the
above enum. -- But I guess this problem is caught by
the java bytecode verifier...
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: Juan A. G. <jg...@co...> - 2005-12-13 17:23:45
|
Hi,
=20
I deployed JavaBridge.war 2.0.8 on Sun Java System Application Server =
8.1 on a Solaris 10 box.
When I execute php -f testJavaBasic.php, I never get a response from the =
AS.
=20
These are the entries in the AS log:
=20
[#|2005-12-13T11:43:05.919+0500|INFO|sun-appserver-ee8.1|javax.enterprise=
.system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge =
DEBUG: @5c6110 --> <C v=3D"java.lang.System" p=3D"C" i=3D"11190680" >|#]
=20
[#|2005-12-13T11:43:05.920+0500|INFO|sun-appserver-ee8.1|javax.enterprise=
.system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge =
DEBUG: @5c6110 --> </C>|#]
=20
[#|2005-12-13T11:43:05.921+0500|INFO|sun-appserver-ee8.1|javax.enterprise=
.system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge =
DEBUG: @5c6110 <-- <O v=3D"1" i=3D"11190680"/>|#]
=20
[#|2005-12-13T11:43:05.921+0500|INFO|sun-appserver-ee8.1|javax.enterprise=
.system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge =
DEBUG: @5c6110 re-directing to port# 9567|#]
=20
[#|2005-12-13T11:43:05.922+0500|INFO|sun-appserver-ee8.1|javax.enterprise=
.system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge =
DEBUG: @5c6110 waiting for context: 13|#]
=20
This is testJavaBasic.php:
=20
<?php
// Obtienen el nombre del OS en el que se esta ejecutando PHP
$system =3D new JavaClass('java.lang.System');
$time =3D $system->currentTimeMillis();
echo $time;
//$os =3D $system->getProperty('os.name');
//echo $os . "\n\n";
?>
=20
Any idea about why JavaBridge never response?
=20
Thanks for the help.
=20
Regards,
=20
Juan Andr=E9s
*************************************************************************=
*
Nota: La informaci=F3n transmitida a trav=E9s de este correo =
electr=F3nico es confidencial y est=E1 dirigida =FAnicamente a su =
destinatario. Su reproducci=F3n, lectura o uso est=E1 prohibido a =
cualquier persona o entidad diferente. Aunque Computec S.A. ha realizado =
su mejor esfuerzo para asegurar que el presente mensaje y sus archivos =
anexos se encuentran libre de virus y defectos que puedan llegar a =
afectar los computadores o sistemas que lo reciban, no se hace =
responsable por la eventual transmisi=F3n de virus o programas da=F1inos =
por este conducto, y por lo tanto es responsabilidad del destinatario =
confirmar la existencia de este tipo de elementos al momento de =
recibirlo y abrirlo. Ni Computec S.A. ni ninguna de sus divisiones o =
dependencias aceptan responsabilidad alguna por eventuales da=F1os o =
alteraciones derivados de la recepcion o uso del presente mensaje.
*************************************************************************=
*
Note: The information transmitted through this E-mail is confidential =
and is intended to reach only its addressee. Reproduction and usage of =
this message or its contents, in whole or in part, are strictly =
forbidden without the prior written consent of Computec S.A. Computec =
S.A. has made its best efforts to ensure that this message and any =
attached files are free of any virus or other potentially harmful =
content, but makes no representations to this effect. Addressee shall =
assume full responsibility for ensuring that opening or reading this =
message and any attachments will not result in harm to their system. =
Neither Computec nor any of its divisions accepts any responsibility for =
damages arising from opening or reading this message or any attachments =
thereto.
*************************************************************************=
*
|
|
From: Abbett, J. <Jon...@ch...> - 2005-12-13 15:37:45
|
Greetings all...
Unfortunately, I have another question about how to pass a variable
without it being converted by the Bridge into something unexpected.
I have a method that accepts a small-b "boolean" as its only argument.
I've tried a few different strategies, but the variable I provide always
ends up a "java.lang.Boolean," and causes a NoSuchMethodException.
Here's what I've tried:
// getBoolean returns a boolean primitive
$boolean_class =3D new java_class('java.lang.Boolean');
$object->setValue($boolean_class->getBoolean('true'));
----
$object->setValue(0);
----
$object->setValue(true);
----
// booleanValue() returns a boolean primitive
$boolean =3D new java('java.lang.Boolean', 'true');
$object->setValue($boolean->booleanValue());
---
$object->setValue((boolean)'true');
No luck with any of them. Suggestions?
Thanks!
Jon Abbett
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Jonathan Abbett
Children's Hospital Informatics Program
1 Autumn Street, Fifth Floor
Boston, MA 02215
617-355-8334
http://www.chip.org
|