From: <php...@li...> - 2011-01-20 16:43:32
|
I am trying to deploy JavaBridge to both WebSphere Express and the Integrated Application Server on IBM i OS V6R1 so that I can run BIRT reports and charts from my Zend PHP scripts on the iBM i. When I start the JavaBridge application I get this in the stderr logs for both servers: Fatal Error: Failed to start PHP [php-cgi, -v], reason: java.io.IOException: php-cgi: not found Could not start FCGI server: java.io.IOException: PHP not found. Please install php-cgi. PHP test command was: [php-cgi, -v] Timeout waiting for PHP FastCGI daemon php.java.bridge.http.FCGIConnectException: Could not connect to server at php.java.bridge.http.SocketChannelFactory.test(SocketChannelFactory.java:58) at php.java.bridge.http.FCGIConnectionPool.<init>(FCGIConnectionPool.java:175) at php.java.bridge.http.FCGIConnectionPool.<init>(FCGIConnectionPool.java:189) at php.java.servlet.ContextLoaderListener.createConnectionPool(ContextLoaderListener.java:541) at php.java.servlet.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:185) .... I created a symbolic link in the WEB-INF/cgi/powerpc-os directory called php-cgi-arch-os that links to the /usr/lcoal/zendsvr/bin/php-cgi executable that runs on IBM i and I can invoke in a shell.. The app server can't seem to find however.. Any one seen this on other platforms ? Jon Rush Technical Consultant STG ISV Enablement: http://www.ibm.com/partnerworld/systems/isv Rochester, MN (507)253-5099 (tieline 553-5099) jr...@us... |