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
|
From: Jim D. <jd...@ho...> - 2005-10-02 22:03:38
|
>rpm -q --whatprovides php-java-bridge php-java-bridge-2.0.8-1 >rpm -q --whatprovides php php-5.0.4-10 >ls -Z /usr/lib/php/modules/java.so /usr/lib/php/modules/java.so Jim >From: Jost Boekemeier <jos...@ya...> >To: Jim Douglas <jd...@ho...>, >php...@li... >Subject: Ant: RE: Ant: [Php-java-bridge-users] Testing the bridge >Date: Sat, 1 Oct 2005 13:59:35 +0200 (CEST) > >Hi, > > > #!/usr/bin/php Please permanently activate the > > extension. Loading java > > extension now... java extension not installed. > >what is the result of the commands: > >rpm -q --whatprovides php-java-bridge >rpm -q --whatprovides php > >and > >ls -Z /usr/lib/php/modules/java.so > > >Regards, >Jost Boekemeier > > > > > > > >___________________________________________________________ >Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier >anmelden: http://mail.yahoo.de |
From: Andreas K. <ako...@we...> - 2005-10-02 20:45:42
|
Jost Boekemeier wrote: >>2.4.31 and grsecurity patch. Ok, that seems to be the reason. I remember to have read something like that before... Sep 30 21:19:23 rainbow grsec: From x.x.x.x: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /opt/ibm-jdk-bin-1.4.2/bin/ javac[javac:13640] uid/euid:1000/1000 gid/egid:407/407, parent /bin/bash[bash:13 217] uid/euid:1000/1000 gid/egid:407/407 (END) it's a PAX restriction. So I'll look for a solution and try again. But could <ou tell me with which PHp version php-java-bridge should work? PHP5? even PHP 5.1?` Best regards Andreas |
From: Jost B. <jos...@ya...> - 2005-10-02 19:37:11
|
Hi, > #!/usr/bin/php Please permanently activate the > extension. Loading java > extension now... java extension not installed. what is the result of the commands: rpm -q --whatprovides php-java-bridge rpm -q --whatprovides php and ls -Z /usr/lib/php/modules/java.so Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Raphael V. <rv_...@os...> - 2005-10-02 17:42:15
|
Hi, > Okay, and where does the client jar come from, does it > contain the stub classes? I have just tested this with > the client jar generated from the deploytool, this > works on oracle, too, without generating a class cast > exception. I used the documentBeanClient.jar which was shipped with the example. After generating a new with the deploytool it works! Thanks for the hint. regards, Raphael |
From: Jim D. <jd...@ho...> - 2005-10-01 06:51:48
|
This is what I get.. #!/usr/bin/php Please permanently activate the extension. Loading java extension now... java extension not installed. Jim >From: Jost Boekemeier <jos...@ya...> >To: Jim Douglas ><jd...@ho...>,php...@li... >Subject: Ant: [Php-java-bridge-users] Testing the bridge >Date: Fri, 30 Sep 2005 17:44:59 +0200 (CEST) > >Hi Jim, > > > > What is the best way to test it out to make sure > > it's functioning ok. > >please copy the >/usr/share/doc/php-java-bridge-2.0.8/test.php to >/var/www/html/ > >and browse to http://localhost/test.php > >You should see the java properties at the bottom of >the page. > >Additional (feature-) tests are in the source tar.bz >download, in the folders >php-java-bridge-2.0.8/tests.php4 and >php-java-bridge-2.0.8/tests.php5 > >You can copy these to /var/www/html and run them by >browsing to http://localhost/tests.php4/ etc. > > >Regards, >Jost Boekemeier > > > > >___________________________________________________________ >Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: >http://surveylink.yahoo.com/wix/p0379378.aspx > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >php-java-bridge-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: Andreas K. <ako...@we...> - 2005-10-01 06:51:24
|
Jost Boekemeier wrote: >>2.4.31 and grsecurity patch. OK, grsec/PAX was the problem. I found a lot of PAX and grsec messages in my syslog, e.g.: Sep 30 21:19:23 rainbow PAX: From xxx.xxx.xxx.xxx: execution attempt in: /opt/ibm-jdk-bin-1.4.2/jre/bin/libjitc.so, 27f2d000-27f3c000 0024e000 Sep 30 21:19:23 rainbow PAX: terminating task: /opt/ibm-jdk-bin-1.4.2/bin/javac(javac):13640, uid/euid: 1000/1000, PC: 27f3a0d0, SP: 5ffa9ccc Sep 30 21:19:23 rainbow grsec: From xxx.xxx.xxx.xxx: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /opt/ibm-jdk-bin-1.4.2/bin/javac[javac:13640] uid/euid:1000/1000 gid/egid:407/407, parent /bin/bash[bash:13217] uid/euid:1000/1000 gid/egid:407/407 That's where I found the solution: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#paxjava chpax -pemrxs /opt/*-jdk-*/{jre,}/bin/* So it works now. I'm using ibm-jdk for now. Should php-java-bridge work with PHP 5.1 (RC1)? It seems to work, or are there any known/expected problems? best regards and thanks a lot! Andreas |
From: Jost B. <jos...@ya...> - 2005-09-30 16:07:45
|
Hi Andreas, > 2.4.31 and grsecurity patch. > Gentoo compiles every software (except jdk bins...) there's a known problem with older kernels and older libc versions; due to the transition from Linux threads to NPTL some software doesn't work anymore. On RHEL/Fedora for example it is possible to use export LD_ASSUME_KERNEL=2.4.21 to work around this problem. I think your OS vendor should provide a similar workaround. Anyway, a strace `which javac` test.java 2>strace.log should give some insight. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Andreas K. <ako...@we...> - 2005-09-30 15:59:09
|
Jost Boekemeier wrote: >>>>make[1]: *** [JavaBridge.jar] Killed >>>> >>>> > >cool :) -- are there any resource limits on your >system so that large applications get killed? > > Hm, don't know, have nothing set by myself. Using Gentoo with kernel 2.4.31 and grsecurity patch. I tried as said sun, blackdawn and ibm jdks with the same error, and I tried PHP 5.1RC1, 5.0.5 and 4.3.11, allways with the same error. Gentoo compiles every software (except jdk bins...) itself, and I have never had an error like that. The system has 256 MB RAM. best regards Andreas |
From: Jost B. <jos...@ya...> - 2005-09-30 15:48:12
|
Hi, > >>make[1]: *** [JavaBridge.jar] Killed cool :) -- are there any resource limits on your system so that large applications get killed? ___________________________________________________________ Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx |
From: Jost B. <jos...@ya...> - 2005-09-30 15:45:15
|
Hi Jim, > What is the best way to test it out to make sure > it's functioning ok. please copy the /usr/share/doc/php-java-bridge-2.0.8/test.php to /var/www/html/ and browse to http://localhost/test.php You should see the java properties at the bottom of the page. Additional (feature-) tests are in the source tar.bz download, in the folders php-java-bridge-2.0.8/tests.php4 and php-java-bridge-2.0.8/tests.php5 You can copy these to /var/www/html and run them by browsing to http://localhost/tests.php4/ etc. Regards, Jost Boekemeier ___________________________________________________________ Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx |
From: Jost B. <jos...@ya...> - 2005-09-30 15:38:07
|
Hi, > PS: I still observe a performance degradation when do you have a short test to reproduce this? Maybe it is possible to run your test with -Xperf? If so, please create a ticket for this (please see http://sourceforge.net/tracker/?atid=679233&group_id=117793&func=browse) and attach the results to this ticket. I will look at this asap. If not mabe it is possible to attach a detailed description there, so that I can reproduce this bug. -- there are no hidden caches in the bridge (except for the classloader), so I don't know which component could cause this. > is > there some hidden > reason why the documentation refers to PHP 4.3.2 as > the oldest supported > PHP distribution? I don't know, probably because RHEL3 uses this version. :) Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-09-30 15:27:07
|
Hi, > JavaBridge? Does it run in an AS or standalone? This > is the only difference I could imagine. It runs as standalone with the generated ejb client jar and the sun j2ee jar in the java_require() path. Whether or not it runs inside the AS shouldn't make a difference as long as the correct client and j2ee jars are used. > For the Test with the OC4j Container I used the > oc4j.jar which has a own > implementation of the necessary classes and > interfaces. Okay, and where does the client jar come from, does it contain the stub classes? I have just tested this with the client jar generated from the deploytool, this works on oracle, too, without generating a class cast exception. Can you please attach the client jar at the end of the ticket? BTW, if I remember correctly, oracle doesn't need the narrow, because it uses wrapper instead of a proxy. So you could simply ommit the narrow and the example should work. But that's an oracle specific "hack" which will not work with other servers. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Andreas K. <ako...@we...> - 2005-09-30 15:00:42
|
>>Hm, I tried IBM-JDK, since it was used in the example, and I could make >>the jdk work, but make of php-java-bridge failed: >> >> >[...] > > >>make[1]: *** [JavaBridge.jar] Killed >>make[1]: Leaving directory >>`/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/server' >>make: *** >>[/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/modules/libnatcJavaBridge.la] >>Error 2 >> >> OK, also sun and blackdown fail with the same error: cc -shared .libs/natcJavaBridge.o -lrt -march=pentium3 -Wl,-soname -Wl,libnatcJavaBridge.so -o .libs/libnatcJavaBridge.so ar cru .libs/libnatcJavaBridge.a natcJavaBridge.o ranlib .libs/libnatcJavaBridge.a creating libnatcJavaBridge.la (cd .libs && rm -f libnatcJavaBridge.la && ln -s ../libnatcJavaBridge.la libnatcJavaBridge.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050617\"" -I/opt/sun-jdk-1.4.2.08/include -I/opt/sun-jdk-1.4.2.08/include/linux -D_REENTRANT -O2 -march=pentium3 -fomit-frame-pointer -MT RunJavaBridge.o -MD -MP -MF ".deps/RunJavaBridge.Tpo" -c -o RunJavaBridge.o RunJavaBridge.c; \ then mv -f ".deps/RunJavaBridge.Tpo" ".deps/RunJavaBridge.Po"; else rm -f ".deps/RunJavaBridge.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt /opt/sun-jdk-1.4.2.08/bin/javac php/java/bridge/*.java make[1]: *** [JavaBridge.jar] Killed make[1]: Leaving directory `/var/tmp/portage/php-java-bridge-2.0.8/work/php-java-bridge-2.0.8/server' make: *** [/var/tmp/portage/php-java-bridge-2.0.8/work/php-java-bridge-2.0.8/modules/libnatcJavaBridge.la] Error 2 gcc -shared .libs/natcJavaBridge.o -lrt -march=pentium3 -Wl,-soname -Wl,libnatcJavaBridge.so -o .libs/libnatcJavaBridge.so ar cru .libs/libnatcJavaBridge.a natcJavaBridge.o ranlib .libs/libnatcJavaBridge.a creating libnatcJavaBridge.la (cd .libs && rm -f libnatcJavaBridge.la && ln -s ../libnatcJavaBridge.la libnatcJavaBridge.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050617\"" -I/opt/blackdown-jdk-1.4.2.02/include -I/opt/blackdown-jdk-1.4.2.02/include/linux -D_REENTRANT -O2 -march=pentium3 -fomit-frame-pointer -MT RunJavaBridge.o -MD -MP -MF ".deps/RunJavaBridge.Tpo" -c -o RunJavaBridge.o RunJavaBridge.c; \ then mv -f ".deps/RunJavaBridge.Tpo" ".deps/RunJavaBridge.Po"; else rm -f ".deps/RunJavaBridge.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt /opt/blackdown-jdk-1.4.2.02/bin/javac php/java/bridge/*.java make[1]: *** [JavaBridge.jar] Killed make[1]: Leaving directory `/var/tmp/portage/php-java-bridge-2.0.8/work/php-java-bridge-2.0.8/server' make: *** [/var/tmp/portage/php-java-bridge-2.0.8/work/php-java-bridge-2.0.8/modules/libnatcJavaBridge.la] Error 2 >no idea, maybe it#s just compilation of tomcat-servlet failing? > I have disabled servlets (no use for it now) >That >tripped me already sometimes. ;) (@Jost, wouldn't it make sense to >disable that by default?) > >This is my configure without servlet compilation: > >---------snipp------------ > >#! /bin/sh ># ># Created by configure > >#'--prefix=/usr/local/php5' \ > >'./configure' \ >'--disable-servlet' \ >'--with-java=/usr/lib/j2se/1.4' \ >"$@" > > I'm doing the same. I'm using PHP 5.1RC1 - could that be an issue? >I rely on documentation and use a standalone JVM which is connected via >sockets ("Mode 3" iirc) > > OK, that's what I wanted to use too. When I get it installed some day ;-) regards Andreas |
From: Peter N. <pe...@ni...> - 2005-09-30 14:28:45
|
Hi Andreas, Andreas Korthaus schrieb: > Hi Peter > > Peter Niederlag schrieb: [...] > Hm, I tried IBM-JDK, since it was used in the example, and I could make > the jdk work, but make of php-java-bridge failed: [...] > make[1]: *** [JavaBridge.jar] Killed > make[1]: Leaving directory > `/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/server' > make: *** > [/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/modules/libnatcJavaBridge.la] > Error 2 > > Hm, and I have no idea what to do. Do you think it's a problem with the > JDK, or a specific version? I installed ibm-jdk-bin-1.4.2 (but without > any X components...) no idea, maybe it#s just compilation of tomcat-servlet failing? That tripped me already sometimes. ;) (@Jost, wouldn't it make sense to disable that by default?) This is my configure without servlet compilation: ---------snipp------------ #! /bin/sh # # Created by configure #'--prefix=/usr/local/php5' \ './configure' \ '--disable-servlet' \ '--with-java=/usr/lib/j2se/1.4' \ "$@" >> It has been running rock-stable here. Jost and his team(?) are really >> doing a tremendous job imho. Personally I have used it in development >> only yet. >> >> > > It really looks very promising - but first of all I have to make it work > here. > > btw.: which "running-mode" do you recommend? We use an Apache with > mod_php here - should I run php-java-bridge as service, in the > webserver/php? > > What is the most stable version here? I rely on documentation and use a standalone JVM which is connected via sockets ("Mode 3" iirc) Have fun, Peter -- Peter Niederlag * Neuer Sandberg 9 * 31535 Neustadt * Fon 05036/924100 * Fax 05036/924105 http://www.niekom.de * TYPO3 und EDV Dienstleistungen * http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation * |
From: Andreas K. <ako...@we...> - 2005-09-30 14:13:12
|
Hi Peter Peter Niederlag schrieb: >I would think this mostly depends on the distribution you are using. The >following information is based on experience with debian-distribution. > > We are using Gentoo here, there is support for sun, ibm, bea, compaq, blackdawn... http://www.gentoo.org/doc/en/java.xml >The blackdown packages have proven to work really reliable here. > >http://www.blackdown.org/java-linux/java2-status/index.html > > Hm, I tried IBM-JDK, since it was used in the example, and I could make the jdk work, but make of php-java-bridge failed: gcc -shared .libs/natcJavaBridge.o -lrt -march=pentium3 -Wl,-soname -Wl,libnatcJavaBridge.so -o .libs/libnatcJavaBridge.so ar cru .libs/libnatcJavaBridge.a natcJavaBridge.o ranlib .libs/libnatcJavaBridge.a creating libnatcJavaBridge.la (cd .libs && rm -f libnatcJavaBridge.la && ln -s ../libnatcJavaBridge.la libnatcJavaBridge.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050617\"" -I/opt/ibm-jdk-bin-1.4.2/include -D_REENTRANT -O2 -march=pentium3 -fomit-frame-pointer -MT RunJavaBridge.o -MD -MP -MF ".deps/RunJavaBridge.Tpo" -c -o RunJavaBridge.o RunJavaBridge.c; \ then mv -f ".deps/RunJavaBridge.Tpo" ".deps/RunJavaBridge.Po"; else rm -f ".deps/RunJavaBridge.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt /opt/ibm-jdk-bin-1.4.2/bin/javac php/java/bridge/*.java make[1]: *** [JavaBridge.jar] Killed make[1]: Leaving directory `/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/server' make: *** [/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/modules/libnatcJavaBridge.la] Error 2 Hm, and I have no idea what to do. Do you think it's a problem with the JDK, or a specific version? I installed ibm-jdk-bin-1.4.2 (but without any X components...) >It has been running rock-stable here. Jost and his team(?) are really >doing a tremendous job imho. Personally I have used it in development >only yet. > > It really looks very promising - but first of all I have to make it work here. btw.: which "running-mode" do you recommend? We use an Apache with mod_php here - should I run php-java-bridge as service, in the webserver/php? What is the most stable version here? best regards Andreas |
From: Andreas K. <ako...@we...> - 2005-09-30 13:23:05
|
Hi! Im not very experienced with using Java on Linux, so I'd like to hear about your recommendation which Java-JDK I should install for compiling and using php-java-bridge on Linux (2.4). Which one do you think will work best / most stable / fastest on Linux? And which one is most tested with php-java-bridge? Is php-java-bridge still beta-software, or can you recommend its use in production enviroments? Thanks! best regards Andreas |
From: SQUILLACE M. <msq...@so...> - 2005-09-30 12:21:08
|
Hi, > It's a known bug in the thread pool of version 2.0.7.=20 > Its hould be fixed in 2.0.8, please see the changelog > entry for getNextRunnable from 2005-08-23 for details. >=20 > This problem appears only when you have very short > scripts; if one sees this message in a production > environment, I suggest to switch off the thread pool > or to upgrade to 2.0.8. I just wanted to let you know that I upgraded to 2.0.8 and the problem went away. As a side note, I was able to compile the bridge against PHP 4.3.0, and all appears to be working well ... is there some hidden reason why the documentation refers to PHP 4.3.2 as the oldest supported PHP distribution? Thank you, Massimo PS: I still observe a performance degradation when running several benchmarks in a row without restarting the JVM. Is there a suggested strategy to avoid this effect in a production system? (I usually restart such daemons at night, if at all possible, but would prefer not to). |
From: Jim D. <jd...@ho...> - 2005-09-29 23:58:09
|
I have a struts/tiles app, when I put the month.php file in my struts.xml file <definition name="site.index.page.monthf" extends="site.index.page.online" > <put name="title" value="Calendar" /> <put name="body" value="/pages/month.php" /> </definition> The php code comes back to the browser. Are there any directions that go with the Fedore4.0 RMP install? I can start and restart the bridge successfully. What do I need to configure? Jim |
From: Raphael V. <rv_...@os...> - 2005-09-29 21:49:31
|
Hi, thanks for your reply. >>[o(Exception):"java.lang.Exception: Invoke failed: >> > > [c:javax.rmi.PortableRemoteObject]->narrow((java.lang.Object)o(CDRInputStream_1_0$1):"com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR: > > I have just tried this with the sun j2ee sample > server, narrow correctly returns the stub there: > [o(_DocumentHome_Stub):"IOR:00000000..."] > > So this problem seems to be oc4j specific. I have > tried to deploy the sample.jar into oracle but I have > given up for the moment because this AS doesn't accept > plain .jar files; I think I'll have to create a .ear > first. My first test was with the Sun AS (Version 8.1_02 (build b06-fcs)). I followed the tutorial step by step. Which mode do you use for the JavaBridge? Does it run in an AS or standalone? This is the only difference I could imagine. For this example I have used the j2ee.jar from sun which was delivered with the Application Server. > This ClassCastException rings a bell, however. Do you > use the j2ee.jar from oracle or from sun? > > > >>Seems so as if the Bridge has problems to cast the >>EJB to the home interface. > > > I think this is a oracle specific problem and doesn't > have anything to do with the bridge. -- If I remember > correctly, this error appears if one mixes the j2ee > jar files from different vendors. We have wasted > several hours, but I cannot remember how we solved > this problem. For the Test with the OC4j Container I used the oc4j.jar which has a own implementation of the necessary classes and interfaces. > I will check this, asap. Please see PR1308217 for > details: > http://sourceforge.net/tracker/index.php?func=detail&aid=1308217&group_id=117793&atid=679233 Thanks for your support! Regards, Raphael |
From: Jost B. <jos...@ya...> - 2005-09-29 16:19:32
|
Hi, > <?php > $b = new java("B"); > $b->funB(); > ?> > Invoke failed: > [c:B]->funB. Cause --^--- Well, $b contains the class B, not an instance of $b. That's probably because B doesn't have public constructor. Please type: java_inspect($b); to see what $b is and which public methods exist. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-09-29 16:13:41
|
Hi, > Fatal error: Uncaught > [o(Exception):"java.lang.Exception: Invoke failed: > [c:javax.rmi.PortableRemoteObject]->narrow((java.lang.Object)o(CDRInputStream_1_0$1):"com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR: I have just tried this with the sun j2ee sample server, narrow correctly returns the stub there: [o(_DocumentHome_Stub):"IOR:00000000..."] So this problem seems to be oc4j specific. I have tried to deploy the sample.jar into oracle but I have given up for the moment because this AS doesn't accept plain .jar files; I think I'll have to create a .ear first. This ClassCastException rings a bell, however. Do you use the j2ee.jar from oracle or from sun? > Seems so as if the Bridge has problems to cast the > EJB to the home interface. I think this is a oracle specific problem and doesn't have anything to do with the bridge. -- If I remember correctly, this error appears if one mixes the j2ee jar files from different vendors. We have wasted several hours, but I cannot remember how we solved this problem. I will check this, asap. Please see PR1308217 for details: http://sourceforge.net/tracker/index.php?func=detail&aid=1308217&group_id=117793&atid=679233 Regards, Jost Boekemeier ___________________________________________________________ Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx |
From: Raphael V. <rv_...@os...> - 2005-09-29 07:35:33
|
Hi, I tried to call a EJB from the JavaBridge (2.0.8) as described here: http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/examples/j2ee/README?rev=1.4&view=markup It results in the following error: Fatal error: Uncaught [o(Exception):"java.lang.Exception: Invoke failed: [c:javax.rmi.PortableRemoteObject]->narrow((java.lang.Object)o(CDRInputStream_1_0$1):"com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:0000000000000022524d493a446f63756d656e74486f6d653a30303030303030303030303030303030000000000000010000000000000188000102000000000d31302e3131322e32302e393500000e7400000056afabcb00000000260000003f00000009533141532d4f5242000000000000000200000008526f6f74504f41000000001237333932333136393634333532383139320000000000000d0106a0bb2b46000000000001ff0a000000000007000000010000002000000000000100010000000205010001000100200001010900000001000101000000002600000002000200000000000300000018000000000000000d31302e3131322e32302e393500000eec0000000300000018000000000000000d31302e3131322e32302e393500000f500000001f0000000400000003000000200000000400000001000000210000007c00000000000000010000000000000024000000200000006600000000000000010000000d31302e3131322e32302e393500000eec0040000000000008060667! 810201010100000017040100080606678102010101000000 in C:\Htdocs\JavaBridge\globals.php on line 34 Line 34 in globals.php is: $home = $PortableRemoteObject->narrow($objref, $DocumentHome); After that I tried a similar example with an Session EJB in an OC4J-Container. This does not work as well. The error eccurs in the same method PortableRemoteObject->narrow: Fatal error: Uncaught [o(Exception):"java.lang.Exception: Invoke failed: [c:javax.rmi.PortableRemoteObject]->narrow((java.lang.Object)o(__Proxy2):"SessionEJB EJBHome", (java.lang.Class)i:mypackage2.SessionEJBHome). Cause: java.lang.ClassCastException"] thrown in C:\Htdocs\JavaBridge\testClient.php on line 52 Seems so as if the Bridge has problems to cast the EJB to the home interface. Has anybody tried the example successfully? Regards, Raphael Vullriede |
From: Zou B. <ben...@gm...> - 2005-09-29 06:24:59
|
would anyone helps me about the following error java: Class A { ... } Class B { ... public A funB(); ... } <?php $b =3D new java("B"); $b->funB(); ?> Fatal error: Uncaught [o:"java.lang.Exception: Invoke failed: [c:B]->funB. Cause : java.lang.NoSuchMethodException: funA(). Candidates: [public A B.funB() throws java.lang.Exception]"] thrown in ... |
From: Jim D. <jd...@ho...> - 2005-09-29 02:29:56
|
To all, I installed the latest bridge on Fedora 4.0. and it starts successfully. What is the best way to test it out to make sure it's functioning ok. Jim |
From: I l <is...@ho...> - 2005-09-28 18:25:29
|
Thank you for your response. I agree with you in installing everything with rpms. Maybe this is my lack of fully understanding how RPMS work. But I must compile php with the following options, --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --enable-soap --enable-sockets --with-config-file-path=/usr/local/php5/lib make --with-pgsql=/usr The reason why I manually installed php is because I couldn't figure out how to tell the RPM to include these options. I think a solution to this would allow me to insall php-java-bridge as an RPM. Any ideas? Thanks. >Hi, > > > I've had to manualy install php 5.0.4. The php > > binary is located in > > /usr/local/php5/bin > > > > Running the RPM for FC, I get these two dependencies > > errors. > > /usr/bin/php is needed by php-java-bridge > > php >= 5.0.4 is needed by php-java-bridge > >Everything you install yourself is ignored >intentionally. Please always install from RPM for two >reasons: > >1. RPM keeps the dependencies in a database. If you >manually install software into /usr, the RPM database >content gets out of sync with the file system. > >2. RPM's contain SEL contexts. Java, php and the >php/java bridge rely on the correct security contexts. >If you break them, you must switch off SEL entirely or >provide your own contexts and relabel the entire file >system. > > >However, it is possible to compile your own local >versions of apache/php and the php/java bridge into >/usr/local, please see the INSTALL document (section >"Install from source") for details > > >Regards, >Jost Boekemeier > > > > >___________________________________________________________ >Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: >http://surveylink.yahoo.com/wix/p0379378.aspx |