Results 1 to 5 of 5

Thread: Tomcat crashed when used with java

  1. #1
    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?

  2. #2
    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

  3. #3
    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

  4. #4
    Join Date
    Mar 2008
    Posts
    227

    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.
    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.

  5. #5
    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?

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,384,846.99218 seconds with 16 queries