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

unsatisfiedlinkerror no ocijdbc10 in java.library.path after upgrade

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://coderanch.com/t/569826/JBoss/java-lang-Unsatisfiedlinkerror
 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anything else I should try? I've followed the advice in the other post to no avail.
 
They worship nothing. They say it's because nothing lasts forever. Like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic