aspose file tools*
The moose likes JDBC and the fly likes JDBC:ODBC Native Code errors,please help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC:ODBC Native Code errors,please help!" Watch "JDBC:ODBC Native Code errors,please help!" New topic
Author

JDBC:ODBC Native Code errors,please help!

Ken Smith
Greenhorn

Joined: Jul 07, 2004
Posts: 2
Hi,im writing a system using tomcat. I connect to an ingres database using an ODBC bridge. Lately Tomcat has been crashing and generating the error report below.I think it says that the native odbc driver is crashing and causing tomcat to crash.It crashes outside the java VM so theres seems to be little i can do.Would anyone know how to fix this or even what causes it?Its been happening very frequently lately.Thanks for any help cause im lost!

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F64860
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.freeStmt(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLFreeStmt(JdbcOdbc.java:3385)
- locked <0x1002ee98> (a sun.jdbc.odbc.JdbcOdbc)
at sun.jdbc.odbc.JdbcOdbcStatement.close(JdbcOdbcStatement.java:496)
- locked <0x1004ba40> (a sun.jdbc.odbc.JdbcOdbcStatement)
at org.apache.jsp.ViewApplication_jsp._jspService(ViewApplication_jsp.java:156)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
/*section cut out,

*/

Dynamic libraries:

Heap at VM Abort:
Heap
def new generation total 576K, used 337K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 57% used [0x10010000, 0x10059328, 0x10090000)
from space 64K, 70% used [0x100a0000, 0x100ab498, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 6432K, used 4118K [0x104f0000, 0x10b38000, 0x14010000)
the space 6432K, 64% used [0x104f0000, 0x108f5880, 0x108f5a00, 0x10b38000)
compacting perm gen total 8192K, used 8100K [0x14010000, 0x14810000, 0x18010000)
the space 8192K, 98% used [0x14010000, 0x147f90d0, 0x147f9200, 0x14810000)

Local Time = Wed Jul 07 10:06:37 2004
Elapsed Time = 64
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
#
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

Ken,
What database are you using?

Welcome to Javaranch!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ken Smith
Greenhorn

Joined: Jul 07, 2004
Posts: 2
I was using an ingres DB,i fixed the error though.
It was because my drivers were too old.I was using a version 3.5 ODBC manager and once i updated the drivers the random crashes stopped.
Thanks tho
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC:ODBC Native Code errors,please help!
 
Similar Threads
Java Heap Problem
Exception when calling a java method in JNI
Information on Controller
1.4.2_06 JRE on Win98 freezes
unexpected exception has been detected in native code outside the VM