A Trouble using JDBC
1 posts in topic
Flat View  Flat View

Posted By:   amanda_jiang
Posted On:   Monday, August 5, 2002 10:29 PM

My app is under HP-UX 11.00, and use HP JDK 1.3.1-01 Release. The app accesses the oracle database via Oracle OCI Driver. Jvm frequently shut down (1-2times/week), the core dump shows that it something wrong when try to get a set of results via oci driver. And I cannot find out the reason. So I want to know what can makes the jdbc core dump? How can I get more information about this trouble£¿£¿


Re: A Trouble using JDBC

Posted By:   Dermot_Hennessy  
Posted On:   Tuesday, August 6, 2002 12:06 AM

The JVM is no different than any native application in terms of core dumps. The most common cause of a core dump in my experience has been one application attempting to write to an area of reserved memory. Potentially this is because of a bug in the OCI driver. Unfortunately it can be difficult to debug as there is no simple way of associating Java calls (which are interpreted by the JVM) with the actual system level calls which the JVM makes to communicate with the underlying operating system - the Java standard does not impose rules as to exactly how this communication is to be achieved.

That said, if you are familiar with core dump analysis, you *may* be able to glean some helpful information about what is happening. Refer to this site to get some information on how to perform core dump analysis.

Hope this helps...


About | Sitemap | Contact