Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-03-2009
Member
 
Join Date: Feb 2009
Posts: 72
Tomcat crashed when used with java

Hello.

I developed a web application on apache tomcat. I noticed that often the application server crashes, displaying the tomcat log file:

Code:
 # 
  # An unexpected error has been detected by Java Runtime Environment: 
  # 
  # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc = 0x7c911010, pid = 1560, tid = 2032 
  # 
  # Java VM: Java HotSpot (TM) Client VM (1.6.0_03-b05 mixed mode, sharing) 
  # Problematic frame: 
  # C [ntdll.dll +0 x1010] 
  # 
  # If you would like to submit a bug report, please visit: 
  # Http://java.sun.com/webapps/bugreport/crash.jsp 
 Current thread (0x02d36800): JavaThread "http-8080-Processor17" daemon [_thread_in_native, id = 2032] 

  siginfo: ExceptionCode = 0xc0000005, reading address 0x00000018 

  Registers: 
  EAX = 0x00000004, EBX = 0x035bf2b0, ECX = 0x7ff9d000, EDX = 0x00000004 
  0x035bf24c = ESP, EBP = 0x035bf264, ESI = 0x00000000, EDI = 0x03c112a0 
  EIP = 0x7c911010, EFLAGS = 0x00010297 

  Top of Stack: (sp = 0x035bf24c) 
  0x035bf24c: 74615a16 00000004 03c112c4 745e139f 
  0x035bf25c: 03c112c4 00000000 035bf27c 745ea244 
  0x035bf26c: 03c112c4 74610000 02d368ec 00000001 
  0x035bf27c: 035bf290 745ea653 02ccac98 02d368ec 
  0x035bf28c: 26ebaaa8 035bf2a8 6d3f11cb 03c112a0 
  0x035bf29c: 035bf2b0 02d36800 26ebaaa8 035bf2f4 
  0x035bf2ac: 006ba430 00000000 035bf310 03c112a0 
  0x035bf2bc: 00000000 035bf304 02d36800 02d36800  

  Instructions: (pc = 0x7c911010) 
  0x7c911000: 90 90 90 90 90 64 8b 0d 18 00 00 00 8b 54 24 04 
  0x7c911010: 83 7th 14 00 75 4f f0 ff 42 04 75 19 8b 41 24 89  


  Stack: [0x03580000, 0x035c0000), sp = 0x035bf24c, free space = 252k 
  Native frames: (J = compiled Java code, j = interpreted, Vv = VM code, C = native code) 
  C [ntdll.dll +0 x1010] 
  C [ODBC32.dll +0 xa244] 
  C [ODBC32.dll +0 xa653] 
  C [JdbcOdbc.dll +0 x11cb] 
  j sun.jdbc.odbc.JdbcOdbc.allocConnect (J [B) J +0 
  j sun.jdbc.odbc.JdbcOdbc.SQLAllocConnect (J) J +30 
  j sun.jdbc.odbc.JdbcOdbcDriver.allocConnection (J) J +6 
  j sun.jdbc.odbc.JdbcOdbcConnection.initialize (Ljava / lang / String; Ljava / util / Properties; I) V +37 
  j sun.jdbc.odbc.JdbcOdbcDriver.connect (Ljava / lang / String; Ljava / util / Properties;) Ljava / sql / Connection; +129 
  j java.sql.DriverManager.getConnection (Ljava / lang / String; Ljava / util / Properties; Ljava / lang / classloader;) Ljava / sql / Connection; +210 
  j java.sql.DriverManager.getConnection (Ljava / lang / String; Ljava / lang / String; Ljava / lang / String;) Ljava / sql / Connection; +41 
  J org.apache.jsp.utente.hp_005futente.ambulatorio_jsp._jspService (Ljavax / servlet / http / HttpServletRequest; Ljavax / servlet / http / HttpServletResponse;) V 
  j org.apache.jasper.runtime.HttpJspBase.service (Ljavax / servlet / http / HttpServletRequest; Ljavax / servlet / http / HttpServletResponse;) +3 V 
  j javax.servlet.http.HttpServlet.service (Ljavax / servlet / ServletRequest; Ljavax / servlet / ServletResponse;) V +30 
  j org.apache.jasper.servlet.JspServletWrapper.service (Ljavax / servlet / http / HttpServletRequest; Ljavax / servlet / http / HttpServletResponse; Z) V +203 
  j org.apache.jasper.servlet.JspServlet.serviceJspFile (Ljavax / servlet / http / HttpServletRequest; Ljavax / servlet / http / HttpServletResponse; Ljava / lang / String; Ljava / lang / Throwable; Z) V +186 
  j org.apache.jasper.servlet.JspServlet.service (Ljavax / servlet / http / HttpServletRequest; Ljavax / servlet / http / HttpServletResponse;) V +435 
  j javax.servlet.http.HttpServlet.service (Ljavax / servlet / ServletRequest; Ljavax / servlet / ServletResponse;) V +30 
  j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (Ljavax / servlet / ServletRequest; Ljavax / servlet / ServletResponse;) V +362 
  j org.apache.catalina.core.ApplicationFilterChain.doFilter (Ljavax / servlet / ServletRequest; Ljavax / servlet / ServletResponse;) V +101 

 --------------- SYSTEM --------------- 

  OS: Windows XP Build 2600 Service Pack 2 

  CPU: total 1 (1 cores per cpu, 1 threads per core) family 15 model 3 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, SSE3 

  Memory: 4k page, physical 981744k (591984k free), swap 2372988k (2022504k free) 

  vm_info: Java HotSpot (TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC + +: 1310
It appears that there is an error in the memory of the JVM that causes the crash of Tomcat. Can you tell me a solution to solve the problem?
Reply With Quote
  #2  
Old 06-03-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: Tomcat crashed when used with java

Code:
 # 
  # An unexpected error has been detected by Java Runtime Environment: 
  # 
  # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc = 0x7c911010, pid = 1560, tid = 2032 
  # 
  # Java VM: Java HotSpot (TM) Client VM (1.6.0_03-b05 mixed mode, sharing) 
  # Problematic frame: 
  # C [ntdll.dll + 0x1010] 
  # 
  # If you would like to submit a bug report, please visit: 
  # Http://java.sun.com/webapps/bugreport/crash.jsp
How do you see the error is caused by the attempt to access an area of memory dll in bold.

Try to see if your problem has to do with this bug:
http://bugs.sun.com/bugdatabase/view...bug_id=6358748
Reply With Quote
  #3  
Old 06-03-2009
Member
 
Join Date: Feb 2009
Posts: 72
Re: Tomcat crashed when used with java

I checked the link provided should it be the same error, but where is the solution? not see at that link which I have reported.

thanks for the help
Reply With Quote
  #4  
Old 06-03-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: Tomcat crashed when used with java

Quote:
I checked the link provided should it be the same error, but where is the solution? not see at that link which I have reported.
I have no idea.
I have posted the link because it could be for you a starting point for further research for a possible workaround.
Reply With Quote
  #5  
Old 06-03-2009
Member
 
Join Date: Feb 2009
Posts: 72
Re: Tomcat crashed when used with java

I tried to change the configuration parameters for tomcat. Specifically, I set "Maximum memory pool to 512MB and the" Thread stack size to 64KB. According to you, this may solve my problem?
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Tomcat crashed when used with java"
Thread Thread Starter Forum Replies Last Post
Is tomcat application available for Nokia X7? Sheamas Portable Devices 4 10-06-2011 01:02 PM
While visiting websites with java my Internet Explorer 9 RC crashed Visitator Technology & Internet 4 12-02-2011 10:41 PM
Tomcat version 6.x via EasyApache Galimberti Software Development 6 18-06-2010 03:58 AM
Tomcat Installation on FreeBSD Isiah Software Development 6 17-06-2010 03:38 AM
Can not access Tomcat applications NetWorm Software Development 4 08-05-2009 12:37 PM


All times are GMT +5.5. The time now is 03:04 PM.