ID: 11925
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Java related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Tried with Java 2 Runtime 1.2. Here is what happens:
The first time it was launched, it ran on the first request ok.
The second request got a:
----
javaw.exe - Application Error
The instruction at "0x09f189ea" referenced memory at 0x00080110". The
memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
[OK] [Cancel]
----
In the default-event.log I see two entries like this:
----
03/29 21:52:16 error (jcp) Connection reset by peer: JVM_recv in socket
input stream read [java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read]
java.net.SocketException: Connection reset by peer: JVM_recv in socket
input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at allaire.jrun.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java,
Compiled Code)
at allaire.jrun.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:308)
at allaire.jrun.jrpp.ProxyEndpoint.readInt(ProxyEndpoint.java:326)
at allaire.jrun.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.java,
Compiled Code)
at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java:48)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled
Code)
at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
----
So I try a third request, and get:
Could not connect to JRun Server
At the very bottom of the default-event.log, the last item to load is:
03/29 21:54:14 info (JRun) php: init
Nothing after that, so it basically up and died on the php init. The
JRun service in service manager is fully stopped.
Previous Comments:
------------------------------------------------------------------------
[2002-02-24 06:08:55] [EMAIL PROTECTED]
Please test with PHP 4.1.1+JDK 1.2 and report the result back
Please do not forget updating PHP version. Thanks.
------------------------------------------------------------------------
[2001-07-06 06:41:04] [EMAIL PROTECTED]
I'm using
Redhat 7.1
Resin 2.0 (servlet runner)
Php sapi servlet runs for the first few times then makes the servlet
runner crash.
This is the purty stack trace:
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 11 occurred at PC=0x4b64e196
Function name=zend_hash_index_update_or_next_insert
Library=/usr/local/lib/libphp4.so
Current Java thread:
at net.php.reflect.setResultFromObject(Native Method)
at net.php.reflect.setResult(reflect.java:105)
at net.php.servlet.readCookies(servlet.java:79)
at net.php.servlet.send(Native Method)
at net.php.servlet.service(servlet.java:165)
at net.php.servlet.service(servlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.jav
at com.caucho.server.http.Invocation.service(Invocation.java:273)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:334
at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11925&edit=1