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

UnsatisfiedLinkError in Tomcat 4

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys, i get this error after login into an application on Tomcat 4.1.24
Any ideas as to what the problem is..
Thanks.

java.lang.UnsatisfiedLinkError: Native Library /oracle/product/9.2.0/lib32/libocijdbc9.so already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadLibrary(ClassLoader.java(Compiled Code))
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
at java.lang.System.loadLibrary(System.java:865)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:267)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:365)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
at java.sql.DriverManager.getConnection(DriverManager.java(Compiled Code))
at java.sql.DriverManager.getConnection(DriverManager.java:194)
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm guessing here because it looks similar to a problem I've had before.
Sounds like you are using a native JDBC driver. There is a section in the release notes on JNI.

To put it in a nutshell, you only want to have one copy of the jar file.
Put it in TOMCAT_HOME/common/lib or TOMCAT_HOME/shared/lib and remove it from the WEB-INF/lib directory from within your apps.

Let me know if that was it.
 
Gabriel Tomoloju
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks BEN!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic