Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Paulo Bianchin
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic