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
(4) |
2
(4) |
3
(6) |
4
(4) |
5
|
|
6
(1) |
7
(1) |
8
(5) |
9
|
10
|
11
|
12
(5) |
|
13
(4) |
14
(2) |
15
(3) |
16
(1) |
17
(1) |
18
(3) |
19
|
|
20
|
21
(1) |
22
(1) |
23
(2) |
24
(11) |
25
(1) |
26
(1) |
|
27
|
28
|
29
(5) |
30
(1) |
31
(4) |
|
|
|
From: <php...@li...> - 2007-05-02 12:04:08
|
Hi, Please open a ticket, please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 and attach the log of the bridge there. We'll check this issue asap. Regards, Jost Boekemeier --- php...@li... schrieb: > Hi, > > you're right that new Java(...) cannot return NULL. > > > How can I figure out, what's going wrong here and > > why??? > > You can look at the protocol level. Either set the > log > level to 4 or above or, if you use linux, type: > > strace -s 1024 php yourPhpScript.php >error.log > > You will see something like: > > --> <C p=... v=...>...</C> > <-- <O v=.../> > > > Which PHP version do you use, btw? > > > Regards, > Jost Boekemeier > > > > --- php...@li... > schrieb: > > > > > I am using php/java bridge 3.1.8. I am having the > > interesting case that in > > my PHP code I do a > > > > $classpath='...'; > > java_require($classpath); > > try { > > $var=new Java('class.name.here'); // > > the constructor has no > > paramete > > } catch(JavaException $exeption) { > > throw new Exception('Java-exception > > creating object of class > > "class.name.here": '.$exeption); > > } > > if ($var) { > > // using the object... > > } else { > > echo 'got a null object... :-( '; > > } > > > > Initially I was getting misc. > > ClassNotFound-Exceptions until I got my > > classpath right. The classpath seems to be OK now, > > but now I am NOT getting > > any JavaException but I get back a null-object, > i.e. > > I am falling into the > > echo ... statement in the above snippet. > > > > How can I figure out, what's going wrong here and > > why??? > > > > Michael > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 > > express and take > > control of your XML. No limits. Just data. Click > to > > get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > php-java-bridge-users mailing list > > php...@li... > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > > > > Heute schon einen Blick in die Zukunft von > E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! > Mail. www.yahoo.de/mail > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > __________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever |
|
From: <php...@li...> - 2007-05-02 09:41:21
|
Hi,
you're right that new Java(...) cannot return NULL.
> How can I figure out, what's going wrong here and
> why???
You can look at the protocol level. Either set the log
level to 4 or above or, if you use linux, type:
strace -s 1024 php yourPhpScript.php >error.log
You will see something like:
--> <C p=... v=...>...</C>
<-- <O v=.../>
Which PHP version do you use, btw?
Regards,
Jost Boekemeier
--- php...@li...
schrieb:
>
> I am using php/java bridge 3.1.8. I am having the
> interesting case that in
> my PHP code I do a
>
> $classpath='...';
> java_require($classpath);
> try {
> $var=new Java('class.name.here'); //
> the constructor has no
> paramete
> } catch(JavaException $exeption) {
> throw new Exception('Java-exception
> creating object of class
> "class.name.here": '.$exeption);
> }
> if ($var) {
> // using the object...
> } else {
> echo 'got a null object... :-( ';
> }
>
> Initially I was getting misc.
> ClassNotFound-Exceptions until I got my
> classpath right. The classpath seems to be OK now,
> but now I am NOT getting
> any JavaException but I get back a null-object, i.e.
> I am falling into the
> echo ... statement in the above snippet.
>
> How can I figure out, what's going wrong here and
> why???
>
> Michael
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
> express and take
> control of your XML. No limits. Just data. Click to
> get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
>
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2007-05-02 09:14:37
|
Hi,
> ---------------------
> PHP 5.0.4 too old.
> For PHP versions < 5.1.4 install the java.so or
> php_java.dll from the
> php-java-bridge-legacy download.
> Or set the path to the PHP executable, see php_exec
> in the
> WEB-INF/web.xml
> ---------------------
> What I don't get is that Apache *is* available, so
> why is the
> documentation steering me towards this
> implementation? Please explain.
Depending on whether you use the Apache front-end or
the J2EE back-end directly, a) you need to install the
java.so/php_java.dll or b) set the path to the php
executable, respectively.
That is:
http://localhost:8080/JavaBridge/test.php
invokes the php_exec from the web.xml,
http://localhost:80/JavaBridge/test.php invokes Apache
or IIS and triggers the php.so or php.dll which in
turn reads the php.ini which in turn loads the java.so
or php_java.dll.
> I do not understand how PHP deals with Java's
> instances.
Well, as someone else noted, your only mistake was
that you thought that getInstance evaluates for its
side effects. But this isn't the case. It is a
function.
> I installed this: php-java-bridge-4.0.7_j2ee and
Okay.
> though the environment
> is a virtual dedicated server, my rights are sadly
> limited.
Okay.
> I've got tomcat running on autostart and have the
> bridge in its webapps
> directory.
Okay. This means that even if the machine boots,
tomcat (and the bridge) will re-start automatically.
Good.
> If tomcat is supplying the VM, why am I getting
> stack heap issues in
Your ISP doesn't want you to start java from the
console. This is usually a GRSecurity or SEL issue.
> trying to start a VM when merely calling java -jar
> JavaBridge.jar --help
> ?
>
> This has *got* to work, I just need to figure out
> how...
Not really. You can restrict Java so that it core
dumps on startup. Please take a look at the SEL files
distributed with the php-java-bridge source download.
Sun JDK 1.5 for example creates executable files in
the temp dir with global permissions. This is very
insecure, imho. If you switch off these permissions
via a SEL rule, Java will crash in the garbage
collector or in the JIT thread.
It all depends on the SEL context. Presumably tomcat
runs in the initd_t context, not in unconfined_t. But
that's guesswork.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2007-05-02 08:57:48
|
I am using php/java bridge 3.1.8. I am having the interesting case that in
my PHP code I do a
$classpath='...';
java_require($classpath);
try {
$var=new Java('class.name.here'); // the constructor has no
paramete
} catch(JavaException $exeption) {
throw new Exception('Java-exception creating object of class
"class.name.here": '.$exeption);
}
if ($var) {
// using the object...
} else {
echo 'got a null object... :-( ';
}
Initially I was getting misc. ClassNotFound-Exceptions until I got my
classpath right. The classpath seems to be OK now, but now I am NOT getting
any JavaException but I get back a null-object, i.e. I am falling into the
echo ... statement in the above snippet.
How can I figure out, what's going wrong here and why???
Michael
|