• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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.
 
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic