• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Jboss7 + Oracle 11g - ocijdbc11.dll: Can't find dependent libraries

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I want connection for Oracle 11g from Jboss7 (win 32)


I followed the steps of http://javalabor.blogspot.com/2011/08/oracle-datasource-in-jboss-as-7.html?showComment=1326727838716#c30497072491729579


module.xml



standalone.xml





but get an error "Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path"

I added the key java.library.path

So show me the following error:




Anybody seen this?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This error means that some DLL on which ocijdbc11.dll depends cannot be found in the path. The best way to find out which DLL is missing is to use the dependency walker: http://www.dependencywalker.com/
 
Paulo Bianchin
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tanks for reply

I install dependency walker and fixed one dependency. but the problem remains


Do you have any other way without using these dll?







 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could use a different Oracle driver that doesn't need a native DLL. The drivers are listed at:
http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html
Looks like you need one that handles XA. (I don't use Oracle or I might be able to tell you a specific driver to use.)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic