Hello,
I'm trying to use servlet extension of PHP.
My goal is to call Xerces java libraries
from PHP.
The first access of a simple php page runs
well, but the server core dump at the second
access. It seems to be a problem with the
jvm and threads.
Versions :
PHP 4.0.4pl1 (--with-java and --with-servlet)
Tomcat 3.2.1
Linux 2.2.12 i86.
IBM JDK1.1.8
Does someone have an idea ???
*** LOGS TOMCAT
Guessing TOMCAT_HOME from tomcat.sh to ./bin/..
Setting TOMCAT_HOME to ./bin/..
Using classpath:
./bin/../lib/ant.jar:./bin/../lib/jasper.jar:./bin/../lib/jaxp.jar:./bin/../
lib/parser.jar:./bin/../lib/phpsrvlt.jar:./bin/../lib/servlet.jar:./bin/../l
ib/test:./bin/../lib/webserver.jar:/VOILA_PROG/resin/resin-server/lib/xalan_
1_2_D02.jar:/VOILA_PROG/resin/resin-server/lib/xerces_1_2.jar:/usr/jdk118/li
b/classes.zip
[root@magic-dev jakarta]# 2001-03-09 10:19:02 - ContextManager: Adding
context Ctx( /examples )
2001-03-09 10:19:02 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-09 10:19:02 - ContextManager: Adding context Ctx( )
2001-03-09 10:19:02 - ContextManager: Adding context Ctx( /test )
2001-03-09 10:19:03 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-03-09 10:19:03 - PoolTcpConnector: Starting Ajp13ConnectionHandler on
8009
2001-03-09 10:19:03 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
*** LOG when core dump (after 2 access of php page)
SIGSEGV received at bd7ff7a0 in /usr/local/lib/libphp4.so. Processing
terminated