Bug #11686 Updated: if configuring with db2 AND java-support, java will hang under apache

From: Date: Tue, 26 Jun 2001 12:45:03 +0000
Subject: Bug #11686 Updated: if configuring with db2 AND java-support, java will hang under apache
Groups: php.dev 
Request: Send a blank email to php-dev+get-58042@lists.php.net to get a copy of this message
ID: 11686 Updated by: sniper Reported By: mtmmtm@usa.net Old-Status: Open Status: Feedback Bug Type: Reproducible crash Operating system: PHP Version: 4.0.6 Assigned To: Comments: I hope you're not using 'apachectl restart'? Use stop/start instead. If this wasn't the problem, please generate a GDB backtrace of the crash. Instructions can be found here: http://www.php.net/bugs-generating-backtrace.php Previous Comments: --------------------------------------------------------------------------- [2001-06-26 02:26:47] mtmmtm@usa.net build php with db2-support, AND java, and ONLY when running it under APACHE (I tried several versions, but last time i used:1.3.20). If i remove db2-support, it works ok, or run php standalone. this bug exists in db2 7.1 (patchlevel 0,2,3 (latest)). i have reproduced it under ibmjdk118, ibmjdk1.3, suns jdk1.2.2, suns jdk1.3. workaround: don't use db2 in php, do it from java instead. cd /root tar xvfz apache_1.3.20.tar.Z cd apache_1.3.20 ./configure --prefix=/usr/local/apache --enable-module=so make make install # 1.3 tcsh setenv LD_ASSUME_KERNEL 2.2.5 setenv LD_LIBRARY_PATH /opt/jdk1.3/jre/lib/i386/client:/opt/jdk1.3/jre/lib/i386/classic:/opt/jdk1.3/jre/lib/i386 set path = ( /opt/jdk1.3/bin/ $path ) ./configure --with-apxs=/usr/local/apache/bin/apxs --without-mysql --enable-sockets --with-java make make install restart apache) (try run except.php to load java from apache). now it works... then: add this line to php, (and make rm -rf on the php-directory, because of severe bugs in the configure/make process) (only configure from scratch work 100%). --with-ibm-db2=/home/db2inst1/sqllib (also add /usr/Ibmdb2/V7.1/lib to LD_LIBRARY_PATH) (restart apache) (try run except.php (from netscape) to load java from apache). now it does not work. there will be NO response output. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11686&edit=2

« previous php.dev (#58042) next »