aspose file tools*
The moose likes JDBC and the fly likes EXCEPTION_ACCESS_VIOLATION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "EXCEPTION_ACCESS_VIOLATION " Watch "EXCEPTION_ACCESS_VIOLATION " New topic
Author

EXCEPTION_ACCESS_VIOLATION

scottie zman
Ranch Hand

Joined: Aug 08, 2001
Posts: 40
I'm running Tomcat on Apache on a Windows 2000 box, java build 1.3.1-B24, hitting MSSQL 2000, SP3.
I'm working on a JSP app that uses a database with sun.jdbc.odbc.JdbcOdbcDriver.
The app seems to work fine for a while, like 10 minutes... then Tomcat crashes. Outputting errors to command line produces the following upon crash:
=========================================
Dynamic libraries:
0x00400000 - 0x00405000 c:\jdk1.3.1\bin\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DAC000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4EF000 c:\jdk1.3.1\jre\bin\hotspot\jvm.dll
0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
0x6D220000 - 0x6D227000 c:\jdk1.3.1\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 c:\jdk1.3.1\jre\bin\verify.dll
0x6D250000 - 0x6D266000 c:\jdk1.3.1\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 c:\jdk1.3.1\jre\bin\zip.dll
0x6D340000 - 0x6D348000 C:\jdk1.3.1\jre\bin\net.dll
0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
0x74FD0000 - 0x74FEF000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x785C0000 - 0x785CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.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 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
0x77A50000 - 0x77B3A000 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
0x77C10000 - 0x77C6D000 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
0x716F0000 - 0x7177A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C1C000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
0x775A0000 - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x6D290000 - 0x6D29A000 C:\jdk1.3.1\jre\bin\JdbcOdbc.dll
0x1F7D0000 - 0x1F804000 C:\WINNT\System32\ODBC32.dll
0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
0x782F0000 - 0x78532000 C:\WINNT\system32\SHELL32.DLL
0x1F8C0000 - 0x1F8D6000 C:\WINNT\System32\odbcint.dll
0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
0x1F820000 - 0x1F83A000 C:\WINNT\System32\odbccp32.dll
0x75500000 - 0x75504000 C:\WINNT\System32\security.dll
0x782D0000 - 0x782EE000 C:\WINNT\system32\msv1_0.dll
0x41230000 - 0x412AF000 C:\WINNT\System32\SQLSRV32.dll
0x41100000 - 0x4110C000 C:\WINNT\System32\SQLWOA.dll
0x769A0000 - 0x769A7000 C:\WINNT\System32\NDDEAPI.DLL
0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
0x73330000 - 0x73337000 C:\WINNT\System32\DBMSSOCN.DLL
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL
Local Time = Fri Sep 21 13:27:46 2001
Elapsed Time = 50
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
#
# An error report file has been saved as hs_err_pid1420.log.
# Please refer to the file for further information.
#
==========================================
The error file that was generated looks like this:
==========================================

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1f7d385d
Function name=MpHeapFree
Library=C:\WINNT\System32\ODBC32.dll
Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.freeConnect(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLFreeConnect(JdbcOdbc.java:2713)
at sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(JdbcOdbcDriver.java:831)
at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.java:736)
at sqlBeans.DbBean.close(DbBean.java:122)
at bugTracker.Bug.dbClose(Bug.java:384)
at bugTracker.Bug.closeRS(Bug.java:132)
at bugtracker._0002fbugtracker_0002feditbug_0002ejspeditbug_jsp_88._jspService(_0002fbugtracker_0002feditbug_0002ejspeditbug_jsp_88.java:713)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Dynamic libraries:
0x00400000 - 0x00405000 c:\jdk1.3.1\bin\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DAC000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4EF000 c:\jdk1.3.1\jre\bin\hotspot\jvm.dll
0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
0x6D220000 - 0x6D227000 c:\jdk1.3.1\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 c:\jdk1.3.1\jre\bin\verify.dll
0x6D250000 - 0x6D266000 c:\jdk1.3.1\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 c:\jdk1.3.1\jre\bin\zip.dll
0x6D340000 - 0x6D348000 C:\jdk1.3.1\jre\bin\net.dll
0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
0x74FD0000 - 0x74FEF000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x785C0000 - 0x785CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.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 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
0x77A50000 - 0x77B3A000 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
0x77C10000 - 0x77C6D000 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
0x716F0000 - 0x7177A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C1C000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
0x775A0000 - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
0x6D290000 - 0x6D29A000 C:\jdk1.3.1\jre\bin\JdbcOdbc.dll
0x1F7D0000 - 0x1F804000 C:\WINNT\System32\ODBC32.dll
0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
0x782F0000 - 0x78532000 C:\WINNT\system32\SHELL32.DLL
0x1F8C0000 - 0x1F8D6000 C:\WINNT\System32\odbcint.dll
0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
0x1F820000 - 0x1F83A000 C:\WINNT\System32\odbccp32.dll
0x75500000 - 0x75504000 C:\WINNT\System32\security.dll
0x782D0000 - 0x782EE000 C:\WINNT\system32\msv1_0.dll
0x41230000 - 0x412AF000 C:\WINNT\System32\SQLSRV32.dll
0x41100000 - 0x4110C000 C:\WINNT\System32\SQLWOA.dll
0x769A0000 - 0x769A7000 C:\WINNT\System32\NDDEAPI.DLL
0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
0x73330000 - 0x73337000 C:\WINNT\System32\DBMSSOCN.DLL
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL
Local Time = Fri Sep 21 13:13:17 2001
Elapsed Time = 490
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
#
============================================
Does anyone know what this could be? I've been saerching all over the web and have found little info. I'm thinking it may have something to do with ODBC?
Zman
Suji N
Ranch Hand

Joined: Sep 04, 2001
Posts: 35
Hai..
pl check ur dsn name....and also add system dsn
and then test it at once
Bye
scottie zman
Ranch Hand

Joined: Aug 08, 2001
Posts: 40
That makes no sense. If I had the wrong DSN then it would never work in the first place.
Here's another error I've been getting at the crash:

****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x1F7D385D
SIGNAL = -1073741819
FUNCTION NAME = (N/A)
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.

Any clues???
Zman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EXCEPTION_ACCESS_VIOLATION