473,508 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Servlet

I'm trying to get php to run on my webserver as a Java Servlet, it works the
first time but fails the second time and crashes the JVM with the following
error:

I have tried the latest versions of PHP 4. (release and dev)

I would appreciate any help with this issue.

-- Chris

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x18A3723A
Function=zend_hash_destroy+0x1A
Library=c:\PHP\php4ts.dll
Current Java thread:
at net.php.servlet.send(Native Method)
at net.php.servlet.service(Servlet.java:195)
at net.php.servlet.service(Servlet.java:219)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at com.skwirel.util.http.HTTPFilterChain.doFilter(HTT PFilterChain.java:49)
at com.skwirel.filters.ResponseTimer.doFilter(Respons eTimer.java:36)
at com.skwirel.util.http.HTTPFilter.doFilter(HTTPFilt er.java:68)
at com.skwirel.util.http.HTTPFilterChain.doFilter(HTT PFilterChain.java:46)
at com.skwirel.Server.service(Server.java:732)
at
com.skwirel.services.http.HTTPClientHandler.handle (HTTPClientHandler.java:49
)
- locked <0x100a01b8> (a com.skwirel.services.http.HTTPClientHandler)
at com.skwirel.services.ClientHandler.run(ClientHandl er.java:33)
at com.skwirel.Server$3.run(Server.java:298)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(PooledExecutor.ja
va:727)
at java.lang.Thread.run(Thread.java:534)
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.2_01\bin\java.exe
0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08136000 C:\j2sdk1.4.2_01\jre\bin\client\jvm.dll
0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x681A0000 - 0x681A7000 C:\WINNT\system32\serwvdrv.dll
0x66740000 - 0x66747000 C:\WINNT\system32\umdmxfrm.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_01\jre\bin\hpi.dll
0x007C0000 - 0x007CE000 C:\j2sdk1.4.2_01\jre\bin\verify.dll
0x007D0000 - 0x007E8000 C:\j2sdk1.4.2_01\jre\bin\java.dll
0x007F0000 - 0x007FD000 C:\j2sdk1.4.2_01\jre\bin\zip.dll
0x18470000 - 0x1847F000 C:\j2sdk1.4.2_01\jre\bin\net.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34F000 C:\WINNT\system32\Secur32.dll
0x77BF0000 - 0x77C01000 C:\WINNT\system32\NTDSAPI.dll
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.dll
0x77A50000 - 0x77B3F000 C:\WINNT\system32\OLE32.DLL
0x77120000 - 0x771AB000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x18970000 - 0x18976000 C:\PHP\phpsrvlt.dll
0x18980000 - 0x18AD2000 c:\PHP\php4ts.dll
0x18AE0000 - 0x18B12000 C:\WINNT\system32\ODBC32.dll
0x782F0000 - 0x78535000 C:\WINNT\system32\SHELL32.dll
0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
0x1F850000 - 0x1F866000 C:\WINNT\system32\odbcint.dll
0x18C60000 - 0x18C66000 c:\PHP\extensions\php_java.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 177K [0x10010000, 0x100b0000,
0x104f0000)
eden space 512K, 22% used [0x10010000, 0x1002d588, 0x10090000)
from space 64K, 94% used [0x100a0000, 0x100af260, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 1045K [0x104f0000, 0x10650000,
0x14010000)
the space 1408K, 74% used [0x104f0000, 0x105f5540, 0x105f5600, 0x10650000)
compacting perm gen total 4096K, used 3713K [0x14010000, 0x14410000,
0x18010000)
the space 4096K, 90% used [0x14010000, 0x143b0540, 0x143b0600, 0x14410000)
Local Time = Wed Oct 06 16:56:54 2004
Elapsed Time = 24
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid2100.log.
# Please refer to the file for further information.
#
Finished executing
Jul 17 '05 #1
1 3460
I've gut the same problem.

On windows and on Linux.

I compiled php4.3.10 with --with-java --with-servlet --with-mysql
--with-bc-math and used the .jar and .so(.dll) within JBOSS(4.0.0)/
TOMCAT(5.0)

Have you(or somebody else) solved this?

Thanks
Sebastian

Chris Morgan wrote:
I'm trying to get php to run on my webserver as a Java Servlet, it works the
first time but fails the second time and crashes the JVM with the following
error:

I have tried the latest versions of PHP 4. (release and dev)

I would appreciate any help with this issue.

-- Chris

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x18A3723A
Function=zend_hash_destroy+0x1A
Library=c:\PHP\php4ts.dll
Current Java thread:
at net.php.servlet.send(Native Method)
at net.php.servlet.service(Servlet.java:195)
at net.php.servlet.service(Servlet.java:219)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at com.skwirel.util.http.HTTPFilterChain.doFilter(HTT PFilterChain.java:49)
at com.skwirel.filters.ResponseTimer.doFilter(Respons eTimer.java:36)
at com.skwirel.util.http.HTTPFilter.doFilter(HTTPFilt er.java:68)
at com.skwirel.util.http.HTTPFilterChain.doFilter(HTT PFilterChain.java:46)
at com.skwirel.Server.service(Server.java:732)
at
com.skwirel.services.http.HTTPClientHandler.handle (HTTPClientHandler.java:49
)
- locked <0x100a01b8> (a com.skwirel.services.http.HTTPClientHandler)
at com.skwirel.services.ClientHandler.run(ClientHandl er.java:33)
at com.skwirel.Server$3.run(Server.java:298)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(PooledExecutor.ja
va:727)
at java.lang.Thread.run(Thread.java:534)
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.2_01\bin\java.exe
0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08136000 C:\j2sdk1.4.2_01\jre\bin\client\jvm.dll
0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x681A0000 - 0x681A7000 C:\WINNT\system32\serwvdrv.dll
0x66740000 - 0x66747000 C:\WINNT\system32\umdmxfrm.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_01\jre\bin\hpi.dll
0x007C0000 - 0x007CE000 C:\j2sdk1.4.2_01\jre\bin\verify.dll
0x007D0000 - 0x007E8000 C:\j2sdk1.4.2_01\jre\bin\java.dll
0x007F0000 - 0x007FD000 C:\j2sdk1.4.2_01\jre\bin\zip.dll
0x18470000 - 0x1847F000 C:\j2sdk1.4.2_01\jre\bin\net.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34F000 C:\WINNT\system32\Secur32.dll
0x77BF0000 - 0x77C01000 C:\WINNT\system32\NTDSAPI.dll
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.dll
0x77A50000 - 0x77B3F000 C:\WINNT\system32\OLE32.DLL
0x77120000 - 0x771AB000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x18970000 - 0x18976000 C:\PHP\phpsrvlt.dll
0x18980000 - 0x18AD2000 c:\PHP\php4ts.dll
0x18AE0000 - 0x18B12000 C:\WINNT\system32\ODBC32.dll
0x782F0000 - 0x78535000 C:\WINNT\system32\SHELL32.dll
0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
0x1F850000 - 0x1F866000 C:\WINNT\system32\odbcint.dll
0x18C60000 - 0x18C66000 c:\PHP\extensions\php_java.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 177K [0x10010000, 0x100b0000,
0x104f0000)
eden space 512K, 22% used [0x10010000, 0x1002d588, 0x10090000)
from space 64K, 94% used [0x100a0000, 0x100af260, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 1045K [0x104f0000, 0x10650000,
0x14010000)
the space 1408K, 74% used [0x104f0000, 0x105f5540, 0x105f5600, 0x10650000)
compacting perm gen total 4096K, used 3713K [0x14010000, 0x14410000,
0x18010000)
the space 4096K, 90% used [0x14010000, 0x143b0540, 0x143b0600, 0x14410000)
Local Time = Wed Oct 06 16:56:54 2004
Elapsed Time = 24
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid2100.log.
# Please refer to the file for further information.
#
Finished executing

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3932
by: Patrick | last post by:
I'm using Jakarta-POI to create a huge Excel spreadsheet. I get the error below when the spreadsheet grows to a large size. It seems to have something to do with the number of "cell" objects that I...
1
6900
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
3
22092
by: dinesh prasad | last post by:
I'm trying to use a servlet to process a form, then send that data to an SQL server stored procedure. I'm using the WebLogic 8 App. server. I am able to retrieve database information, so I know my...
0
2408
by: bruce mcdonald | last post by:
I am creating an extension in java for my style sheet. I want to return a series of nodes containing dynamic data from an extension function. At the top of the style sheet I have ...
0
2347
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
6
6910
oll3i
by: oll3i | last post by:
when i run my jsp file i get an error SEVERE: Servlet.service() for servlet jsp threw exception java.util.MissingResourceException: Can't find bundle for base name MessagesBundle, locale pl_PL...
2
3308
by: vijaykumardahiya | last post by:
Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a...
7
9573
by: swethak | last post by:
Hi, i have a command to convert the video file into image ffmpeg -i sample.wmv -f image2 -t 0.001 -ss 3 ss.jpg i run that one in command prompt it converted the video file into...
2
2641
by: ramprakashjava | last post by:
This is index.jsp page code: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> <%@ taglib...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7383
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.