|
From: <php...@li...> - 2009-11-05 18:44:07
|
Hello, I've having some trouble with Drupal recognizing my php-java bridge. My goal is to install sheetnode w/ XLS import/export, and I've followed the instructions detailed here: http://drupal.org/project/sheetnode I'm using Java JRE6: $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) And using php version 5.2.6 I've installed the php/java bridge using the instructions detailed here: http://php-java-bridge.sourceforge.net/pjb/installation.php I've installed Tomcat (version 5.5.27), and moved the war file into my webapps directory. I'm using virtualhosts, so I have a symlink from the virtual host's root to the JavaBridge webapp directory. I can run the examples on the page just fine, so it looks like the PHP/Java bridge works. It just seems that Drupal for some reason cannot recognize it. In Drupal, when I try to install the php/java bridge module I get this error message: (Currently using PHP/Java Bridge extension PHP/Java Bridge extension is NOT loaded in php.ini. Please install it.) This seems to indicate that I need to install some kind of php extension, like "java.so", but such a file is not included in the PHP/JavaBridge download. In fact the FAQs here http://php-java-bridge.sourceforge.net/pjb/FAQ.html say: > How do I enable the Java extension in my php.ini file? > > A Java extension does not exist, so you can't enable it. > > The VM Bridge is a network protocol, it requires a running Java VM, for > example the servlet container Apache/Tomcat. Or, if you want to call PHP > libraries from Java, a running PHP container, e.g. Apache or IIS. > So there's no extension, I just have to be running a Java Virtual Machine. As mentioned before, I am running Tomcat, and do have JavaBridge running. However, somehow Drupal doesn't seem to recognize that it exists. Wondering where to go from here. Please send me any recommendations. Thanks |