From: <php...@li...> - 2006-05-31 09:16:34
|
Hi List, I've been playing around with the bridge for some time now and started to d= o=20 some 'real' work with it today. My first move was to move the php classes=20 I've used so far into separate files - which didn't work :| This code works fine: <?php =A0 =A0$session =3D java_session(); ?> Now, let's name that code file1.php. If I do <?php =A0 =A0include('file1.php'); ?> from any other file (while file1.php =A0is in the same folder or not), I'm= =20 getting the following error: =46atal error: php_mod_java(88): Protocol violation at pos 7, please check = that=20 the backend (JavaBride.war) is deployed or please switch off the java.servl= et=20 option. in ...file1.php on line 2 That goes for basically all java_ commands (e.g. java_context() instead of= =20 java_session()). Any idea how to solve that? To give some further information: I'm running the bridge inside tomcat on=20 ubuntu linux with php compiled as fastcgi. Bride resides in <tomcat=20 root>/shared/lib, as discussed in documentation. No problems at all to use= =20 the bridge from within Cheers flim |