Posted on 2005-05-13
Last Modified: 2013-11-24

I am trying to modify a web application written in Java servlets, JSP, using JRun4 as the web application server.  The application connects to an Access database.   I have the program codes but I did not write the program, so I'm having a harder time maintaining it.

The only portion of the application that I modified are the JSP pages, not the java programs.

While trying to submit some data using the web application, I encountered  an EXCEPTION_ACCESS_VIOLATION.  I just need to know why this is happenning, and how I can resolve this problem


Here's the error log:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F4200B

Current Java thread:
      at sun.jdbc.odbc.JdbcOdbc.error(Native Method)
      at sun.jdbc.odbc.JdbcOdbc.createSQLException(
      at sun.jdbc.odbc.JdbcOdbc.standardError(
      at sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(
      at sun.jdbc.odbc.JdbcOdbcDriver.disconnect(
      at sun.jdbc.odbc.JdbcOdbcConnection.close(
      at com.isi.tracking.dal.AppDatabase.close(
      at com.isi.tracking.view.JobOrderEntryPageManager.processUpdate(
      at com.isi.tracking.JobTrackingServlet.processRequest(
      at com.isi.tracking.JobTrackingServlet.doPost(
      at javax.servlet.http.HttpServlet.service(
      at javax.servlet.http.HttpServlet.service(
      at jrun.servlet.ServletInvoker.invoke(
      at jrun.servlet.JRunInvokerChain.invokeNext(
      at jrun.servlet.JRunRequestDispatcher.invoke(
      at jrun.servlet.ServletEngineService.dispatch(
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(
      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(
      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(

Dynamic libraries:
0x00400000 - 0x0040F000       C:\JRun4\bin\jrun.exe
0x77F40000 - 0x77FFA000       C:\WINDOWS\system32\ntdll.dll
0x77E40000 - 0x77F34000       C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E30000       C:\WINDOWS\system32\ADVAPI32.dll
0x77C50000 - 0x77CF5000       C:\WINDOWS\system32\RPCRT4.dll
0x77BA0000 - 0x77BF4000       C:\WINDOWS\system32\MSVCRT.dll
0x71C20000 - 0x71C31000       C:\WINDOWS\system32\tsappcmp.dll
0x08000000 - 0x08138000       C:\j2sdk1.4.2_03\jre\bin\client\jvm.dll
0x77D00000 - 0x77D8F000       C:\WINDOWS\system32\USER32.dll
0x77C00000 - 0x77C44000       C:\WINDOWS\system32\GDI32.dll
0x76AA0000 - 0x76ACC000       C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000       C:\j2sdk1.4.2_03\jre\bin\hpi.dll
0x00370000 - 0x0037E000       C:\j2sdk1.4.2_03\jre\bin\verify.dll
0x00380000 - 0x00399000       C:\j2sdk1.4.2_03\jre\bin\java.dll
0x003A0000 - 0x003AD000       C:\j2sdk1.4.2_03\jre\bin\zip.dll
0x009A0000 - 0x009AF000       C:\j2sdk1.4.2_03\jre\bin\net.dll
0x71C00000 - 0x71C18000       C:\WINDOWS\system32\WS2_32.dll
0x71BF0000 - 0x71BF8000       C:\WINDOWS\system32\WS2HELP.dll
0x71B20000 - 0x71B63000       C:\WINDOWS\System32\mswsock.dll
0x76ED0000 - 0x76EF7000       C:\WINDOWS\system32\DNSAPI.dll
0x76F70000 - 0x76F77000       C:\WINDOWS\System32\winrnr.dll
0x76F10000 - 0x76F3F000       C:\WINDOWS\system32\WLDAP32.dll
0x76F80000 - 0x76F85000       C:\WINDOWS\system32\rasadhlp.dll
0x71AE0000 - 0x71AE8000       C:\WINDOWS\System32\wshtcpip.dll
0x04300000 - 0x04305000       C:\j2sdk1.4.2_03\jre\bin\rmi.dll
0x05010000 - 0x05016000       C:\j2sdk1.4.2_03\jre\bin\ioser12.dll
0x05320000 - 0x0532C000       C:\j2sdk1.4.2_03\jre\bin\JdbcOdbc.dll
0x05330000 - 0x0536A000       C:\WINDOWS\system32\ODBC32.dll
0x70BC0000 - 0x70C50000       C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.0.0_x-ww_8A69BA05\COMCTL32.dll
0x7CD80000 - 0x7D573000       C:\WINDOWS\system32\SHELL32.dll
0x77290000 - 0x772D9000       C:\WINDOWS\system32\SHLWAPI.dll
0x762B0000 - 0x762F7000       C:\WINDOWS\system32\comdlg32.dll
0x70AD0000 - 0x70BB6000       C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_8417450B\comctl32.dll
0x053F0000 - 0x05407000       C:\WINDOWS\system32\odbcint.dll
0x77160000 - 0x77286000       C:\WINDOWS\system32\ole32.dll
0x770E0000 - 0x7715D000       C:\WINDOWS\system32\OLEAUT32.dll
0x76F50000 - 0x76F63000       C:\WINDOWS\system32\Secur32.dll
0x76F90000 - 0x7700E000       C:\WINDOWS\system32\CLBCatQ.DLL
0x77010000 - 0x770D6000       C:\WINDOWS\system32\COMRes.dll
0x77B90000 - 0x77B98000       C:\WINDOWS\system32\VERSION.dll
0x0F9A0000 - 0x0F9AB000       C:\WINDOWS\system32\VBAJET32.DLL
0x76C10000 - 0x76C38000       C:\WINDOWS\system32\imagehlp.dll
0x6D580000 - 0x6D621000       C:\WINDOWS\system32\dbghelp.dll
0x05410000 - 0x05454000       C:\WINDOWS\system32\odbcjt32.dll
0x05460000 - 0x055D0000       C:\WINDOWS\system32\msjet40.dll
0x06020000 - 0x060B5000       C:\WINDOWS\system32\mswstr10.dll
0x055F0000 - 0x055FE000       C:\WINDOWS\system32\odbcji32.dll
0x05600000 - 0x0560D000       C:\WINDOWS\system32\msjter40.dll
0x060C0000 - 0x060E6000       C:\WINDOWS\system32\MSJINT40.DLL
0x073C0000 - 0x073FA000       C:\WINDOWS\system32\msjtes40.dll
0x0F9C0000 - 0x0FA22000       C:\WINDOWS\system32\expsrv.dll
0x76B70000 - 0x76B7B000       C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
 def new generation   total 2368K, used 2152K [0x10010000, 0x102a0000, 0x109e0000)
  eden space 2112K,  94% used [0x10010000, 0x10203e70, 0x10220000)
  from space 256K,  59% used [0x10220000, 0x10246410, 0x10260000)
  to   space 256K,   0% used [0x10260000, 0x10260000, 0x102a0000)
 tenured generation   total 30272K, used 4883K [0x109e0000, 0x12770000, 0x18010000)
   the space 30272K,  16% used [0x109e0000, 0x10ea4f68, 0x10ea5000, 0x12770000)
 compacting perm gen  total 11776K, used 11671K [0x18010000, 0x18b90000, 0x1c010000)
   the space 11776K,  99% used [0x18010000, 0x18b75f68, 0x18b76000, 0x18b90000)

Local Time = Fri May 13 18:06:39 2005
Elapsed Time = 8793
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
Question by:jmenriquez
    LVL 92

    Accepted Solution

    Appears to be caused by a bug in the odbc driver of your system.
    Try updating your odbc driver.

    Expert Comment

    Did you ever get an answer on this? We're running into the same bug with some software from Toshiba. Would appreciate any help!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now