• Post Reply Bookmark Topic Watch Topic
  • New Topic

unsatisfiedlinkerror no ocijdbc10 in java.library.path after upgrade

 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been given a servlet that I suppose previously ran on oracle 10.2 but my environment was upgraded to the 11g client. When I fire up tomcat I don't get any errors but when I try and run the servlet I get "unsatisfiedlinkerror no ocijdbc10 in java.library.path"

I am honestly not sure what to do-very new to this. I am building it in eclipse and I am not sure if there is something in a configuration file or what. I need to make the servlet run on 11g.

Thanks
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error would indicate a missing/not found dll or so file(s)
You might find this previous discussion helpful http://www.coderanch.com/t/569826/JBoss/java-lang-Unsatisfiedlinkerror
 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed setenv.bat to include -djava.library.path to go the bin directory of my tomcat install. I then copied the dll file to this location (and also ojdbc14.jar) but I get the same issue. Could the upgrade to 11 be a part of the probelm? When they upgraded they installed the client in a custom location which is where the -djava.library.path now points to.
 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything else I should try? I've followed the advice in the other post to no avail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!