Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Calling native C++ method from Oracle Java stored procedure via J NI

Calling native C++ method from Oracle Java stored procedure via J NI

From: Bradley <bradley_liu_at_hotmail.com>
Date: 20 Sep 2001 18:15:36 -0700
Message-ID: <c879cafd.0109201715.394c9d26@posting.google.com>


Does anyone have experience with making JNI call from Oracle Java stored procedure to a DLL written in C++? One of the application we need to get data from only supports C/C++ API, and we need to find a way to access data available in that application within Oracle 8I database.

I tried Java stored procedure calling C++ method in a DLL via JNI, but I got UnsatisfiedLinkError:
9/20/01 4:03 PM Execution failed: ORA-29532: Java call terminated by uncaught Java exception: java.lang.UnsatisfiedLinkError

My Java stored procedure is valid, and I've also verified that the DLL is callable from a stand-alone Java application. Does anyone know why this DLL is not callable within Oracle JVM?

Thanks,
Bradley Received on Thu Sep 20 2001 - 20:15:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US