This is the JVM catching an exception/access violation in the native code
outside of the JVM. The problem is probably in native code in the driver or any
jni code you may be using. If you are not using any jni to wrap native code that
is custom to your site, you should look at how you are calling the JDBC. You may
be sending NULL values or incorrect format for what the ODBC driver is expecting
and causing the access violation.

I had something similar and it was stack corruption in my native code.

Robert S. Harper
801.265.8800 ex. 255
> -----Original Message-----
> From: Craig Collings [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 09, 2004 4:18 PM
> To: tomcat-user ([EMAIL PROTECTED])
> Subject: RE: comparison of Type 4 JDBC drivers
> 
> Interesting.
> 
> I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4
> driver and I am also getting ex VM errors:
> 
> any ideas?
> 
> 
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> PC=0x77F46A07 Function=RtlFreeHeap+0x322
> Library=C:\WINDOWS\system32\ntdll.dll
> 
> Current Java thread:
>       at java.util.zip.ZipFile.getEntry(Native Method)
>       at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
>       - locked <0x10b26c90> (a java.util.jar.JarFile)
>       at java.util.jar.JarFile.getEntry(JarFile.java:194)
>       at java.util.jar.JarFile.getJarEntry(JarFile.java:181)
>       at
> sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668)
>       at sun.misc.URLClassPath.getResource(URLClassPath.java:157)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>       - locked <0x10b322d8> (a sun.misc.Launcher$ExtClassLoader)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>       - locked <0x10b322d8> (a sun.misc.Launcher$ExtClassLoader)
>       at
> com.abnamrocraigs.listings.IressNewListingsListener.addListings(IressNewList
> ingsListener.java:147)
>       at
> com.abnamrocraigs.listings.IressNewListingsListener.notify(IressNewListingsL
> istener.java:66)
>       at
> com.abnamrocraigs.tasks.TaskScheduler.propagate(TaskScheduler.java:68)
>       - locked <0x110be650> (a com.abnamrocraigs.tasks.TaskScheduler)
>       at com.abnamrocraigs.tasks.ScheduledTask.run(ScheduledTask.java:21)
>       at java.util.TimerThread.mainLoop(Timer.java:432)
>       at java.util.TimerThread.run(Timer.java:382)
> 
> Dynamic libraries:
> 0x00400000 - 0x00406000       C:\WINDOWS\system32\java.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
> 0x08000000 - 0x082A7000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\server\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:\Program
> Files\Java\j2sdk1.4.2\jre\bin\hpi.dll
> 0x00380000 - 0x0038E000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\verify.dll
> 0x003B0000 - 0x003C8000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\java.dll
> 0x00390000 - 0x0039D000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\zip.dll
> 0x008D0000 - 0x008DF000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\net.dll
> 0x71C00000 - 0x71C18000       C:\WINDOWS\system32\WS2_32.dll
> 0x71BF0000 - 0x71BF8000       C:\WINDOWS\system32\WS2HELP.dll
> 0x008E0000 - 0x008E8000       C:\Program
> Files\Java\j2sdk1.4.2\jre\bin\nio.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
> 0x03400000 - 0x03406000       C:\jintegra\bin\ntvauth.dll
> 0x73D20000 - 0x73E13000       C:\WINDOWS\system32\MFC42.DLL
> 0x03410000 - 0x03417000
> C:\jintegra\bin\International\ntvauthEnglishResourceDll.dll
> 0x71F60000 - 0x71F64000       C:\WINDOWS\system32\SECURITY.dll
> 0x76F50000 - 0x76F63000       C:\WINDOWS\system32\SECUR32.dll
> 0x76C90000 - 0x76CB4000       C:\WINDOWS\system32\msv1_0.dll
> 0x76C10000 - 0x76C38000       C:\WINDOWS\system32\imagehlp.dll
> 0x6D580000 - 0x6D621000       C:\WINDOWS\system32\dbghelp.dll
> 0x77B90000 - 0x77B98000       C:\WINDOWS\system32\VERSION.dll
> 0x76B70000 - 0x76B7B000       C:\WINDOWS\system32\PSAPI.DLL
> 
> Heap at VM Abort:
> Heap
>  def new generation   total 5184K, used 967K [0x10010000, 0x105a0000,
> 0x10b20000)
>   eden space 4672K,  15% used [0x10010000, 0x100c4580, 0x104a0000)
>   from space 512K,  48% used [0x10520000, 0x1055da28, 0x105a0000)
>   to   space 512K,   0% used [0x104a0000, 0x104a0000, 0x10520000)
>  tenured generation   total 44240K, used 27306K [0x10b20000, 0x13654000,
> 0x16410000)
>    the space 44240K,  61% used [0x10b20000, 0x125ca930, 0x125caa00,
> 0x13654000)  compacting perm gen  total 18432K, used 18373K [0x16410000,
> 0x17610000, 0x1a410000)
>    the space 18432K,  99% used [0x16410000, 0x17601738, 0x17601800,
> 0x17610000)
> 
> Local Time = Wed Nov 10 07:28:56 2004
> Elapsed Time = 65227
> #
> # The exception above was detected in native code outside the VM # # Java
> VM: Java HotSpot(TM) Server VM (1.4.2-b28 mixed mode) #
> 
> craig.collings
> software architect
> abnamrocraigs.com
> 
> ##############################################################################
> #######
> Notice of Confidential information
> The information contained in this electronic mail is CONFIDENTIAL INFORMATION
> and may
> be LEGALLY PRIVILEGED, intended only for the individual or entity named above.
> If you
> are not the intended recipient, you are hereby notified that the use,
> dissemination,
> distribution, or copying of this document is strictly prohibited. If you have
> received
> this electronic message in error, please immediately notify us by return or
> telephone
> call collect to 07 577 6049) and destroy the original message. Thank you, ABN
> AMRO Craigs Limited.
> 
> This e-mail message has been scanned and cleared by MailMarshal
> www.marshalsoftware.com
> 
> ##############################################################################
> #######
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to