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: <php...@li...> - 2007-04-16 09:26:44
|
i config > ./configure --disable-backend --with-java=/usr/local/diablo-jdk1.5.0 > ,/usr/local/diablo-jdk1.5.0 sh install.sh i use FreeBSD6.2 java -version: # java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) > Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) > Error: The PHP/Java Bridge back-end is not running. Please start it and/or > check if the directory /usr/local/lib/php/20060613 contains "java.so" and > "JavaBridge.jar". Check if the following values are correct: > java.java_home = java.java = If you want to start the back-end > automatically, disable: java.socketname = java.hosts = java.servlet = If > that still doesn't work, please check the "java command" above and report > this problem to: php...@li.... > -- regards jl |
From: <php...@li...> - 2007-04-16 08:36:03
|
i use soure to install( http://php-java-bridge.sourceforge.net/pjb/installation.php#sourceinstall) my cmd : phpize && ./configure --with-java=JAVA_HOME,JAVA_HOME/jre && make > and show me checking for sem_init in -lrt... no > checking for pthreads_cflags... -pthread > checking for pthreads_lib... > configure: error: host_alias is not set. Make sure to run config.guess > Back-end configuration failed. > Please install the recommended autoconf, libtool and automake versions > or disable back-end configuration and use the pre-compiled J2EE back-end: > > ./configure --disable-backend --with-java=<JAVA_HOME> > > configure: error: /usr/local/bin/bash './configure.gnu' failed for server > how can i install? -- regards jl |
From: <php...@li...> - 2007-04-15 11:38:52
|
Session sharing between JSP and PHP doesn't work in version 4.0.8. The reason is that it uses a session cache variable, and the bridge doesn't reset this variable at the end of each php script. I have committed a fix into the CVS head and updated the binary- and source download. I have set the version# to 4.0.8a. The fix is in php-servlet.jar; the debian or RedHat binaries don't need it. 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-04-12 20:35:22
|
Hi Davide, > After a series of call of the metod "test" the > javabridge send > OutOfMemory errors. I could not reproduce this problem. I've created a class which passes a 100MB byte array to java, retrieves it and compares the result. The algorithm requires at least 500MB heap, but there's no memory leak. > The problem seem that the system don't free the > allocated memory. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the code to reproduce this memory leak at the end of the ticket? > I try also with a singleton class but the problem > persist. Well, if you bind your data to a class, the data will not be released until the VM runs out of memory. This isn't a bug but a Java feature. > There are known problem related to passing big size > params?? No. But note that sending large binary data is not as efficient as you might think. XML is a ASCII protocol, to that your byte array is 4/3 times bigger than it needs to be. > $data = function_that_return_a_50Mega_byteArray(); > with a memory set to 384M (-Xmx384m) the javabridge > fill the memory > after 3/4 calls. 50MB for the original data, +67MB+50MB (arg) +50MB (result) + 67MB (response) = 284MB. So 384 MB heap should be enough. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever |
From: <php...@li...> - 2007-04-11 10:20:47
|
Hi!! My name is Davide and is my first message on the llist. I'v created a class who make something on a large bytearray stream. After a series of call of the metod "test" the javabridge send OutOfMemory errors. The problem seem that the system don't free the allocated memory. I try also with a singleton class but the problem persist. There are known problem related to passing big size params?? with a memory set to 384M (-Xmx384m) the javabridge fill the memory after 3/4 calls. PHP $data = function_that_return_a_50Mega_byteArray(); java_require(CLASSPATH); $fooClass = new Java("Foo"); $retData = java_values($fooClass->test($data)); JAVA class Foo { public Foo() { } public byte[] test(byte[] inputByteArray) { return inputByteArray; } } I've tried this code too, whith the method "test" that simply return the array; Thanks Davide Fiorello |
From: <php...@li...> - 2007-04-10 15:06:09
|
> Version 3.0.8 is now available for testing. 4.0.8, of course. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-10 15:01:08
|
Hi, Version 3.0.8 is now available for testing. Changes since version 3.2.1: * Support for bea weblogic * It is now possible to call JSP tags from Apache/PHP * if the configured java executable cannot be found, the bridge searches the VM on the PATH (when running as a sub-component of apache) * it is now possible to set the java.hosts option from a script: require_once("http://foo:8080/.../Java.inc") redirects the C extension to the server foo:8080 * the FastCGI logic has been rewritten entirely, it now works on all operating systems. * the binary download now contains PHP binaries for freebsd, linux, solaris and windows. * the debian package has been split into a base-, doc-, j2ee-, j2ee-doc and devel package. Version 3.0.8 will be released in june 2007. Please report bugs/problems to the mailing list: php...@li... Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-10 14:21:34
|
Hi Andre, > The binary packages *may* work in Ubuntu too, I've committed a patch for Ubuntu into the "jostb-debian-ubuntu-patch" branch: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/?sortby=date&pathrev=jostb-debian-ubuntu-patch#dirlist Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-05 16:53:42
|
Hi, > I will re-enable Version 3.2.1 this evening. the version is back. However, are you sure you want version 3.2.1? If I remember correctly all versions < 4.0.1 throw a NullPointerException because WebLogic always returns null for context.getRealPath(""). The 4.x series contains a workaround for this, please see: http://sourceforge.net/mailarchive/message.php?msg_id=393709.85193.qm%40web27002.mail.ukl.yahoo.com Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 11:41:43
|
Hi, the optimized implementation ("php_java.dll" or "java.so") is not required. Installing it should be optional. Which error message do you get on Suse Linux? Can you please remove the optional "java.so" and use the following script: <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); echo java("java.lang.System")->getProperties(); ?> Please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the result of the commands: php -n myTest.php strace -s 8193 php -n myTest.php 2>script.log at the end of that ticket. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 10:56:28
|
Hi, it depends on which OS you try to use the bridge. On Windows, just install the Tomcat-Addon for Xampp and deploy the JavaBridge.war - file into the webapps directory of xampp. On Linux I can just tell you, that to get it working on SUSE 10.1 I had to compile the sources. -------- Original-Nachricht -------- Datum: Wed, 4 Apr 2007 11:55:22 +0200 (CEST) Von: php...@li... An: php...@li... Betreff: Re: [Php-java-bridge-users] Instructions for php/Java bridge v4.0.7 on XAMPP 1.6.0a? > Hi, > > > > bridge v4.0.7 on XAMPP 1.6.0a. > > I don't know what XAMPP is, but the generic > description from the README should work: > > 1. Start your J2EE server, copy JavaBridge.war into > its autodeploy folder > 2. Use > require_once("http://localhost:<port>/JavaBridge/java/Java.inc"); > > if you want to access Java from your PHP scripts. > > > In case you don't want to install a J2EE server or > servlet engine, the JavaBridge.jar contained in the > JavaBridge.war contains a simple servlet engine > implementation which can be started with: > > java -jar JavaBridge.jar SERVLET:8080 > > > 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=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" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: <php...@li...> - 2007-04-04 10:46:03
|
Hi Gary, I will re-enable Version 3.2.1 this evening. > Are the 4.0.x distributions complete? Unfortunately no. We'll try to make a stable release in june. PHP 5.2.0 and above contain a bug which makes FastCGI unusable on Windows systems. Please see http://bugs.php.net/bug.php?id=40758 for details. So we've decided to replace IBM's FastCGI launcher.exe with our own implementation, it uses windows named pipes instead of TCP sockets. Furthermore all 4.0.x versions currently require that you install an external php-cgi.exe (option "CGI other" in the PHP installer). > 4.0.7 throws the following exceptions trying to run > test.php: > java.io.FileNotFoundException: > \\.\pipe\D:\TEMP\JavaBridge9860.socket > (All pipe instances are busy) Thank you very much for the bug report. How many php-cgi executables are listening on \\.\pipe\D:\TEMP\JavaBridge9860.socket and how many connection pools are accessing it? There should be one connection pool with not more than 5 connections and 5 php fastcgi instances listening on \.\pipe\D:\TEMP\JavaBridge9860.socket. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and start the java VM with the option -Dphp.java.bridge.default_log_level=5 and attach the log at the end of the ticket? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 09:55:29
|
Hi, > bridge v4.0.7 on XAMPP 1.6.0a. I don't know what XAMPP is, but the generic description from the README should work: 1. Start your J2EE server, copy JavaBridge.war into its autodeploy folder 2. Use require_once("http://localhost:<port>/JavaBridge/java/Java.inc"); if you want to access Java from your PHP scripts. In case you don't want to install a J2EE server or servlet engine, the JavaBridge.jar contained in the JavaBridge.war contains a simple servlet engine implementation which can be started with: java -jar JavaBridge.jar SERVLET:8080 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 01:12:01
|
Has anyone been able to get the Eclipse PDT debugger to work with the SourceForge Java bridge in servlet configuration? I installed the PDT into Eclipse Callisto (from http://dowloads.zend.com/pdt). Then I * obtained the 2.2.3 debugger dll from the Zend website. (http://downloads.zend.com/pdt/server-debugger/) * put the 5_1_x_comp version into the cgi directory of the exploded JavaBridge.war * put the following lines into php.ini: [Zend] zend_extension_ts="D:\EclipseWorkspaces\sourceForgeJavaBridge2\JavaBridg e3.2.1\WEB-INF\cgi\ZendDebugger.dll" zend_debugger.allow_hosts=127.0.0.1/32,172.17.65.115 zend_debugger.allow_tunnel=127.0.0.1/32,172.17.65.115 zend_debugger.expose_remotely=always At this point, running phpinfo() in test.php shows that the debugger dll has been loaded. * set the debugger socket value in the PDT preferences to 10013, since that was what phpinfo() showed. * unchecked the URL autogenerate and hard-coded the specific URL in the PHP Web Page panel of the Eclipse debug dialog. * launched the debug session. Web browser opens but never loads the page. This debugger does work with the bridge in the Zend Platform product. Running Eclipse 3.2 and PHP Java Bridge 3.2.1 on Windows XP. If anybody has gotten this config to debug, or sees anything obviously wrong with my setup, please respond... Thanks -Gary Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
From: <php...@li...> - 2007-04-04 00:46:10
|
The Release Announcements page says, at the top: "Version 3.2.1 * The pure PHP PHP/Java Bridge is now the reference implementation." I downloaded it a while ago, and have successfully run it on WebLogic Server in the servlet configuration. That version longer appears in the download page on http://sourceforge.net/project/showfiles.php?group_id=117793. I have tried to use 4.0.1 and 4.0.7, but they don't work at all (see exceptions below), and seem to be missing all the PHP executable files in the cgi directory that 3.2.1 contained. Are the 4.0.x distributions complete? Or do they require that you obtain the PHP executables from some other source? Where is 3.2.1? 4.0.7 throws the following exceptions trying to run test.php: php.java.servlet.fastcgi.ConnectException at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:50) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip java.io.FileNotFoundException: \\.\pipe\D:\TEMP\JavaBridge9860.socket (All pipe instances are busy) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:48) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip Thanks -Gary Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
From: <php...@li...> - 2007-04-03 15:28:13
|
Hi all, I am trying to find some documentation on how to install the php/Java bridge v4.0.7 on XAMPP 1.6.0a. All descriptions I found so far refer to php/Java bridge v3.1.7 or older, but apparently that one does not run under XAMPP 1.6.0a. I tried to install v3.1.7 and went through misc. described procedures but none made "java" show up under phpinfo(). Michael |
From: <php...@li...> - 2007-04-02 12:39:27
|
Hi, version 3.0.8 supports this. I have created a hidden download: http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=osdn&filename=php-java-bridge_4.0.8_j2ee.zip&97384973 A test case is in the server/tests.php5/tag.php: require_once("http://localhost:8080/JavaBridge/java/Java.inc"); java_require("$here/fooTag.jar"); $attributes=array("att1"=>"98.5","att2"=>"92.3","att3"=>"107.7"); $pc = new java_PageContext(); $tag = new java_Tag($pc, "FooTag", $attributes); if($tag->start()) { do { $pc->getPageContext()->getOut()->print("member:: "); $pc->getPageContext()->getOut()->println($pc->getPageContext()->getAttribute("member")); } while($tag->repeat()); $tag->end(); } This works from Apache/PHP and from Tomcat/PHP. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
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 |