From: <php...@li...> - 2006-07-07 17:32:46
|
Hi all, I realized that rpmbuild --rebuild didn't actually install the rpm. So I found the rpm and have it installed. I now am able to start php-java-bridge. I added the [java] section to my php.ini file and restarted both php-java-bridge (standalone) as well as httpd. SELinux is disabled. When I try to hit test.php I get the following error: Error: The PHP/Java Bridge back-end is not running. Please start it and/or check if the directory /usr/lib64/php/modules contains "java.so" and " JavaBridge.jar". Check if the following values are correct: java.java_home = /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0 java.java = /usr/lib/jvm/java- 1.4.2-gcj-1.4.2.0/jre/bin/java If you want to start the back-end automatically, disable: java.socketname = /var/run/.php-java-bridge_socket java.hosts = java.servlet = If that still doesn't work, please check the "java command" above and report this problem to: php...@li.... The back-end *is* running and the modules directory contains java.so and JavaBridge.jar. The java_home and java.java parameters are correct. Any ideas? Thanks! On 7/7/06, Wendy Shuya <w....@gm...> wrote: > > Hi all, I am trying to install the php-java-bridge on a Fedora Core 5 > 64-bit machine. I have tried following various different instructions in > the INSTALL and README files trying to find the correct combination. I have > upgraded my java-devel, php-devel, and php installations. > > Can you confirm that the following command is what I want to do? > > rpmbuild --rebuild php-java-bridge-3.1.4-1.src.rpm > > This command gave lots of output and appeared to run successfully. > However, I don't see if and where the bridge was installed. (I'm pretty new > to installing packages on Linux, so this is probably just a misunderstanding > on my part). > > # rpm -q php-java-bridge-3.1.4-1 > package php-java-bridge-3.1.4-1 is not installed > > # rpm -q php-java-bridge > package php-java-bridge is not installed > > > It looks like I need to follow additional instructions to move/edit files > however I don't know where the files exist. Can someone point me to where > my install is, how to start the bridge, and what instructions I need to > follow next? > > Thanks for any help you might be able to provide, I am looking very > forward to getting this working. > > -- > Wendy > -- Wendy |