
Hi guys, Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge ( http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet: (javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server) The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative. -- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

Ok one step closer.. JavaBridge uses php-cgi, which must be installed especially if you're using PHP as Apache module. Guess that did it. Hope it will all the way. On Tue, Jun 21, 2011 at 9:57 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
Hi guys,
Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge ( http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet:
(javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server)
The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative.
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

Hi, If it were me, I would install the servers seperatley and call functions from the apps seperatley. PHP-JAVA bridge sounds cool, but you can also customize your own Java server to accept php....after all, its Apache On Tue, Jun 21, 2011 at 9:57 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
Hi guys,
Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge ( http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet:
(javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server)
The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative.
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

Me too, I would have preferred to go with a RESTful api - but p*hp*-*java*-* bridge*.sourceforge.net/ says that "It is up to 50 times faster than local RPC via SOAP, requires less resources on the web-server side". All Latin to me. Perhaps Waithaka can give a quick crash course hapa hapa and probably see a local user group grow :-) . Samuel ? On 21 June 2011 10:12, Paul Kevin <paultitude@gmail.com> wrote:
Hi,
If it were me, I would install the servers seperatley and call functions from the apps seperatley. PHP-JAVA bridge sounds cool, but you can also customize your own Java server to accept php....after all, its Apache
On Tue, Jun 21, 2011 at 9:57 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
Hi guys,
Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge ( http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet:
(javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server)
The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative.
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

Kyalo, I need a crash course myself otherwise I wouldn't have burnt some good amount of time on this...But that's my understanding as you've said RPC via SOAP is an alternative not but not one of the best. I had used the souceforge tutorial ( http://php-java-bridge.sourceforge.net/pjb/installation.php ), but I also found this to be helpful too: ( http://acet.rdg.ac.uk/projects/vre/jbridgeinst.php ) Would love to explore what Paul's taking about as well. On Tue, Jun 21, 2011 at 10:39 AM, Ndungi Kyalo <ndungi@gmail.com> wrote:
Me too, I would have preferred to go with a RESTful api - but p*hp*-*java* -*bridge*.sourceforge.net/ says that "It is up to 50 times faster than local RPC via SOAP, requires less resources on the web-server side". All Latin to me. Perhaps Waithaka can give a quick crash course hapa hapa and probably see a local user group grow :-) . Samuel ?
On 21 June 2011 10:12, Paul Kevin <paultitude@gmail.com> wrote:
Hi,
If it were me, I would install the servers seperatley and call functions from the apps seperatley. PHP-JAVA bridge sounds cool, but you can also customize your own Java server to accept php....after all, its Apache
On Tue, Jun 21, 2011 at 9:57 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
Hi guys,
Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge ( http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet:
(javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server)
The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative.
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

I think the tutorial at http://acet.rdg.ac.uk/projects/vre/jbridgeinst.php is giving an unnecessary step asking you to "Unpack the war file in the temp directory with |jar xvf JavaBridge.war|" If you copy the downloaded war file into $CATALINA_HOME/webapps and restart Tomcat, the server will do that unpacking for you and will set up the class path needed for you. I think that is the step that is making Catalina complain to you. On 06/21/2011 11:37 AM, Samuel Waithaka wrote:
Kyalo, I need a crash course myself otherwise I wouldn't have burnt some good amount of time on this...But that's my understanding as you've said RPC via SOAP is an alternative not but not one of the best.
I had used the souceforge tutorial ( http://php-java-bridge.sourceforge.net/pjb/installation.php ), but I also found this to be helpful too: ( http://acet.rdg.ac.uk/projects/vre/jbridgeinst.php )
Would love to explore what Paul's taking about as well.
On Tue, Jun 21, 2011 at 10:39 AM, Ndungi Kyalo <ndungi@gmail.com <mailto:ndungi@gmail.com>> wrote:
Me too, I would have preferred to go with a RESTful api - but p*hp*-*java*-*bridge*.sourceforge.net/ <http://sourceforge.net/> says that "It is up to 50 times faster than local RPC via SOAP, requires less resources on the web-server side". All Latin to me. Perhaps Waithaka can give a quick crash course hapa hapa and probably see a local user group grow :-) . Samuel ?
On 21 June 2011 10:12, Paul Kevin <paultitude@gmail.com <mailto:paultitude@gmail.com>> wrote:
Hi,
If it were me, I would install the servers seperatley and call functions from the apps seperatley. PHP-JAVA bridge sounds cool, but you can also customize your own Java server to accept php....after all, its Apache
On Tue, Jun 21, 2011 at 9:57 AM, Samuel Waithaka <samwaithaka@gmail.com <mailto:samwaithaka@gmail.com>> wrote:
Hi guys,
Trying to implement PHP-Java Bridge to implement utilize Birt reporting tools. I successfully installed and can run ApacheTomcat on Ubuntu Linux. (on port 8080). However, when I try to run the JavaBridge (http://localhost:8080/JavaBridge), I keep getting a series of exceptions, starting with the servlet:
(javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server)
The other alternative is to copy the JavaBridge directory to the webserver root (http://localhost/JavaBridge). That runs ok but with a lot of limitations). It simply can't do much. I'd highly appreciate any help on this. Or an alternative.
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke <mailto:Skunkworks@lists.my.co.ke> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 <http://my.co.ke/phpbb/viewtopic.php?f=24&t=94> ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke <mailto:Skunkworks@lists.my.co.ke> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 <http://my.co.ke/phpbb/viewtopic.php?f=24&t=94> ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke <mailto:Skunkworks@lists.my.co.ke> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 <http://my.co.ke/phpbb/viewtopic.php?f=24&t=94> ------------ Other services @ http://my.co.ke
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (4)
-
Arthur Buliva
-
Ndungi Kyalo
-
Paul Kevin
-
Samuel Waithaka