From: <php...@li...> - 2009-11-18 15:54:44
|
Hi Jim, which version of the bridge do you use? In PHP/JavaBridge < 5.5.4 you can set the promiscuous option in the WEB-INF/web.xml or in the System.properties (use: JAVA_OPTS="-Dphp.java.bridge.promiscuous=true" bin/catalina.sh run). Please see the INSTALL.J2EE document from your version's documentation download for details. Since version 5.5.4 the promiscuous option is obsolete, the bridge uses a HTTP/1.1 tunnel instead (chunked encoding). Please either set the promiscuous option or upgrade Java.inc and JavaBridge.war to version 5.5.4. Regards, Jost Bökemeier On 18 Nov 2009 16:29, <php...@li...> wrote: Just started using the JavaBridge this week and everything works when the applications are on the same server. I would like to move the PHP application to a different server but I am running into this error: Warning: pfsockopen() [function.pfsockopen]: unable to connect to webdev.mchs.com:9267 (Connection refused) in /web/htdocs/JavaBridge/java/Java.inc on line 1160 and java_RuntimeException: Could not connect to the context server webdev.mchs.com:9267. Error message: Connection refused (111) in /web/htdocs/JavaBridge/java/Java.inc on line 1161 What should I be looking for in troubleshooting this error? Is this just a "port" issue across the network? My setup is: Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 thanks ~ jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |