• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.)
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic