You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
(2) |
2
(3) |
3
|
4
|
5
(2) |
6
|
7
|
8
(6) |
9
|
10
|
11
|
12
(1) |
13
(3) |
14
|
15
(1) |
16
(1) |
17
(1) |
18
|
19
(5) |
20
(1) |
21
|
22
(1) |
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
(4) |
|
|
|
|
From: <php...@li...> - 2009-06-30 18:07:50
|
I think you need to edit the php.ini to configure your php extensions. You can look up the location of the php.ini from phpinfo(). Please consult your PHP documentation for details. Support through the usual PHP support channels, please. Regards, Jost Boekemeier 30. Jun 2009 4:08 nachm. schrieb am < php...@li...>: HI I am trying to load the php_mysql.dll libraries to PJB and trying to connect. But every time when I try to connect I am getting the following exception. Can anybody help me. StandardContext[/JavaBridge]PhpCGIServlet: PHP Warning: dl() [<a href='function.dl'>function.dl</a>]: Unable to load dynamic library Thanks - Ravi - ------------------------------------------------------------------------------ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-30 18:06:53
|
Hi, PHP 5.3 now contains a module system with namespaces, symbol aliases etc. Please see your PHP 5.3 documentation for details. Example: <?php java_autoload(); use java::lang::String as JString; echo new JString("test"); ?> The separator has been changed from PHP 5.3 RC to 5.3 final. The example uses the old :: syntax. You can also open complete environments, as in other modern module systems, see your PHP docu for details. Regards, Jost Boekemeier 30. Jun 2009 4:28 nachm. schrieb am < php...@li...>: How can i import a class in php bridge. How can I use this: import java.util.Date; and not $system = new Java('java.lang.Date'); Like in java??? Best Regards, -- Belchior Palma --------------------------------------------------------------------- Tel: +55 18 9133-8043 ------------------------------------------------------------------------------ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-30 14:27:57
|
How can i import a class in php bridge. How can I use this: import java.util.Date; and not $system = new Java('java.lang.Date'); Like in java??? Best Regards, -- Belchior Palma --------------------------------------------------------------------- Tel: +55 18 9133-8043 |
From: <php...@li...> - 2009-06-30 14:06:54
|
HI I am trying to load the php_mysql.dll libraries to PJB and trying to connect. But every time when I try to connect I am getting the following exception. Can anybody help me. StandardContext[/JavaBridge]PhpCGIServlet: PHP Warning: dl() [<a href='function.dl'>function.dl</a>]: Unable to load dynamic library Thanks - Ravi - |
From: <php...@li...> - 2009-06-22 06:01:15
|
I will be out of the office starting 06/20/2009 and will not return until 07/06/2009. I will respond to your message when I return. |
From: <php...@li...> - 2009-06-20 06:44:52
|
Hi, > bridge seems to be hanging... the first few calls will > work, then communication with the bridge becomes > interrupted and hangs the web server and > subsequent requests Since everybody uses the same channel w/o problems (servlet: uses inet: internally, see or faq), we need to find out what's so special with your setup and what "interrupted" and "hanging" really means. Possible causes: 1. You have migrated from 3.x to 5.x, which means that an old front end may try to communicate with the new back end. Please use the "Java.inc" shipped with the back end. You can raise the php.java.bridge.default_log_level to 4 or above to observe the communication (details in faq or from java -jar JavaBridge.jar --help) 2. Your php version cannot execute the php code from Java.inc correctly. (Unlikely if you use php php 5.2, 5.3 or php 6.x). In any case, you can debug php with strace or gdb: for i in `pidof httpd`; do strace -s 1024 -ff -p $i >$i.log 2>&1 ;done traces all "httpd" instances running php and writes the system calls to $i.log. Or, slightly easier, as it uses only one executable: strace -s 1024 -ff `which httpd` -X My guess is that you use a 3.x front end, which expects an old response from the back end. The XML protocol has been revised from ver. 3.x to 5.x to not use unnecessary round-trips anymore. Regards, Jost Boekemeier 20. Jun 2009 1:21 vorm. schrieb am < php...@li...>: >> So then the "standalone" use is no longer >recommended or supported? > > It is still supported, o... Where, in the FAQ? > Example for the standalone container: > > java -Dphp.java.bridge.default_log_level=5 -jar JavaBridge.jar > SERVLET:8080 This looks different from the previous docs, which were like: > $JAVA -server -Xmx1200m -jar $JAVA_BRIDGE_PATH INET_LOCAL:9676 3 What is the final "3" for? And INET_LOCAL vs SERVLET? Are those java parameters, or arguments interpreted by the JavaBridge.jar executable? In any case is this form acceptable? > $JAVA -server -Xmx1200m -jar $JAVA_BRIDGE_PATH INET_LOCAL:9676 3 If so, this is the form we're having trouble with. The bridge seems to be hanging... the first few calls will work, then communication with the bridge becomes interrupted and hangs the web server and subsequent requests. Any idea where to look first for errors? Nothing in the output from the Jar... Thanks, Alan ------------------------------------------------------------------------------ Are you an op... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-19 23:21:14
|
>> So then the "standalone" use is no longer >recommended or supported? > > It is still supported, of course. Please see our online docs for > details. Where, in the FAQ? > Example for the standalone container: > > java -Dphp.java.bridge.default_log_level=5 -jar JavaBridge.jar > SERVLET:8080 This looks different from the previous docs, which were like: > $JAVA -server -Xmx1200m -jar $JAVA_BRIDGE_PATH INET_LOCAL:9676 3 What is the final "3" for? And INET_LOCAL vs SERVLET? Are those java parameters, or arguments interpreted by the JavaBridge.jar executable? In any case is this form acceptable? > $JAVA -server -Xmx1200m -jar $JAVA_BRIDGE_PATH INET_LOCAL:9676 3 If so, this is the form we're having trouble with. The bridge seems to be hanging... the first few calls will work, then communication with the bridge becomes interrupted and hangs the web server and subsequent requests. Any idea where to look first for errors? Nothing in the output from the Jar... Thanks, Alan |
From: <php...@li...> - 2009-06-19 19:19:13
|
>So then the "standalone" use is no longer >recommended or supported? It is still supported, of course. Please see our online docs for details. > Ubuntu uses apt/dpkg as well. It installed fine.. May be. The question remains if it works, though. Please see the previous thread from our mailing list. Regards, Jost Boekemeier 19. Jun 2009 8:53 nachm. schrieb am < php...@li...>: > "Installation" is trivial, just download/install a servlet engine, > e.g. > http://tomcat.apache... So then the "standalone" use is no longer recommended or supported? java -jar JavaBridge.jar INET_LOCAL:9676 3 >> When setting up a new dev server (Ubuntu 8.04) we > decided to >> upgrade to > 5.4.4.2, and in... Ubuntu uses apt/dpkg as well. It installed fine... Alan ------------------------------------------------------------------------------ Are you an ope... |
From: <php...@li...> - 2009-06-19 18:52:56
|
> "Installation" is trivial, just download/install a servlet engine, > e.g. > http://tomcat.apache.org and copy JavaBridge.war to its autodeploy > folder. > Please see php-java-bridge.sf.net for details. So then the "standalone" use is no longer recommended or supported? java -jar JavaBridge.jar INET_LOCAL:9676 3 >> When setting up a new dev server (Ubuntu 8.04) we > decided to >> upgrade to > 5.4.4.2, and installed the .deb > > As far as I know .deb packages are for debian, not ubuntu. Ubuntu uses apt/dpkg as well. It installed fine... Alan |
From: <php...@li...> - 2009-06-19 18:48:19
|
Hi, "Installation" is trivial, just download/install a servlet engine, e.g. http://tomcat.apache.org and copy JavaBridge.war to its autodeploy folder. Please see php-java-bridge.sf.net for details. > When setting up a new dev server (Ubuntu 8.04) we > decided to upgrade to 5.4.4.2, and installed the .deb As far as I know .deb packages are for debian, not ubuntu. Regards, Jost Boekemeier 19. Jun 2009 8:23 nachm. schrieb am < php...@li...>: I've been using php-java-bridge for over 3 years. It has performed flawlessly, but I haven't done much to the codebase until recently. When setting up a new dev server (Ubuntu 8.04), we decided to upgrade to 5.4.4.2, and installed the .deb. Unfortunately, we are running into serious problems and frankly I am very confused about the "proper" way to run the bridge for our situation; I am hoping you can offer some advice. Our 3.x production setup is very simple; we have the java.so module in php, and we use a standalone java server on JVM 1.5.0_09: $JAVA -server -Xmx1200m -jar /path/to/JavaBridge.jar INET_LOCAL:9676 3 So, to set up on the Ubuntu box, we installed the deb package. This was pretty confusing since the docs say don't use java.so anymore but it's in the deb package. I will submit that I didn't read the .deb relnotes until just now that say "don't use the deb package". Kindof a weird thing, but OK. FWIW, from the .deb install, we did turn off the java.so and use the require 'Java.inc' method, but we had 2 problems with this: 1. It didn't work with Java 1.6; we had to use Java 1.5 (that may be due to the other jars we are running). Also, although it worked perfectly from php CLI, when run from mod_php it was very unreliable and kept crashing. You could see from the debug log that it would communicate some, but then it would just hang and become unresponsive, to the point that it somehow actually hosed up apache. So what *is* the right way to run the bridge then? Is all I need now is the "JavaBridge.jar" and just run it like I was before, but from php just include Java.inc rather than use the java.so functions? Which download should I grab to get the appropriate JavaBridge.jar? The latest binary package just has a .war file? Or am I crazy to be using the standalone jar? Please advise, I am thoroughly confused! Alan ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-19 18:22:57
|
I've been using php-java-bridge for over 3 years. It has performed flawlessly, but I haven't done much to the codebase until recently. When setting up a new dev server (Ubuntu 8.04), we decided to upgrade to 5.4.4.2, and installed the .deb. Unfortunately, we are running into serious problems and frankly I am very confused about the "proper" way to run the bridge for our situation; I am hoping you can offer some advice. Our 3.x production setup is very simple; we have the java.so module in php, and we use a standalone java server on JVM 1.5.0_09: $JAVA -server -Xmx1200m -jar /path/to/JavaBridge.jar INET_LOCAL:9676 3 So, to set up on the Ubuntu box, we installed the deb package. This was pretty confusing since the docs say don't use java.so anymore but it's in the deb package. I will submit that I didn't read the .deb relnotes until just now that say "don't use the deb package". Kindof a weird thing, but OK. FWIW, from the .deb install, we did turn off the java.so and use the require 'Java.inc' method, but we had 2 problems with this: 1. It didn't work with Java 1.6; we had to use Java 1.5 (that may be due to the other jars we are running). Also, although it worked perfectly from php CLI, when run from mod_php it was very unreliable and kept crashing. You could see from the debug log that it would communicate some, but then it would just hang and become unresponsive, to the point that it somehow actually hosed up apache. So what *is* the right way to run the bridge then? Is all I need now is the "JavaBridge.jar" and just run it like I was before, but from php just include Java.inc rather than use the java.so functions? Which download should I grab to get the appropriate JavaBridge.jar? The latest binary package just has a .war file? Or am I crazy to be using the standalone jar? Please advise, I am thoroughly confused! Alan |
From: <php...@li...> - 2009-06-17 20:19:31
|
Yep, that did it. I installed it from tomcat.apache.org and everything worked immediately. Only my development machine is running debian (ubuntu) so I'll have to figure this out for gentoo and red hat as well, but I think that'll be easy enough, I really just needed a proof of concept. thanks On Tue, Jun 16, 2009 at 12:27 AM, <php...@li...> wrote: > Hi, > >> and installed Tomcat running as a different service > > Have you downloaded/installed tomcat from http://tomcat.apache.org or do > you use something else? If your tomcat cannot run standard java webapps, > then there is something wrong with tomcat or your OS. > >> Perhaps I'm doing this entirely wrong > > Not entirely, no. I think you use Debian which -- how should I say it? -- > packages/views sometimes conflict with the reality. :) If you install Debian > Tomcat, it runs from a switch user script w/o setting the environment > correctly. System.getProperty("user") displays "root" for example, even > though the real user is tomcat, etc. > > If you want to use the Debian OS, please either use Andrè's debian package > and follow the instructiones therein or else use a standard Tomcat and > follow the stanard install instructions. > > Regards, > Jost Boekemeier > > > 16. Jun 2009 1:26 vorm. schrieb am < > php...@li...>: > > Perhaps I'm doing this entirely wrong, so I'll explain exactly what I > can perceive. > > I have apache running with PHP (port 80), and installed Tomcat running > as a different service (port 8080). > > I add the JavaBridge.war file to the autodeployment folder, navigate > to localhost:8080/JavaBridge, and it gives me the error about > PhpCgiServlet. I don't have access to the computer running it at this > moment, otherwise I would copy and paste the exact error. > > If I include http://localhost:8080/JavaBridge/java/Java.inc from PHP, > that works, but as soon as I do anything (for example, running the > example PHP scripts) it tells me the Java http server had an error and > shows the 500 error Tomcat threw (same as when I go to > localhost:8080/JavaBridge directly) > > Thanks > > On Sat, Jun 13, 2009 at 5:07 PM, > > <php...@li...> wrote: > Hi, > >>I'm using > Apache/PHP, > > You won't g... > >> > ------------------------------------------------------------------------------ >> Crystal Reports -... > >> php...@li... > >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > ----------------------------... > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-06-16 07:28:02
|
Hi, > and installed Tomcat running as a different service Have you downloaded/installed tomcat from http://tomcat.apache.org or do you use something else? If your tomcat cannot run standard java webapps, then there is something wrong with tomcat or your OS. > Perhaps I'm doing this entirely wrong Not entirely, no. I think you use Debian which -- how should I say it? -- packages/views sometimes conflict with the reality. :) If you install Debian Tomcat, it runs from a switch user script w/o setting the environment correctly. System.getProperty("user") displays "root" for example, even though the real user is tomcat, etc. If you want to use the Debian OS, please either use Andrè's debian package and follow the instructiones therein or else use a standard Tomcat and follow the stanard install instructions. Regards, Jost Boekemeier 16. Jun 2009 1:26 vorm. schrieb am < php...@li...>: Perhaps I'm doing this entirely wrong, so I'll explain exactly what I can perceive. I have apache running with PHP (port 80), and installed Tomcat running as a different service (port 8080). I add the JavaBridge.war file to the autodeployment folder, navigate to localhost:8080/JavaBridge, and it gives me the error about PhpCgiServlet. I don't have access to the computer running it at this moment, otherwise I would copy and paste the exact error. If I include http://localhost:8080/JavaBridge/java/Java.inc from PHP, that works, but as soon as I do anything (for example, running the example PHP scripts) it tells me the Java http server had an error and shows the 500 error Tomcat threw (same as when I go to localhost:8080/JavaBridge directly) Thanks On Sat, Jun 13, 2009 at 5:07 PM, <php...@li...> wrote: > Hi, > >>I'm using Apache/PHP, > > You won't g... > ------------------------------------------------------------------------------ > Crystal Reports -... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ----------------------------... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-15 23:25:54
|
Perhaps I'm doing this entirely wrong, so I'll explain exactly what I can perceive. I have apache running with PHP (port 80), and installed Tomcat running as a different service (port 8080). I add the JavaBridge.war file to the autodeployment folder, navigate to localhost:8080/JavaBridge, and it gives me the error about PhpCgiServlet. I don't have access to the computer running it at this moment, otherwise I would copy and paste the exact error. If I include http://localhost:8080/JavaBridge/java/Java.inc from PHP, that works, but as soon as I do anything (for example, running the example PHP scripts) it tells me the Java http server had an error and shows the 500 error Tomcat threw (same as when I go to localhost:8080/JavaBridge directly) Thanks On Sat, Jun 13, 2009 at 5:07 PM, <php...@li...> wrote: > Hi, > >>I'm using Apache/PHP, > > You won't get this error in this case. > >> the example PHP code just displays the error >> from Tomcat > > I don't understand. Which error message do you get from the PhpJavaServlet? > > Regards, > Jost Boekemeier > > 13. Jun 2009 6:59 nachm. schrieb am < > php...@li...>: > > I'm using Apache/PHP, but I haven't even got that far yet; the example > PHP code just displays the error from Tomcat, so I think I'm stuck on > the deployment stage. > > Previously, the standalone/debug web server was being used but I got > the impression this was not a good permanent solution. > > On Sat, Jun 13, 2009 at 1:11 AM, < > php...@li...> wrote: > Hi, > > Ple... > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-06-13 17:07:46
|
Hi, >I'm using Apache/PHP, You won't get this error in this case. > the example PHP code just displays the error > from Tomcat I don't understand. Which error message do you get from the PhpJavaServlet? Regards, Jost Boekemeier 13. Jun 2009 6:59 nachm. schrieb am < php...@li...>: I'm using Apache/PHP, but I haven't even got that far yet; the example PHP code just displays the error from Tomcat, so I think I'm stuck on the deployment stage. Previously, the standalone/debug web server was being used but I got the impression this was not a good permanent solution. On Sat, Jun 13, 2009 at 1:11 AM, < php...@li...> wrote: > Hi, > > Ple... |
From: <php...@li...> - 2009-06-13 16:58:53
|
I'm using Apache/PHP, but I haven't even got that far yet; the example PHP code just displays the error from Tomcat, so I think I'm stuck on the deployment stage. Previously, the standalone/debug web server was being used but I got the impression this was not a good permanent solution. On Sat, Jun 13, 2009 at 1:11 AM, <php...@li...> wrote: > Hi, > > Please either use Microsoft IIS/PHP or Apache/PHP as the PHP front end or > please see our FAQ how to run php fastcgi within a security restricted > servlet/jee container. > > Regards, > Jost Boekemeier > > 12. Jun 2009 10:06 nachm. schrieb am < > php...@li...>: > > I've followed the posted instructions and I have Tomcat running. When > I deploy the JavaBridge.war servlet and go to > localhost:8080/JavaBridge I get "Servlet PhpCGIServlet is not > available". > > What am I doing wrong? > > Thanks > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-06-13 08:12:03
|
Hi, Please either use Microsoft IIS/PHP or Apache/PHP as the PHP front end or please see our FAQ how to run php fastcgi within a security restricted servlet/jee container. Regards, Jost Boekemeier 12. Jun 2009 10:06 nachm. schrieb am < php...@li...>: I've followed the posted instructions and I have Tomcat running. When I deploy the JavaBridge.war servlet and go to localhost:8080/JavaBridge I get "Servlet PhpCGIServlet is not available". What am I doing wrong? Thanks ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-12 20:05:26
|
I've followed the posted instructions and I have Tomcat running. When I deploy the JavaBridge.war servlet and go to localhost:8080/JavaBridge I get "Servlet PhpCGIServlet is not available". What am I doing wrong? Thanks |
From: <php...@li...> - 2009-06-08 11:20:07
|
Hi, I would start with the generated .java file. Jsp compiles to a servlet. If it works in jsp, it also works in a servlet. You can find the generated .java file in the tomcat work folder (assuming your jboss installation uses tomcat, not jetty). Regards, Jost Boekemeier P.S.: Please ignore the empty replies. They are generated by a software bug. :) 8. Jun 2009 1:03 nachm. schrieb am < php...@li...>: Hi Jost Boekemeier Thanks for the reply. I am able to run the same code in JSP. I am using jboss server for this. Do I need to register any listener ? Thanks - Ravi - -----Original Message----- From: php...@li...[mailto: php-java-bridg... |
From: <php...@li...> - 2009-06-08 11:15:09
|
8. Jun 2009 1:03 nachm. schrieb am < php...@li...>: Hi Jost Boekemeier Thanks for the reply. I am able to run the same code in JSP. I am using jboss server for this. Do I need to register any listener ? Thanks - Ravi - -----Original Message----- From: php...@li...[mailto: php-java-bridg... |
From: <php...@li...> - 2009-06-08 11:03:00
|
Hi Jost Boekemeier Thanks for the reply. I am able to run the same code in JSP. I am using jboss server for this. Do I need to register any listener ? Thanks - Ravi - -----Original Message----- From: php...@li... [mailto:php...@li...] Sent: Monday, June 08, 2009 4:25 PM To: php...@li... Subject: Re: [Php-java-bridge-users] Could not evaluate script: java.lang.IllegalStateException: No EngineFactory found. Have you registered a listener? You need to register a context listener. Please see the install.j2ee document or the JavaBridge.war example application for details. Regards, Jost Boekemeier 8. Jun 2009 12:25 nachm. schrieb am < php...@li...>: Hi I am trying to invoke a php function from the servlet. I am getting the following error. Pls find the following code. public void doPost( final HttpServletRequest httpRequest, final HttpServletResponse httpResponse) throws ServletException, IOException { try { URI remotePhpApp = new URI(" http://localhost:9080/JavaBridge/java/JavaProxy.php"); ScriptEngine e = EngineFactory.getInvocablePhpScriptEngine (this, this.getServletContext(), httpRequest, httpResponse, remotePhpApp); Object result = ((Invocable)e).invokeFunction("phpversion", new Object[]{}); System.out.println(result); e.eval ((Reader)null); } catch (Exception ex) { System.out.println("Could not evaluate script: "+ex); } finally { // make sure to close() the file // in JDK 1.5 and above use ((Closeable)e).close() instead } } I am getting following error. Could not evaluate script: java.lang.IllegalStateException: No EngineFactory found. Have you registered a listener? The same code works fine with jsp. Thanks - Ravi - ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-08 10:55:10
|
You need to register a context listener. Please see the install.j2ee document or the JavaBridge.war example application for details. Regards, Jost Boekemeier 8. Jun 2009 12:25 nachm. schrieb am < php...@li...>: Hi I am trying to invoke a php function from the servlet. I am getting the following error. Pls find the following code. public void doPost( final HttpServletRequest httpRequest, final HttpServletResponse httpResponse) throws ServletException, IOException { try { URI remotePhpApp = new URI(" http://localhost:9080/JavaBridge/java/JavaProxy.php"); ScriptEngine e = EngineFactory.getInvocablePhpScriptEngine (this, this.getServletContext(), httpRequest, httpResponse, remotePhpApp); Object result = ((Invocable)e).invokeFunction("phpversion", new Object[]{}); System.out.println(result); e.eval ((Reader)null); } catch (Exception ex) { System.out.println("Could not evaluate script: "+ex); } finally { // make sure to close() the file // in JDK 1.5 and above use ((Closeable)e).close() instead } } I am getting following error. Could not evaluate script: java.lang.IllegalStateException: No EngineFactory found. Have you registered a listener? The same code works fine with jsp. Thanks - Ravi - ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-08 10:53:02
|
8. Jun 2009 12:25 nachm. schrieb am < php...@li...>: Hi I am trying to invoke a php function from the servlet. I am getting the following error. Pls find the following code. public void doPost( final HttpServletRequest httpRequest, final HttpServletResponse httpResponse) throws ServletException, IOException { try { URI remotePhpApp = new URI(" http://localhost:9080/JavaBridge/java/JavaProxy.php"); ScriptEngine e = EngineFactory.getInvocablePhpScriptEngine (this, this.getServletContext(), httpRequest, httpResponse, remotePhpApp); Object result = ((Invocable)e).invokeFunction("phpversion", new Object[]{}); System.out.println(result); e.eval ((Reader)null); } catch (Exception ex) { System.out.println("Could not evaluate script: "+ex); } finally { // make sure to close() the file // in JDK 1.5 and above use ((Closeable)e).close() instead } } I am getting following error. Could not evaluate script: java.lang.IllegalStateException: No EngineFactory found. Have you registered a listener? The same code works fine with jsp. Thanks - Ravi - ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-06-08 10:25:37
|
Hi I am trying to invoke a php function from the servlet. I am getting the following error. Pls find the following code. public void doPost( final HttpServletRequest httpRequest, final HttpServletResponse httpResponse) throws ServletException, IOException { try { URI remotePhpApp = new URI("http://localhost:9080/JavaBridge/java/JavaProxy.php"); ScriptEngine e = EngineFactory.getInvocablePhpScriptEngine (this, this.getServletContext(), httpRequest, httpResponse, remotePhpApp); Object result = ((Invocable)e).invokeFunction("phpversion", new Object[]{}); System.out.println(result); e.eval ((Reader)null); } catch (Exception ex) { System.out.println("Could not evaluate script: "+ex); } finally { // make sure to close() the file // in JDK 1.5 and above use ((Closeable)e).close() instead } } I am getting following error. Could not evaluate script: java.lang.IllegalStateException: No EngineFactory found. Have you registered a listener? The same code works fine with jsp. Thanks - Ravi - |
From: <php...@li...> - 2009-06-05 18:52:52
|
Hi, Tomcat listens on port 8080. > I want php-java-bridge to listen on tcp port 9267 You can either change your tomcat configuration to use port 9267, or start a standalone listener. Please see java -jar JavaBridge.jar --help or the README for details how to start it. BTW why is the port# important? You can use any port from within your php scripts. Example: <?php require("http://HOST:8080/JavaBridge/java/Java.inc"); // communicate with HOST:8080 ... echo java("java.lang.System")->getProperties(); ?> will invoke getProperties on HOST:8080. Please see our documentation for details. Regards, Jost Boekemeier 5. Jun 2009 4:48 nachm. schrieb am < php...@li...>: Hi, I use php-java-bridge 4.08a, works perfectly. I have to clone the system, but on i386 machine. I made the deb package, but after apache restart I see this running: java -Djava.library.path=/usr/lib/php5/20060613+lfs -Djava.class.path=/usr/lib/php5/20060613+lfs/JavaBridge.jar -Djava.awt.headless=true -Dphp.java.bridge.base=/usr/lib/php5/20060613+lfs php.java.bridge.Standalone LOCAL:@java-bridge-7dba 1 also, listens on a local unix socket. I want php-java-bridge to listen on tcp port 9267, as on the original hw (amd64). I read the documentation, but nowadays the php-java-bridge used from tomcat, and I don't find any suggestion to say to the bridge to listen on a tcp port. Have you any suggestion? Thanks: -- Üdv, Ricsi ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |