From: <php...@li...> - 2007-05-03 15:28:30
|
Sorry, but that instruction was to terse for me. How/where exactly do I set that protocol level so that I can monitor what is going on? I am running the PHP/Java bridge 1.3.8 on XAMPP v1.5.4a on a Windows XP box and I enabled the PHP/Java bridge by placing the files "WEB-INF\lib\JavaBridge.jar" and "WEB-INF\cgi\java-x86-windows.dll" (extracted from the file "JavaBridge.war") into C:\Program Files\xampp\php\ext (the latter under the name "php_java.dll" and adding a line "extension=php_java.dll" to php.ini). That's at least how I learned to install and enable the php/java bridge... Michael php...@li... wrote on 02.05.2007 11:41:14: > Hi, > > you're right that new Java(...) cannot return NULL. > > > How can I figure out, what's going wrong here and > > why??? > > You can look at the protocol level. Either set the log > level to 4 or above or, if you use linux, type: > > strace -s 1024 php yourPhpScript.php >error.log > > You will see something like: > > --> <C p=... v=...>...</C> > <-- <O v=.../> > > > Which PHP version do you use, btw? > > > Regards, > Jost Boekemeier |