ID:               16402
 Comment by:       john3parker at hotmail dot com
 Reported By:      csbook at adproject dot net
 Status:           No Feedback
 Bug Type:         Servlet related
 Operating System: RedHat Linux
 PHP Version:      4.1.2
 New Comment:

Redhat Linux 9 (2.4.20-8)
Tomcat 4.1.24
PHP version 4.3.3
J2SE 1.4.2

LD_LIBRARY_PATH=(points to libphp4.so)
phpsrvlt.jar in <catalina_home>/common/lib

ran test.php and got a response; hit refresh several times and tomcat
crashed hard.

Unexpected Signal : 11 occurred at PC=0x4032FAD7
Function=(null)+0x4032FAD7
Library=<tomcat>/jre/lib/i386/client/libjvm.so

Current Java thread:
  at net.php.servlet.send (Native Method)
...

-John


Previous Comments:
------------------------------------------------------------------------

[2003-07-04 02:04:26] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-06-29 10:41:03] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-02-19 13:57:40] jsu2 at emory dot edu

Since this feature appears to be alpha at best, we did some searching
and found a workaround.  This doesn't solve the bug, but it's doing
what we wanted, which is to have a php front end talking to a java
servlet backend.

http://www.phpbuilder.com/mail/php-general/2001032/1269.php

It may also be necessary to use HttpServletResponse.encodeRedirectURL
before using sendRedirect in your servlet.
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#encodeRedirectURL(java.lang.String)

------------------------------------------------------------------------

[2003-02-09 22:12:01] kp dot wong at graduate dot hku dot hk

I have tried to modify service calls into synchronized mode in
servlet.java but the problem still couldn't be solved.  Could you
propose the suggested modification in servlet.java?

------------------------------------------------------------------------

[2003-02-08 18:44:38] jeremy at techjobsca dot com

I also have experienced this issue.  phsrvlt.jar simply is not thread
safe.  Running RH 7.3 Tomcat 4.1.18 php4.2.3.  It loads once, then the
second time, brings Tomcat down, error 11, conflict in libjvm.so.  One
thing I have to add to this, was that I was completely unable to
compile php --with-java --with-servlet with 4.3.0 or a snapshot, it
would be helpful to me to know if anyone has tried testing it with
these, or to know if PHP development is simply going to phase out the
servlet, as it just plain seems broken.  And not being kept up.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16402

-- 
Edit this bug report at http://bugs.php.net/?id=16402&edit=1

Reply via email to