php & tomcat
| From: | Guillaume Fortin | Date: | Mon, 02 Apr 2001 19:06:42 +0000 |
| Subject: | php & tomcat | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46663@lists.php.net to get a copy of this message | ||
Hello,
iI want to use PHP inside Tomcat as a servlet.
My goal is to user Cocoon libraries.
My problem is this :
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.
Thanks in advance !
Versions :
PHP 4.0.4pl1 (--with-java and --with-servlet)
Tomcat 3.2.1
Linux 2.2.17 i86.
IBM JDK1.1.8
*** 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
***
__________________________________
Guillaume Fortin - http://www.voila.fr