Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / July 2007

Tip: Looking for answers? Try searching our database.

UnsatisfiedLinkError

Thread view: 
Anurag - 19 Jul 2007 12:17 GMT
Hi,
I am using Oracle 10_2 with java on Websphere. i face following error
messages
at
oracle.jdbc.oci8.OCIDBAccess.RefCursorBytesToDBStatement(OCIDBAccess.java:
2426)

     at
oracle.jdbc.driver.OracleStatement.getCursorValue(OracleStatement.java:
3882)

     at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:
6104)

     at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:
5892)

     at
oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:
707)

     at
com.ibm.ws.rsadapter.jdbc.WSJdbcCallableStatement.getObject(WSJdbcCallableStatement.java:
428)

     at com.lxnx.ols.toolkit.dp.DataAttributeStore.getValue
Anyone help me..
Roedy Green - 19 Jul 2007 14:24 GMT
see
http://mindprod.com/jgloss/runerrormessages.html#UNSATISFIEDLINKERROR
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Bjorn Abelli - 19 Jul 2007 17:09 GMT
"Anurag" <anurag.cs@gmail.com> wrote...

> I am using Oracle 10_2 with java on Websphere. i face following
> error messages
> at
> oracle.jdbc.oci8.OCIDBAccess.RefCursorBytesToDBStatement(OCIDBAccess.java:
> 2426)

[snipped rest of error messages]

The first thing that comes to mind is if you're running compatible versions
of the "Oracle driver set"?

As it seems that you don't use the thin driver (why not?), but the
oci-driver, the version of the jdbc-driver must match to the installed
Oracle native client.

If you don't have a Oracle native client installed, well, there's your
answer.

Either install the appropriate one, or use the thin driver instead (my
recommendation).

If you do have a Oracle native client installed, well, the error message
(UnsatisfiedLinkError), suggests that you probably are using the "wrong"
driver for that client. Each version of the native client has a
corresponding jdbc-driver to go with it.

Another probable cause can be in the line of Roedy's answer, that you've got
some paths mixed up.

When you have installed the Oracle client, the installer usually adds the
"correct" paths to both jdbc-driver, the dll, and the client itself, but it
could also happen that you (or Websphere) has overridden those settings
somehow.

But as I suggested above, none of these problems occur if you use the thin
client instead...

/// Bjorn A
Bjorn Abelli - 19 Jul 2007 17:12 GMT
"Bjorn Abelli" <bjorn_abelli@DoNotSpam.hotmail.com> wrote...

> "Anurag" <anurag.cs@gmail.com> wrote...
>
[quoted text clipped - 8 lines]
> But as I suggested above, none of these problems occur if you use the thin
> client instead...

I meant to say; "the thin jdbc-driver"...

With that, you don't need to have the Oracle native client installed...

/// Bjorn A


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.