Home arrow static arrow Java Programming [Archive] - need help. Tomcat crashes randomly with an exception in native code
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - need help. Tomcat crashes randomly with an exception in native code
This topic has 1 reply on 1 page.

Posts:1
Registered: 8/6/04
need help. Tomcat crashes randomly with an exception in native code  
Aug 6, 2004 12:52 AM



 
I'm using Tomcat 5.0.19 on Microsoft Windows 2000 Server. I have installed jdk1.4.2. Time to time, Tomcat crashes and a hr_ess_pid****(random number).log error message is placed under the \bin catalogue of Tomcat.

Thanks in advance for any advice for solving my problem or helping me understand what is wrong and where.

This is the error-message that we get:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x188E6E40
Function=[Unknown.]
Library=C:\WINNT\system32\appmger.dll

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.

Current Java thread:
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:777)
at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:807)
at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:158)
at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:742)
at org.apache.coyote.Request.doRead(Request.java:469)
at org.apache.coyote.tomcat5.InputBuffer.realReadBytes(InputBuffer.java:317)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379)
at org.apache.coyote.tomcat5.InputBuffer.readByte(InputBuffer.java:326)
at org.apache.coyote.tomcat5.CoyoteInputStream.read(CoyoteInputStream.java:123)
at com.usys.SM.UTIL.ByteBuffer.parseParemeters(ByteBuffer.java:40)
at com.usys.SM.DB.SaveRightMultiServlet.doPost(SaveRightMultiServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)

Dynamic libraries:
0x00400000 - 0x00406000 D:\JDK\bin\java.exe
0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x796D0000 - 0x79732000 C:\WINNT\system32\ADVAPI32.dll
0x77E60000 - 0x77F37000 C:\WINNT\system32\KERNEL32.DLL
0x786F0000 - 0x78761000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08138000 D:\JDK\jre\bin\client\jvm.dll
0x77DF0000 - 0x77E55000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x77530000 - 0x77560000 C:\WINNT\system32\WINMM.dll
0x75E00000 - 0x75E1A000 C:\WINNT\system32\IMM32.DLL
0x06000000 - 0x0603A000 C:\Program Files\rising\rav\ApiHook.dll
0x05000000 - 0x05030000 C:\Program Files\rising\rav\MemMon.dll
0x6C330000 - 0x6C338000 C:\WINNT\system32\LPK.DLL
0x65D20000 - 0x65D74000 C:\WINNT\system32\USP10.dll
0x10000000 - 0x10007000 D:\JDK\jre\bin\hpi.dll
0x00A80000 - 0x00A8E000 D:\JDK\jre\bin\verify.dll
0x00A90000 - 0x00AA9000 D:\JDK\jre\bin\java.dll
0x00AB0000 - 0x00ABD000 D:\JDK\jre\bin\zip.dll
0x18890000 - 0x1889F000 D:\JDK\jre\bin\net.dll
0x74FB0000 - 0x74FC4000 C:\WINNT\system32\WS2_32.dll
0x74FA0000 - 0x74FA8000 C:\WINNT\system32\WS2HELP.DLL
0x188E0000 - 0x18930000 C:\WINNT\system32\appmger.dll
0x76AF0000 - 0x76B2E000 C:\WINNT\system32\comdlg32.dll
0x63180000 - 0x631C8000 C:\WINNT\system32\SHLWAPI.DLL
0x77B30000 - 0x77BB9000 C:\WINNT\system32\COMCTL32.DLL
0x78F90000 - 0x791D8000 C:\WINNT\system32\SHELL32.DLL
0x777C0000 - 0x777DE000 C:\WINNT\system32\WINSPOOL.DRV
0x79B20000 - 0x79B30000 C:\WINNT\system32\MPR.DLL
0x74F50000 - 0x74F6E000 C:\WINNT\system32\msafd.dll
0x74F90000 - 0x74F97000 C:\WINNT\System32\wshtcpip.dll
0x77800000 - 0x7780C000 C:\WINNT\System32\rnr20.dll
0x77960000 - 0x77984000 C:\WINNT\system32\DNSAPI.DLL
0x74FD0000 - 0x74FDA000 C:\WINNT\system32\WSOCK32.DLL
0x77300000 - 0x77313000 C:\WINNT\system32\iphlpapi.dll
0x774E0000 - 0x774E5000 C:\WINNT\system32\ICMP.DLL
0x772E0000 - 0x772F7000 C:\WINNT\system32\MPRAPI.DLL
0x750E0000 - 0x750EF000 C:\WINNT\system32\SAMLIB.DLL
0x75100000 - 0x7514F000 C:\WINNT\system32\NETAPI32.DLL
0x797B0000 - 0x797BF000 C:\WINNT\system32\SECUR32.DLL
0x75150000 - 0x75156000 C:\WINNT\system32\NETRAP.DLL
0x77930000 - 0x7795A000 C:\WINNT\system32\WLDAP32.DLL
0x77A30000 - 0x77B1F000 C:\WINNT\system32\OLE32.DLL
0x77990000 - 0x77A2B000 C:\WINNT\system32\OLEAUT32.DLL
0x77370000 - 0x7739F000 C:\WINNT\system32\ACTIVEDS.DLL
0x77340000 - 0x77363000 C:\WINNT\system32\ADSLDPC.DLL
0x777F0000 - 0x777FE000 C:\WINNT\system32\RTUTILS.DLL
0x6D990000 - 0x6DA3C000 C:\WINNT\system32\SETUPAPI.DLL
0x794D0000 - 0x79531000 C:\WINNT\system32\USERENV.DLL
0x774A0000 - 0x774D3000 C:\WINNT\system32\RASAPI32.DLL
0x77480000 - 0x77491000 C:\WINNT\system32\RASMAN.DLL
0x774F0000 - 0x77512000 C:\WINNT\system32\TAPI32.DLL
0x77320000 - 0x77339000 C:\WINNT\system32\DHCPCSVC.DLL
0x777A0000 - 0x777A8000 C:\WINNT\System32\winrnr.dll
0x777B0000 - 0x777B5000 C:\WINNT\system32\rasadhlp.dll
0x77900000 - 0x77923000 C:\WINNT\system32\imagehlp.dll
0x72960000 - 0x7298D000 C:\WINNT\system32\DBGHELP.dll
0x687E0000 - 0x687EB000 C:\WINNT\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 1600K, used 1053K [0x10010000, 0x101c0000, 0x104f0000)
eden space 1472K, 63% used [0x10010000, 0x100f9688, 0x10180000)
from space 128K, 93% used [0x10180000, 0x1019e008, 0x101a0000)
to space 128K, 0% used [0x101a0000, 0x101a0000, 0x101c0000)
tenured generation total 20024K, used 12068K [0x104f0000, 0x1187e000, 0x14010000)
the space 20024K, 60% used [0x104f0000, 0x110b9290, 0x110b9400, 0x1187e000)
compacting perm gen total 15616K, used 15387K [0x14010000, 0x14f50000, 0x18010000)
the space 15616K, 98% used [0x14010000, 0x14f16e08, 0x14f17000, 0x14f50000)

Local Time = Thu May 20 23:44:48 2004
Elapsed Time = 51251
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#

Best Regards,
Leo Zhi

 

Posts:3,055
Registered: 18/06/98
Re: need help. Tomcat crashes randomly with an exception in native code  
Aug 6, 2004 5:37 AM (reply 1 of 1)



 
appmger.dll?
There is no "appmger.dll" in Windows (2000 or 2003). There's a file called "appmgr.dll" but not a file called "appmger.dll".
Maybe it's a file left by a virus or trojan. Use an antivirus tool and try again.
 
This topic has 1 reply on 1 page.