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-31 16:16:29
|
Hi,
> Just one more question. After staring JavaBridge on given port, do i need to
> start it again manualy
No. Please see the FAQ.html contained in the download folder.
Regards,
Jost Boekemeier
__________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-31 16:13:20
|
thanks Jost, now everything is working just fine, Just one more question. After staring JavaBridge on given port, do i need to start it again manualy after restrating my system, or it will restart on its own (runing as a service)? If former is the case, is there a posibility to start JavaBridge as a service and initalize it to start listening always on specific port? mladen On 31/07/07, php...@li... < php...@li...> wrote: > > Hi, > > > [error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare > > java_last_exception_get() in > > http://localhost:8101/JavaBridge/java/Java.incon line 1431 > > there's another extension which already exports this function. This is > probably the old > ext/java extension shipped with PHP, you can remove it. > > > Regards, > Jost Boekemeier > > > > __________________________________ Die etwas anderen Infos rund um > das Thema Reisen. BE A BETTER WELTENBUMMLER! 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-31 15:29:31
|
Hi,
> [error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare
> java_last_exception_get() in
> http://localhost:8101/JavaBridge/java/Java.incon line 1431
there's another extension which already exports this function. This is probably the old
ext/java extension shipped with PHP, you can remove it.
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-31 11:24:31
|
Hi, i'm new to php-java bridge and having problem to install php-java bridge
on my Windows XP system.
Here is what i'm using.
* Apache Web Server 2.2.3
* PHP 5.2.3
* php/Java Bridge 4.2.1
* java 1.6
I tried several proposals on how to install javabridge, but still not having
any success.
When starting test.php, and after that reading result.html, everythting
seams ok. But, starting
my test.php page from apache/htdocs:
<?php
require_once("http://localhost:8082/JavaBridge/java/Java.inc");
$s = new Java("java.lang.String", "hello");
echo $s;
?>
i get error message in my error.log:
[error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare
java_last_exception_get() in
http://localhost:8101/JavaBridge/java/Java.incon line 1431
I'm not sure where i'm getting wrong. So can someone pleas send me link with
some description on how to
configure my php.ini file so things can go working.
thanks
mladen
|
|
From: <php...@li...> - 2007-07-30 17:16:20
|
Hello, i tried to integrate an php cms system (typo3) in our java webapp. The intention is every request from php cms system forward to the java web app, that we can track every paramater from the request. (Or first all requests to our java web app and the back to the cms-system) Nothing i do it is successfully. We need an professional-consultand they have the skill to integrate this szenario and join for this task in our project. (performance-related <ende?lp=ende&p=eL4jU.&search=performance-related> pay <ende?lp=ende&p=eL4jU.&search=pay>) I prefere german speak consultant. Is there everybody they can help? Regards Jörg |
|
From: <php...@li...> - 2007-07-30 13:25:19
|
Hi Jörg, > >>[delete the] php.ini in the cgi folder. The same behavior. > >have you restarted tomcat? > i restarted the machine. Then you need to find out why your system PHP still loads the wrong php.ini. Please use our bug tracker, if you need assistence. => http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 > 3. Copy java-x86-windows.dll from the JavaBridge.war to C:\PHP\ext > 4: Rename java-x86-windows.dll (from C:\PHP\ext) to php_java.dll > > Is this docu not correct? No. The relevant 4.x documentation is contained in the download archive. > (linked from the http://php-java-bridge.sourceforge.net/pjb/examples.php > site) This documentation describes the latest stable version, which is version 3.2.1. Regards, Jost Boekemeier dddd |
|
From: <php...@li...> - 2007-07-30 10:40:41
|
Hi Jost, >>[delete the] php.ini in the cgi folder. The same behavior. >> >> > >have you restarted tomcat? > > > i restarted the machine. > > >>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. >> >> > >You don't need a dll. The PHP/Java Bridge is written in pure PHP and pure Java. >Please see the README for details. > > i read this i the documentation: http://www.dsl.uow.edu.au/~sk33/php5jsp.htm PHP 5 & Java Bridge 3. Copy java-x86-windows.dll from the JavaBridge.war to C:\PHP\ext 4: Rename java-x86-windows.dll (from C:\PHP\ext) to php_java.dll Is this docu not correct? (linked from the http://php-java-bridge.sourceforge.net/pjb/examples.php site) regards Jörg |
|
From: <php...@li...> - 2007-07-30 09:08:53
|
Hi Philip,
> Just a quick question -- you do recommend using
> java_reset() after our PHP script is done calling Java
> code, so as to release memory (for use by other
This is neither documented nor recommended. It is only used to create a clean environment
during the feature tests.
java_reset() already displays a warning message. I think we should throw an non-catchable error
in the next release if it is used outside of a test environment.
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-07-30 09:02:41
|
Hi,
> the bridge caches the first istance of Obj that i create without any
> particular interface
sort of. The cache algorithm applies before the dynamic proxy proxy is resolved;
the cache sees a ProcedureProxy, not a DynamicProxy.
> , and when i try to create a new istance of Obj
> with IVisit interface, the bridge uses the cached version anyhow. Is
> it right?
Yes. However, I have attached a patch which solves this problem.
Thank you very much for reporting this issue!
Regards,
Jost Boekemeier
dddd |
|
From: <php...@li...> - 2007-07-30 08:50:39
|
Just a quick question -- you do recommend using java_reset() after our PHP script is done calling Java code, so as to release memory (for use by other processes)? Filip Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: <php...@li...> - 2007-07-30 08:48:47
|
Hi again, Jost! Just so you know, I still haven't tried out your suggestion to save the log and send it to you. Off the top of my head, it might have to do with the fact that there is a third-party application (MediaWiki) taking up memory that slows down PHP-Java bridge code. I'll keep you posted. Filip Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: <php...@li...> - 2007-07-29 08:26:27
|
2007/7/28, php...@li... <php...@li...>: > it's the cache problem I've mentioned before. Is that really a problem in practice? > If so, I could prepare a version 3.2.1b, which switches off the cache when one of the arguments > is a proxy for a dynamic proxy. the bridge caches the first istance of Obj that i create without any particular interface, and when i try to create a new istance of Obj with IVisit interface, the bridge uses the cached version anyhow. Is it right? then, if i create the first istance with all the interfaces i need, i should have no caching problem. right? if i'm right, i don't need a new version. maybe, it would be nice to compare the proxy passed as argument and the cached one checking their interfaces too (i suppose the bridge checks the class only) thank you a lot for paying me attention! my best greeetings |
|
From: <php...@li...> - 2007-07-28 14:04:06
|
Hi,
> are you sure that you call the right code?
it's the cache problem I've mentioned before. Is that really a problem in practice?
If so, I could prepare a version 3.2.1b, which switches off the cache when one of the arguments
is a proxy for a dynamic proxy.
Regards,
Jost Boekemeier
__________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-28 12:33:01
|
Hi Andres, [PHP did not display any error messages] > 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. can you please append the log at the end of your ticket? Please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 Regards, Jost Boekemeier __________________________________ Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set |
|
From: <php...@li...> - 2007-07-28 12:22:53
|
Hi,
> 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.
can you please be more specific? Memory leaks in the back end or in PHP?
The old C implementation[1] does have some memory leaks. But this isn't a problem since the
Zend memory manager takes care of them.
If there are memory leaks in the back end, please see our FAQ how to debug
memory leaks in your code.
Regards,
Jost Boekemeier
[1] The C implementation prior to 4.1.8. Since 4.1.8 the C implementation simply
compiles the pure PHP implementation into obcode and uses that.
__________________________________ Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-28 12:17:36
|
Hi,
are you sure that you call the right code?
According to your log java_get_closure() is called with only one argument:
> 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>
Since the bridge doesn't have any information about the type, "Object" is assumed.
Regards,
Jost Boekemeier
dddd
|
|
From: <php...@li...> - 2007-07-28 12:09:50
|
Hi Jörg,
> [delete the] php.ini in the cgi folder. The same behavior.
have you restarted tomcat?
> 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.
You don't need a dll. The PHP/Java Bridge is written in pure PHP and pure Java.
Please see the README for details.
Only PHP 4 needs such a dll, because it implements certain features
which were not available in PHP 4 and earlier versions.
Regards,
Jost Boekemeier
dddd
|
|
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 |