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
|
3
|
4
|
5
|
6
|
7
|
8
(2) |
9
|
10
(1) |
11
|
12
|
13
(3) |
14
(2) |
15
|
16
(1) |
17
(2) |
18
(5) |
19
(6) |
20
(6) |
21
(10) |
22
(4) |
23
|
24
|
25
|
26
(7) |
27
(6) |
28
(3) |
29
(5) |
30
(2) |
31
|
From: <php...@li...> - 2007-03-30 10:28:47
|
I finally got it working. I just downloaded source, phpized it and installed it as module to php. Now it is persistent. No use of Tomcat... Daniel -------- Original-Nachricht -------- Datum: Fri, 30 Mar 2007 11:52:39 +0200 (CEST) Von: php...@li... An: php...@li... Betreff: Re: [Php-java-bridge-users] Persisting Php-Java-Bridge > > [empty file] > > pjbulsn> That is PHP's way to tell you that you've > > made a > > pjbulsn> mistake. > > > I didn't want to file a bug. > > Please do. This problem comes up from time to time. > IMHO it is a mistake to return an empty page instead > of a clear error message. In Java for example you'll > always get a clear error message and a stack trace, > not just an empty file. > > > > >> php was not installed as "/usr/bin/php-cgi" > > >> or "c:/php/php-cgi.exe" > > >> Please see "php_exec" in your WEB-INF/web.xml and > > pjbulsn> WEB-INF/cgi/README > > >> for details. > > > > pjbulsn> I think this one is obvious. > > > > Perhaps to you. > > Is my assumption right, that I have to install > > additionally to already available PHP 5.1.2 > > Almost all PHP packages contain a php-cgi.exe which > differs from the cli variant php.exe. > > This isn't (or shouldn't be) different on Linux or > Unix machines. If some Linux package installs the PHP > cgi exe as "php" instead of "php-cgi", please file a > bug report. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail |
From: <php...@li...> - 2007-03-30 09:52:45
|
[empty file] > pjbulsn> That is PHP's way to tell you that you've > made a > pjbulsn> mistake. > I didn't want to file a bug. Please do. This problem comes up from time to time. IMHO it is a mistake to return an empty page instead of a clear error message. In Java for example you'll always get a clear error message and a stack trace, not just an empty file. > >> php was not installed as "/usr/bin/php-cgi" > >> or "c:/php/php-cgi.exe" > >> Please see "php_exec" in your WEB-INF/web.xml and > pjbulsn> WEB-INF/cgi/README > >> for details. > > pjbulsn> I think this one is obvious. > > Perhaps to you. > Is my assumption right, that I have to install > additionally to already available PHP 5.1.2 Almost all PHP packages contain a php-cgi.exe which differs from the cli variant php.exe. This isn't (or shouldn't be) different on Linux or Unix machines. If some Linux package installs the PHP cgi exe as "php" instead of "php-cgi", please file a bug report. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-29 18:24:32
|
pjbulsn> That is PHP's way to tell you that you've made a pjbulsn> mistake. You should be able to see the PHP error pjbulsn> message in the error log. Presumably URL access is pjbulsn> disabled in your php.ini. pjbulsn> In any case, this isn't a PHP/Java Bridge problem. pjbulsn> Please report PHP problems to the PHP bug tracker, not pjbulsn> to us. I didn't want to file a bug. I just wanted help and posted my experience so someone would be able to help me. Sorry. >> occured. Probably php >> was not installed as "/usr/bin/php-cgi" >> or "c:/php/php-cgi.exe" >> or >> "/srv/www/tomcat5/base/webapps/JavaBridge/WEB- >> INF/cgi/php-cgi-i386-linux[.sh]|[.exe]". >> Please see "php_exec" in your WEB-INF/web.xml and pjbulsn> WEB-INF/cgi/README >> for details. pjbulsn> I think this one is obvious. Perhaps to you. Is my assumption right, that I have to install additionally to already available PHP 5.1.2 another PHP-CGI-Version and refer to the executable in the web.xml? Or can I just refer to the executable of the PHP 5.1.2? Best regards Daniel -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail |
From: <php...@li...> - 2007-03-29 18:15:20
|
> I get a blank page back. That is PHP's way to tell you that you've made a mistake. You should be able to see the PHP error message in the error log. Presumably URL access is disabled in your php.ini. In any case, this isn't a PHP/Java Bridge problem. Please report PHP problems to the PHP bug tracker, not to us. > occured. Probably php > was not installed as "/usr/bin/php-cgi" > or "c:/php/php-cgi.exe" > or > "/srv/www/tomcat5/base/webapps/JavaBridge/WEB- > INF/cgi/php-cgi-i386-linux[.sh]|[.exe]". > Please see "php_exec" in your WEB-INF/web.xml and WEB-INF/cgi/README > for details. I think this one is obvious. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-29 16:15:35
|
Okay, I installed and started Tomcat, deployed JavaBridge.war onto it. I have Apache 2.2 and PHP 5.1.2 installed on Suse Linux. When I go to localhost/test.php, which contains only require_once("http://localhost:8080/JavaBridge/java/Java.inc"); $s = new Java("java.lang.System"); echo $s->getProperties(); I get a blank page back. When I go to localhost:8080/JavaBridge I get the following error message: Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: An IO exception occured. Probably php was not installed as "/usr/bin/php-cgi" or "c:/php/php-cgi.exe" or "/srv/www/tomcat5/base/webapps/JavaBridge/WEB-INF/cgi/php-cgi-i386-linux[.sh]|[.exe]". Please see "php_exec" in your WEB-INF/web.xml and WEB-INF/cgi/README for details. php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) root cause java.io.IOException: java.io.IOException: php-cgi: not found java.lang.UNIXProcess.<init>(UNIXProcess.java:148) java.lang.ProcessImpl.start(ProcessImpl.java:65) java.lang.ProcessBuilder.start(ProcessBuilder.java:451) java.lang.Runtime.exec(Runtime.java:591) php.java.bridge.Util$Process.start(Util.java:791) php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:885) php.java.bridge.Util$ProcessWithErrorHandler.start(Util.java:939) php.java.servlet.PhpCGIServlet$CGIRunner.run(PhpCGIServlet.java:254) php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs. -------- Original-Nachricht -------- Datum: Thu, 29 Mar 2007 17:48:40 +0200 (CEST) Von: php...@li... An: php...@li... Betreff: Re: [Php-java-bridge-users] Persisting Php-Java-Bridge > > > The JavaBridge is running as its own "Server" > > So you have started the built-in servlet engine. > > > > "java -jar javabridge.jar SERVLET_LOCAL:8080". Why > > do I need Tomcat then? > > Because we don't provide scripts which could start the > built-in servlet engine as a service. Please use a > real servlet engine or J2EE server instead. This will > be much faster, too. Our simple servlet engine only > supports HTTP 1.0, which means that PHP cannot use > persistent connections. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail |
From: <php...@li...> - 2007-03-29 15:48:47
|
> The JavaBridge is running as its own "Server" So you have started the built-in servlet engine. > "java -jar javabridge.jar SERVLET_LOCAL:8080". Why > do I need Tomcat then? Because we don't provide scripts which could start the built-in servlet engine as a service. Please use a real servlet engine or J2EE server instead. This will be much faster, too. Our simple servlet engine only supports HTTP 1.0, which means that PHP cannot use persistent connections. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-29 11:38:17
|
>Just install tomcat. >The command checkconfig tomcat5 on >should work. Or open the "services" dialog and click >on the tomcat service to enable it. Please be more specific, as I cannot understand what you mean :-) The JavaBridge is running as its own "Server" with "java -jar javabridge.jar SERVLET_LOCAL:8080". Why do I need Tomcat then? -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: <php...@li...> - 2007-03-28 15:34:11
|
> I now want to persist the JavaBridge. This means: > starting automatically on startup of the machine. Just install tomcat. The command checkconfig tomcat5 on should work. Or open the "services" dialog and click on the tomcat service to enable it. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-28 14:40:14
|
Hi, I have Suse Linux 10.1 installed, I can start the JavaBridge by calling "java -jar javabridge.jar SERVLET_LOCAL:8080" on console. I now want to persist the JavaBridge. This means: starting automatically on startup of the machine. How can I do this? I already tried to write an init.d-script with the console command mentioned above, but that didn't work out. Could anyone give me some hints on this topic? Best regards Daniel Preis -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: <php...@li...> - 2007-03-27 19:10:32
|
That was the key I needed Jost! Thank you so much. Now the config files are being loaded by the API from the java.ext.dirs I also successfuly compiled and installed PHP/Java Bridge on Solaris and it's doing very well through the final development stages before going to testing and production. I really appreciate your help and patience. Thanks again, Best regards, Andr=E9s Gattinoni On 3/27/07, php...@li... < php...@li...> wrote: > > Hi, > > > > It should find the resources in the standard Java > > > repository, which is /usr/share/java/ext or > > > /usr/java/packages/lib/ext. > > > > I tried placing my config files on: > > /usr/java/packages/lib/ext > > /usr/share/java-ext/ > > /usr/share/pear > > which java VM do you use and what's the java.ext.dirs > setting? > > > Regards, > Jost Boekemeier > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > --=20 Andr=E9s Gattinoni (=AF`=B7._.=B7[El Barto(r)]=B7._.=B7=B4=AF) (...) |
From: <php...@li...> - 2007-03-27 17:34:12
|
Hi Andre, > There are, also, some small packaging improvements > and corrections, not affecting the bridge coding. is it possible to split ít into two packages, one containing the java.so and the other one the back end (presumably "JavaBridge.war")? What about requiring a tomcat servlet engine as a default back end on all operating systems? Those who don't or can't use a java.so may use the pure PHP implementation by "require()"ing the Java.inc built into the back end. The others can install an additional debian package providing the java.so and a java.ini file. The pure PHP implementation has been programmed so that it automatically uses the java.so, if available. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-27 17:12:19
|
Hi, [we're not going to remove the C implementation nor the RedHat packages...] > I'm a php-java-bridge user, in windows environment > and the performance > penalty is very relevant for our needs and so Do you have any numbers? Even if the pure PHP implementation is 5 times slower than the C implementation on some operating systems (which I believe isn't the case), other technologies are even more expensive. Isn't it possible to optmize the particular code block so that the bridge can send an XML image to the back end and/or to receive the result in one call? > alocated some time > (without priority mind) to build the module into a > windows dll. The main problem with compiling a windows dll is that it needs a proprietary tool. The pecl4win people have the necessary infrastructure. After 4.0.8 is released in June, we can think about changing the license of the C implementation back to PHP3 and donate the C code to the pecl maintainers (if they want it). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-27 09:50:04
|
Hi Andre, > I just uploaded to the sf.net project files area the > new 4.0.6 Debian package how does this differ from the 4.0.1 based package? Except for the version number the C based extension should be the same. :) Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-27 09:23:56
|
Hi, > > It should find the resources in the standard Java > > repository, which is /usr/share/java/ext or > > /usr/java/packages/lib/ext. > > I tried placing my config files on: > /usr/java/packages/lib/ext > /usr/share/java-ext/ > /usr/share/pear which java VM do you use and what's the java.ext.dirs setting? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-26 21:43:34
|
Check the Apache error_log to see if you got any exception or error loading the jar. You're positive that the url http://localhost/~nico/QRCodeVerif.jar works, right? Regards, Andr=E9s Gattinoni On 3/26/07, php...@li... < php...@li...> wrote: > > Hello, > > I've got a problem using the bridge. This little example presents it. The > php file calls a method (QRCodeVerif) which creates a QRCodeDecoder from > the > qrcode.jar. This creation fails although the .jar is in the CLASSPATH > (compilation is ok). > > <?php > java_require('http://localhost/~nico/QRCodeVerif.jar'); > > $url =3D "/home/nico/public_html/upload/123aze.png"; > $name_file =3D "123aze.png"; > > $myObj =3D new Java('QRCodeVerif'); > > $out =3D $myObj->verif($url); > echo $out; > ?> > > The .java : > > import jp.sourceforge.qrcode.codec.QRCodeDecoder; > > public class QRCodeVerif { > > public String verif(String url){ > QRCodeDecoder decoder =3D new QRCodeDecoder(); // Prob= lem > with this line > return url; > } > } > > Can someone resolve this problem ? > > Best regards, > > Nicolas > > _________________________________________________________________ > Personnalisez votre Messenger avec Live.com > http://www.windowslive.fr/livecom/ > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > --=20 Andr=E9s Gattinoni (=AF`=B7._.=B7[El Barto(r)]=B7._.=B7=B4=AF) (...) |
From: <php...@li...> - 2007-03-26 20:15:41
|
Hello, I've got a problem using the bridge. This little example presents it. The php file calls a method (QRCodeVerif) which creates a QRCodeDecoder from the qrcode.jar. This creation fails although the .jar is in the CLASSPATH (compilation is ok). <?php java_require('http://localhost/~nico/QRCodeVerif.jar'); $url = "/home/nico/public_html/upload/123aze.png"; $name_file = "123aze.png"; $myObj = new Java('QRCodeVerif'); $out = $myObj->verif($url); echo $out; ?> The .java : import jp.sourceforge.qrcode.codec.QRCodeDecoder; public class QRCodeVerif { public String verif(String url){ QRCodeDecoder decoder = new QRCodeDecoder(); // Problem with this line return url; } } Can someone resolve this problem ? Best regards, Nicolas _________________________________________________________________ Personnalisez votre Messenger avec Live.com http://www.windowslive.fr/livecom/ |
From: <php...@li...> - 2007-03-26 18:39:24
|
Hello, I just uploaded to the sf.net project files area the new 4.0.6 Debian package, compiled in a pure Debian GNU / Linux 4.0 Etch. You will also find the needed package source files for package rebuilding at your machine (read the release notes), including the source orig.tar.gz file for compiling at other platforms too. Please, test them. Regards. Andre Felipe Machado http://www.techforce.com.br |
From: <php...@li...> - 2007-03-26 18:32:25
|
>> getSystemResource method of the ClassLoader > It should find the resources in the standard Java > repository, which is /usr/share/java/ext or > /usr/java/packages/lib/ext. I tried placing my config files on: /usr/java/packages/lib/ext /usr/share/java-ext/ /usr/share/pear and in the same location as the php file that loads the class. I can't get it to work. The API I'm trying to implement loads these configuration files using ClassLoader.getSystemResource and I need to figure out some way to load them. Thanks again for your helpful advice. Apart from this I'm making big progress with PHP/Java Brigde and it is being very useful. Regards, Andr=E9s Gattinoni |
From: <php...@li...> - 2007-03-26 16:12:16
|
Hi everyone, I'm a php-java-bridge user, in windows environment and the performance penalty is very relevant for our needs and so, i've alocated some time (without priority mind) to build the module into a windows dll. I'm trying (time allow) to "understand" the windows build requirements (not an easy task with all the obscure "Zend" stuff around) for it and build an Ant/Nant file to build it easier. I've had some success in some of the building steps, but it is still a work very much in the process. I know it won't be much, but this is the help i can provide... Cheers, Luis Ferro php...@li... escreveu: > Hello, Jost > It is fundamental to attract and retain more developers to use the repository for development. > Now is time to call for more help on rpm packaging and having a healthy repository is a crucial step. > I can compile and test on Debian, but another people could help on rpm compiling packaging. > > I was talking with other coleague and he still think that 2x performance penalty is a relevant issue. But one fully working implementation is better than many barely working and lagging behind the needs of developers. > How many users has the pure C implementation? > > IMHO, if project offer different implementations, they need to be in sync. > Or drop support for some while other people do not step in and help on compiling and packaging. > The workload is seeming to be increasing too much over you. > The project "bus factor" needs to be improved. > Php-java-bridge is not an "end joe user" application. All users are developers. A skilled RH user may get the rpm compiling and packaging work from now. > But the repository must be in sync with the development, as a development tool, not only as a "documentation tool" for this take off. > As a suggestion, maybe another php-java-bridge-devel could be created. > Any more suggestions? > What can I do to help more? > > Regards. > Andre Felipe Machado > > > > On Sat, 24 Mar 2007 15:56:41 +0100 (CET), Jost Bökemeier wrote: > >> Hi Andre, >> >> what about splitting the pure PHP implementation from the C based >> implementation? >> >> Versions >= 4.0.3 may not compile anymore because I don't have the time >> to check the compile scripts on a variety of operating systems and C >> compilers. >> >> The pure PHP implementation allows us to experiment with certain ideas >> or features very quickly, without having to worry about different >> architectures. >> >> Is it necessary to keep the C based implementation in sync? The RPM >> files for Red Hat are still at 4.0.1 and I don't want to update them until >> a new version of Fedora is available. >> >> >> Regards, >> Jost Boekemeier >> >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2007-03-26 09:18:30
|
> -----Urspr=FCngliche Nachricht----- > Von: php...@li... > Gesendet: 21.03.07 17:31:30 > An: php...@li... > Betreff: Re: [Php-java-bridge-users] use > Hi, >=20 > > helloworld/Main). -- Unable to call constructor, see > > the README section "Java platform issues" for > > details. > > Am I missing something trivial here=3F >=20 > I think this is explained in the README section "Java > platform issues". >=20 >=20 > > Are there any good tutorials on how to get java code > > called from php and working=3F >=20 > What's wrong with the "loading user libraries" section > from the README=3F :) Thanks, I somehow really missed that part:=20 "Java libraries should ... be installed in one of the following directorie= s: java.ext.dirs or php.java.bridge.base/lib... Libraries in these director= ies are automatically loaded by a static loader whenever the JVM starts." Thanks again for taking the time to even reply to the most trivial questio= ns :-) >=20 >=20 > Regards, > Jost Boekemeier >=20 Best regards, Timo =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/=3Fmc=3D021192 |
From: <php...@li...> - 2007-03-22 19:12:09
|
php.java.servlet.fastcgi.FastCGIServlet.CGIEnvironment > private ConnectionPool The connection pool has been moved from the servlet to the fastcgi directory. Sorry for the fuzz. I've made the change in the cvs. I hope it compiles now (I don't have a build machine to check at the moment). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-03-22 18:55:52
|
Hi, > Output on the web page: > [o(String)JavaClass] I think you're right, it seems foolish to require an explicit conversion from java.lang.String to string. Please add the following code to the php.java.bridge.JavaBridge.java: public String ObjectToString(String ob) { return (String)castToString(ob); } After that all java.lang.String objects are displayed as a string value, even though they are still string objects: $s = new Java("java.lang.String", "hello world"); echo $s; echo "\n"; echo $s->substring(0,5); => hello world => hello I have uploaded 4.0.3 for testing, it already contains this code. Thank you very much for the bug report. > I've tried to cast it like so That worked with the C based extension, but object->value casts do not work on PHP level. That's a shortcoming in the php engine, imho. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-22 12:43:38
|
Hi, > "/usr/local/php/lib/extensions/" >/usr/local/php/lib/extensions/no-debug-non-zts-20050922/ I don't know where the first, incorrect path comes from . The no-debug-non-zts-20050922 directory is the correct one. > Is there any way to change that installation path > while configuring PHP/Java Bridge? No. php does this automatically. You seem to have two different PHP versions installed. One is patched and uses lib/extension. The other one is the version from which the development files came from. Just remove either one and it will work. > Not even using putenv PHP function? I think this is a general misunderstanding how the environment works. Each process has its own environment. If you use putenv, this will not affect the oracle server nor any other process which has not been started from this particular php instance. Since the php instance terminates after each request (which means that you must not start processes from php instances anyway), the putenv procedure is pretty useless (at least in a web environment). > I saw the FAQ... does it mean that I should start > Apache with apachectl -D > java.ext.dirs=/path/to/my/confs? No. If you want to start Java as a sub process of Apache, and you want to pass your own options to this sub process, you need to write a wrapper binary which exec's java with the parameters you need. Please see the RunJavaBridge wrapper (in the server folder of the source download) for details. > I would rather work something out that did not > envolve having to modify > startup configuration. Why don't you simply start Java via a system service, for example via tomcat? Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2007-03-21 18:46:24
|
On 3/21/07, php...@li... < php...@li...> wrote: > > Hi, > > [please excuse the delay] No problem. Thanks a lot for the help you're providing. > When I run the install.sh script it overwrites my > > php.ini with the PHP/Java Bridge configuration. > > It doesn't do this if you php installation supports an > /etc/php.d/ directory. Please see the php --configure > help for details (php's configure, not the bridge > configure script). > > > > install.sh created to my original php.ini, the > > extension just doesn't load. > > The only thing the extension need is a > > extension=3Djava.so > > entry. Ok... it took me a while but I finally got it working. It was one of those time when you try hundreds of different things and by the end you don't kno= w if what you're trying you have already done it or not. The thing is that my php.ini was loading the extensions from extension_dir = =3D "/usr/local/php/lib/extensions/" and the java.so was installed on /usr/local/php/lib/extensions/no-debug-non-zts-20050922/ What I don't know is why it didn't work when I copied every file from usr/local/php/lib/extensions/no-debug-non-zts-20050922/ to /usr/local/php/lib/extensions/ Is there any way to change that installation path while configuring PHP/Jav= a Bridge? > In a previous email, Jost told me that PHP/Java > > Bridge does not care about > > CLASSPATH variable, > > Some older JDK may still read the CLASSPATH > environment variable. But since Apache discards all > environment variables and executes in a clean > environment you cannot pass it to the VM (if you want > to run the VM as a sub-component of Apache). Not even using putenv PHP function? Because I use that to configure some Oracle stuff. > getSystemResource method of the ClassLoader > > It should find the resources in the standard Java > repository, which is /usr/share/java/ext or > /usr/java/packages/lib/ext. > > > > So, how should I indicate where those > > Just modify the standard location using the > -Djava.ext.dirs=3D... option. If you want to pass this > option from Apache, use a wrapper script, please see > our FAQ for details. I saw the FAQ... does it mean that I should start Apache with apachectl -D java.ext.dirs=3D/path/to/my/confs ? I would rather work something out that did not envolve having to modify startup configuration. I'm using this to work with a java api, which would be a quite small part o= f a much larger application and would like to make it easier to deploy becaus= e most probably I won't be installing it. BTW: Isn't that backwards? If you want to load > resources from a user dir, why don't you simply use > getResource() instead of getSystemResource()? Might be. I read something like that, the problem is that the getSystemResource call is made from the API I'm working with (which source I don't have), and I have to work with that. Best regards, Andr=E9s Gattinoni ___________________________________________________________ > Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Ma= il: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > --=20 Andr=E9s Gattinoni (=AF`=B7._.=B7[El Barto(r)]=B7._.=B7=B4=AF) (...) |
From: <php...@li...> - 2007-03-21 16:31:20
|
Hi, > helloworld/Main). -- Unable to call constructor, see > the README section "Java platform issues" for > details. > Am I missing something trivial here? I think this is explained in the README section "Java platform issues". > Are there any good tutorials on how to get java code > called from php and working? What's wrong with the "loading user libraries" section from the README? :) Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |