tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe David Manana" <>
Subject Tomcat 5.5 and loading of native libraries
Date Thu, 10 Jan 2008 12:22:07 GMT

I am using Tomcat 5.5.23 and I have a webapp which uses a library (more
specifically, Oracle's JDBC) that loads a native library on my system ( ).
Whenever I redeploy my webapp into tomcat, I get the exception
java.lang.UnsatisfiedLinkError, since the native library was already loaded
before by another class loader. By what I understand, tomcat uses a
different class loader for each webapp (including new versions of existing
ones). Is there anyway to force tomcat to use the same class loader for all
webapps (or for new versions of existing ones) ?

The details of the exception:

java.lang.UnsatisfiedLinkError: Native Library
/usr/lib/oracle/ already loaded in
another classloader


Filipe David Manana,

Obvious facts are like secrets to those not trained to see them.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message