Java Servlet

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

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
Current Java thread:
at net.php.servlet.send(Native Method)
at net.php.servlet.service(
at net.php.servlet.service(
at javax.servlet.http.HttpServlet.service(
at com.skwirel.util.http.HTTPFilterChain.doFilter(
at com.skwirel.filters.ResponseTimer.doFilter(
at com.skwirel.util.http.HTTPFilter.doFilter(
at com.skwirel.util.http.HTTPFilterChain.doFilter(
at com.skwirel.Server.service(
- locked <0x100a01b8> (a
at com.skwirel.Server$
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:
def new generation total 576K, used 177K [0x10010000, 0x100b0000,
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,
the space 1408K, 74% used [0x104f0000, 0x105f5540, 0x105f5600, 0x10650000)
compacting perm gen total 4096K, used 3713K [0x14010000, 0x14410000,
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

Re: Java Servlet

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)/

Have you(or somebody else) solved this?


Chris Morgan wrote:
Quoted text here. Click to load it

Site Timeline