tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendell Holmes <whol...@edulog.com>
Subject Tomcat crash from catalina.bat, but not from starting as NT Servi ce
Date Mon, 17 Nov 2003 19:56:24 GMT
I have an app that causes a Tomcat crash when I start Tomcat5 from the
command line with 'catalina run'.  I get a native code exception that
follows this explanation.  When I start Tomcat 5 as an NT service (chosen
during install), the app runs okay.  What's causing the difference.  I've
tried following all the suggestions for increasing both stack and heap sizes
in catalina.bat, the registry, jvm.cfg and NT system env variables, all to
no avail. 

If you can offer any suggestions, please use baby steps, as I've been
confused whether to use -mx128m, -Xmx128m, -Dsomethingelse. 

Thanks,
Wendell Holmes

Here's the exception trace:

INFO: Server startup in 3125 ms
WebQueryBean:  executing the WebQueryBean constructor...
An unrecoverable stack overflow has occurred.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at
PC=0x1958C857
Function=[Unknown.]
Library=C:\WINNT\system32\edulogWeb.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 com.edulog.dbms.edulognt.edulogDBMS.GetAttendSchools(Native
Method)
	- locked <0x10958b38> (a com.edulog.dbms.edulognt.edulogDBMS)
	at
com.edulog.webquery.WebQueryBean.setAttendSchools(WebQueryBean.java:679)
	at
com.edulog.webquery.WebQueryBean.verifyAddress(WebQueryBean.java:1517)
	at
com.edulog.webquery.WebQueryBean.verifyAddress(WebQueryBean.java:1475)
	at
com.edulog.webquery.WebQueryBean.adjustBeanState(WebQueryBean.java:316)
	at
org.apache.jsp.webquery.WebQuery_jsp._jspService(WebQuery_jsp.java:87)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:245)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:199)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
	at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
	at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
	at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
	at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:666)
	at java.lang.Thread.run(Unknown Source)

Dynamic libraries:
0x00400000 - 0x00406000 	C:\Program
Files\Java\j2re1.4.2_02\bin\java.exe
0x77F80000 - 0x77FFA000 	C:\WINNT\system32\ntdll.dll
0x77DB0000 - 0x77E0B000 	C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C623000 	C:\WINNT\system32\KERNEL32.dll
0x77D30000 - 0x77D9E000 	C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78046000 	C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08138000 	C:\Program
Files\Java\j2re1.4.2_02\bin\client\jvm.dll
0x77E10000 - 0x77E6F000 	C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F79000 	C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775A0000 	C:\WINNT\system32\WINMM.dll
0x3FC20000 - 0x3FC26000 	C:\WINNT\system32\mfaphook.dll
0x10000000 - 0x10007000 	C:\Program
Files\Java\j2re1.4.2_02\bin\hpi.dll
0x004B0000 - 0x004BE000 	C:\Program
Files\Java\j2re1.4.2_02\bin\verify.dll
0x004C0000 - 0x004D9000 	C:\Program
Files\Java\j2re1.4.2_02\bin\java.dll
0x004E0000 - 0x004ED000 	C:\Program
Files\Java\j2re1.4.2_02\bin\zip.dll
0x18850000 - 0x1885F000 	C:\Program
Files\Java\j2re1.4.2_02\bin\net.dll
0x75030000 - 0x75043000 	C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 	C:\WINNT\system32\WS2HELP.DLL
0x74FD0000 - 0x74FED000 	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 - 0x75160000 	C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 	C:\WINNT\system32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000 	C:\WINNT\system32\Secur32.dll
0x751C0000 - 0x751C6000 	C:\WINNT\system32\NETRAP.dll
0x77950000 - 0x77978000 	C:\WINNT\system32\WLDAP32.dll
0x77A50000 - 0x77B3C000 	C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000 	C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DE000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A2000 	C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 	C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790D000 	C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 	C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77512000 	C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 	C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 	C:\WINNT\system32\TAPI32.DLL
0x77B50000 - 0x77BD9000 	C:\WINNT\system32\COMCTL32.DLL
0x63180000 - 0x631C8000 	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
0x19510000 - 0x1981D000 	C:\WINNT\system32\edulogWeb.dll
0x19820000 - 0x19853000 	C:\WINNT\system32\Ntsys60.dll
0x6C370000 - 0x6C462000 	C:\WINNT\system32\MFC42.DLL
0x780A0000 - 0x780B2000 	C:\WINNT\system32\MSVCIRT.dll
0x19860000 - 0x19882000 	C:\WINNT\system32\dbgeo.dll
0x19890000 - 0x198DA000 	C:\WINNT\system32\RDM45W32.dll
0x76620000 - 0x76630000 	C:\WINNT\system32\MPR.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 447K [0x10010000, 0x100b0000,
0x104f0000)
  eden space 512K,  74% used [0x10010000, 0x1006fe38, 0x10090000)
  from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
  to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
 tenured generation   total 6760K, used 4644K [0x104f0000, 0x10b8a000,
0x14010000)
   the space 6760K,  68% used [0x104f0000, 0x10979378, 0x10979400,
0x10b8a000)
 compacting perm gen  total 8192K, used 8017K [0x14010000, 0x14810000,
0x18010000)
   the space 8192K,  97% used [0x14010000, 0x147e4688, 0x147e4800,
0x14810000)

Local Time = Mon Nov 17 12:08:55 2003
Elapsed Time = 16
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid2536.log.
# Please refer to the file for further information.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message