|
From: <php...@li...> - 2007-06-22 17:48:58
|
Thank you very much for your suggestion to set the = -Dphp.java.bridge.promiscuous=3Dtrue I realized I was not setting that = parameter in the correct place in the windows service and that is why it = was not taking place. Now, it is still not working. When I attempt to access = Tomcat5.5\webapps\JavaBridge\test.php I get the following error: Warning: Invalid argument supplied for foreach() in = E:\Tomcat5.5\webapps\JavaBridge\test.php on line 46 Fatal error: Attempt to access a Java property on a non-Java object in = E:\Tomcat5.5\webapps\JavaBridge\test.php on line 51 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D And when I attempt to access our php - java web app. I got:=20 Warning: JavaException::__toString() must return a string in Unknown on = line 0 Fatal error: Uncaught thrown in = E:\Tomcat5.5_2\webapps\chapter\includes\inc_top.php on line 3 On all pages, after a bit of moving aroung the pages. I saw in the stdout.log the following line: INFO: 380f83@8f57a <-- <E v=3D"1" m=3D"java.lang.Exception: Invoke = failed: [o(JavaBridge)]->getSession((String)null, (boolean)o(Boolean), = (int)o(Integer)). Cause: java.lang.NullPointerException: This context = 2@E%3A%5CTomcat5.5%5Cwebapps%5Cchapter doesn't have a session proxy. = Respon... Jun 21, 2007 11:53:28 AM org.apache.catalina.core.ApplicationContext log Could some one gide me on how to enable the session proxy for a php web = app, or where to find info about this, please?=20 Thank you very much again. |