• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

unsatisfiedlinkerror no ocijdbc10 in java.library.path after upgrade

 
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
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!