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
(2) |
4
(1) |
5
(1) |
6
|
7
|
|
8
|
9
(1) |
10
|
11
|
12
(3) |
13
(2) |
14
(6) |
|
15
|
16
(3) |
17
(2) |
18
(4) |
19
(2) |
20
|
21
|
|
22
|
23
(1) |
24
(1) |
25
(9) |
26
(7) |
27
(9) |
28
(5) |
|
29
(1) |
30
(7) |
31
(4) |
|
|
|
|
|
From: <php...@li...> - 2007-07-27 23:46:19
|
2007/7/25, php...@li...
<php...@li...>:
> [please excuse the delay]
no problem! thanks for your attention
> your code is a little bit unusual
if you can advice me a bettter solution, i will thank you! ^_^
> Can you please set the log level to 5 or above? The bridge should display the weight and why it
> has selected the wrong method.
.the log is at the end o this mail
> Do you
> have two java_require() calls in your code?
i have only one:
<?php
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
java_require("/var/www/prove");
$o = new Obj();
$o->exec();
class Obj
{
var $a = 'pluto';
function __construct(){ $this->a='paperina';}
function exec()
{
try {
$obj = new Java('ObjPassing');
$a = java_Cast($obj->testMe(),'string');
$obj->visit(java_get_closure(new Obj()));
$obj->visit2(java_get_closure(new Obj()));
$obj->visit(java_get_closure($this));
$obj->visit(java_get_closure(new Obj(),null, new JavaClass("IVisit")));
}
catch(JavaException $ex)
{
$exStr = java_cast($ex, "string");
echo "\nException occured; mixed trace: $exStr\n";
}
}
public function eccolo() { }
}
// suppress the warning message from the use of reset.
@java_reset();
?>
PS: even if i don't know why, i've noticed that i manage to call the
rigth method if the exec method of my class is only:
function exec()
{
try {
$obj = new Java('ObjPassing');
$obj->visit(java_get_closure(new Obj(),null, new JavaClass("IVisit")));
}
catch(JavaException $ex)
{
$exStr = java_cast($ex, "string");
echo "\nException occured; mixed trace: $exStr\n";
}
}
=============== VERBOSE LOG ========================
Jul 28 01:41:49 JavaBridge DEBUG: Starting HTTP server thread from thread pool
Jul 28 01:41:50 JavaBridge DEBUG: Socket connection accepted
Jul 28 01:41:50 JavaBridge DEBUG: Starting HTTP server thread from thread pool
Jul 28 01:41:50 JavaBridge DEBUG: end:
Thread[JavaBridgeHttpServerThreadPool#1,5,JavaBridgeHttpServerThreadPool#1]
Jul 28 01:41:50 JavaBridge DEBUG: new context: 1@, # of contexts: 1
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 --> <I v="0"
m="updateJarLibraryPath" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 --> <S v="/var/www/prove" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 --> <S v="./" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].updateJarLibraryPath([Object
19456522 - Class: java.lang.String:ID17829242:LOADER-ID0],[Object
15006066 - Class: java.lang.String:ID17829242:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 re-directing to port#
Socket:9267
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@1113708 waiting for context: 1@
Jul 28 01:41:50 JavaBridge DEBUG: end:
Thread[JavaBridgeHttpServerThreadPool#2,5,JavaBridgeHttpServerThreadPool#2]
Jul 28 01:41:50 JavaBridge DEBUG: starting a new ContextRunner
php.java.bridge.http.ContextRunner@b4d3d5
Jul 28 01:41:50 JavaBridge DEBUG: Added LOADER-ID29315749
OrigPath: ;/var/www/prove
Translated: file:/var/www/prove/
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <C v="ObjPassing" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </C>
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class: ObjPassing
from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.Object from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].ObjPassing();
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="1" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="1"
m="testMe" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class: IVisit from:
LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.String from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].testMe();
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 11546234 - Class: java.lang.String:ID17829242:LOADER-ID0]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="2" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0"
m="castToString" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="2" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].castToString([Object
11546234 - Class: java.lang.String:ID17829242:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 11546234 - Class: java.lang.String:ID17829242:LOADER-ID0]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <S v="ZnVuemlvbm8=
"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="2" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0"
m="makeClosure" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <L v="1" p="O" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].makeClosure([Object
27432475 - Class: java.lang.Long:ID19727353:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 6290200 - Class:
php.java.bridge.PhpProcedureProxy:ID22936951:LOADER-ID11126876]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="3" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="1" m="visit" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="3" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 Selected: public void
ObjPassing.visit(java.lang.Object) 0
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].visit([Object 1026511 -
Class: $Proxy0:ID24670264:LOADER-ID1088076]);
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.System from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.io.PrintStream from: LOADER-ID29315749
metodo visit, param obj
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="3" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0"
m="makeClosure" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <L v="2" p="O" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].makeClosure([Object
5592862 - Class: java.lang.Long:ID19727353:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 13271847 - Class:
php.java.bridge.PhpProcedureProxy:ID22936951:LOADER-ID11126876]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="4" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="1"
m="visit2" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="4" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].visit2([Object 23631794 -
Class: $Proxy0:ID24670264:LOADER-ID1088076]);
metodo visit2
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="4" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0"
m="makeClosure" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <L v="3" p="O" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].makeClosure([Object
29321072 - Class: java.lang.Long:ID19727353:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 18881061 - Class:
php.java.bridge.PhpProcedureProxy:ID22936951:LOADER-ID11126876]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="5" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="1" m="visit" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="5" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].visit([Object 9737354 -
Class: $Proxy0:ID24670264:LOADER-ID1088076]);
metodo visit, param obj
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="5" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <C v="IVisit" p="C" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </C>
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class: IVisit from:
LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="6" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0"
m="makeClosure" p="I" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <L v="4" p="O" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="6" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight long class
php.java.bridge.PhpExactNumber: 0
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight interface
java.util.Map null: 0
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight class
[Ljava.lang.Class; interface IVisit: 9999
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 best: public
java.lang.Object
php.java.bridge.JavaBridge.makeClosure(long,java.util.Map,java.lang.Class[])
9999
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight long class
php.java.bridge.PhpExactNumber: 0
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight interface
java.util.Map null: 0
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 weight class
java.lang.Class interface IVisit: 0
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 Selected: public
java.lang.Object
php.java.bridge.JavaBridge.makeClosure(long,java.util.Map,java.lang.Class)
0
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].makeClosure([Object
24087760 - Class: java.lang.Long:ID19727353:LOADER-ID0],[Object
null],[Object 8761216 - Class:
java.lang.Class:ID10748354:LOADER-ID0]);
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object 12915541 - Class:
php.java.bridge.PhpProcedureProxy:ID22936951:LOADER-ID11126876]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <O v="7" p="O"/>
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="6" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="1" m="visit" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <O v="7" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.reflect.Proxy from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.Throwable from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.RuntimeException from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.Error from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.reflect.UndeclaredThrowableException from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.ClassNotFoundException from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.NoSuchMethodException from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.NoSuchMethodError from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.NoClassDefFoundError from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.reflect.InvocationHandler from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG: trying to load class:
java.lang.Class from: LOADER-ID29315749
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 8843841 - Class:
ObjPassing:ID25872184:LOADER-ID29315749].visit([Object 1333195 -
Class: $Proxy1:ID23063136:LOADER-ID29315749]);
metodo visit, param obj
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="7" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <U v="1" />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <I v="0" m="reset" p="I" >
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> </I>
Jul 28 01:41:50 JavaBridge DEBUG:
Invoking [Object 3341135 - Class:
php.java.bridge.JavaBridge:ID783148:LOADER-ID11126876].reset();
Jul 28 01:41:50 JavaBridge WARNING: 32fb4f@10b9d04 Your PHP script has
called the privileged procedure "reset()", which resets the backend to
its initial state. Therefore all session variables and all caches are
now gone.
Jul 28 01:41:50 JavaBridge DEBUG:
Result [Object null]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <N />
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 --> <F p="A" />
Jul 28 01:41:50 JavaBridge DEBUG: end:
Thread[JavaBridgeContextRunner#1,5,JavaBridgeContextRunner#1]
Jul 28 01:41:50 JavaBridge DEBUG: 32fb4f@10b9d04 <-- <F p="A"/>
Jul 28 01:41:50 JavaBridge DEBUG: context finished: 1@
Jul 28 01:41:50 JavaBridge DEBUG: removed context: Context# 1@,
isInitialized: false, # of contexts: 0
Jul 28 01:41:50 JavaBridge DEBUG: end:
Thread[JavaBridgeContextRunner#1,5,JavaBridgeContextRunner#1]
|
|
From: <php...@li...> - 2007-07-27 20:09:22
|
BTW: I'm using the C implementation compiled on Solaris, running Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8d PHP/5.2.1 Server. If I wanted to use the Pure PHP Implementation I would need to install Tomcat, am I right? Regards, Andr=E9s Gattinoni On 7/27/07, Andr=E9s Gattinoni <and...@gm...> wrote: > > Guys, I'm having serious memory leaking problems and I want to make sure = I > have PHP/Java Brigde properly configured and that I'm using it correctly. > > I have just activated the PHP/Java Bridge log in debug mode. I would > appreciate any help you can provide to help me on the troubleshooting. > > If anyone can provide an MSN Messenger, YIM or GTalk contact so that we > can work live would be a great help. > > Thanks, > > Best regards, > > Andr=E9s Gattinoni > > On 7/25/07, php...@li... <php-java-bridge-= us...@li... > > wrote: > > > > Hi, > > > > PHP should display a clear error message. If it doesn't there's either = a > > bug in the > > bridge or in PHP. Which PHP/Java Bridge version do you use? I old C > > implementation or > > the pure PHP implementation? > > > > > > Regards, > > Jost Boekemeier > > > > > > > > __________________________________ Wissenswertes f=FCr Bastler u= nd > > Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever > > > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > php-java-bridge-users mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > > |
|
From: <php...@li...> - 2007-07-27 19:57:35
|
Guys, I'm having serious memory leaking problems and I want to make sure I have PHP/Java Brigde properly configured and that I'm using it correctly. I have just activated the PHP/Java Bridge log in debug mode. I would appreciate any help you can provide to help me on the troubleshooting. If anyone can provide an MSN Messenger, YIM or GTalk contact so that we can work live would be a great help. Thanks, Best regards, Andr=E9s Gattinoni On 7/25/07, php...@li... < php...@li...> wrote: > > Hi, > > PHP should display a clear error message. If it doesn't there's either a > bug in the > bridge or in PHP. Which PHP/Java Bridge version do you use? I old C > implementation or > the pure PHP implementation? > > > Regards, > Jost Boekemeier > > > > __________________________________ Wissenswertes f=FCr Bastler und > Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2007-07-27 17:20:01
|
Hi Jost, thanks for all your answers. I follow your last answer and i delete the php.ini in the cgi folder. The same behavior. Then i upgrade the bridge from 3.2.1a to 4.2.1. But unfortunately i cant find the java-x86-windows.dll for copy into the php/ext folder. Then i take the php-4-java-x86-windows.dll and renamed it to php_java.dll. This is not working. I am afraid it is incorrect what i done. ok. >then you'll need to use the JSR223 interface to call your PHP scripts running in the web server. >This will not necessarily slower than a PHP FastCGI server attached to the web context, but >certainly much more inconvenient as it requires an external web server and >that the web server is configured to run PHP. > > > i dont know it is the best way. I see the php-webapp running in my apache. i see also a call into java. I thought, wow it is great. I'm afraid i need now help from professionals. I dont know it is ok i ask in this forum - Can you help me as professional-consultant to solve the problem? regards Jörg |
|
From: <php...@li...> - 2007-07-27 16:14:14
|
Hi Jörg,
> unfortunately runs the php-app not in the tomcat
then you'll need to use the JSR223 interface to call your PHP scripts running in the web server.
This will not necessarily slower than a PHP FastCGI server attached to the web context, but
certainly much more inconvenient as it requires an external web server and
that the web server is configured to run PHP.
Regards,
Jost Boekemeier
__________________________________ Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-27 16:05:02
|
Hi Filip,
> - 0 to 2 seconds
> a) For the first time - 12 to 18 seconds
> b) Succeeding times - 1 to 4 seconds
> (not 5 seconds as I reported to you last time)
which statements are so slow? Is it possible to add
echo java("java.lang.System")->currentTimeMillis(); echo "<br>\n";
at the beginning and the end of the script?
Regards,
Jost Boekemeier
__________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-27 16:00:30
|
Hi Jörg,
> 5.2.3 in C:\Programs\PHP\php. If i run php-info i see that
> C:\Programs\PHP\php.ini is used, but the version is 5.1.3-dev I think
> the version they be used is located in the cgi folder!?
PHP > 5.2 now prefers the php.ini from the current ("cgi") folder over the system php.ini.
Please remove this file from the cgi folder.
Version 4.2.1 and above change the current working directory when the
system php executable is used to avoid this problem.
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-27 14:36:36
|
Hi Jost, one more info for the behavior. >If i configure as PHP5, PHP/Java Bridge & Tomcat on XP PRO + SP and >examples (http://www.dsl.uow.edu.au/~sk33/php5jsp.htm) >the bridge isnt running. In this case, i wondering the the php version >is 5.1.3-dev. why used this install not the installed version? > > > The php version they used issnt the same as i installed. I installed 5.2.3 in C:\Programs\PHP\php. If i run php-info i see that C:\Programs\PHP\php.ini is used, but the version is 5.1.3-dev I think the version they be used is located in the cgi folder!? But some librarys can`t loaded: may logfile: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Programs\PHP\ext\php_imagick.dll' - Die angegebene Prozedur wurde nicht gefunden. This dll is present and the folder is correct. (It works without the bridge) What is the reason? best regards Jörg |
|
From: <php...@li...> - 2007-07-27 11:50:31
|
Hi Jost!
I got your message about sending you the debug log. I
was kind of tied up today (and maybe tomorrow).
Hopefully, I can send you the log by Monday at the
latest.
Btw, I forgot to tell you, I'm using an external
application (MediaWiki). This calls a PHP script that
calls Java code.
Here is a rough time profile:
1) MediaWiki loads a new article (no PHP script)
- 0 to 2 seconds
2) MediaWiki loads article that contains PHP script
that calls Java code using PHP-Java Bridge
a) For the first time - 12 to 18 seconds
b) Succeeding times - 1 to 4 seconds
(not 5 seconds as I reported to you last time)
Meantime, could you point me out to websites that
explain how Apache and PHP work together, and also the
Java VM, so I can better understanding of PHP-Java
Bridge?
Thanks!
Filip
Send instant messages to your online friends http://uk.messenger.yahoo.com
|