Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Filipe David Manana
Hi, 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 ( libocijdbc10.so ). Whenever I redeploy my webapp into tomcat, I get the exception java.lang.UnsatisfiedLinkError, since the native library was

RE: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On To: Tomcat Users List Subject: Tomcat 5.5 and loading of native libraries Is there anyway to force tomcat to use the same class loader for all webapps Put the JDBC driver jar in common/lib, rather than in each webapp's WEB-INF/lib

Re: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Wesley Schwengle
On 10.01.08 13:22 Filipe David Manana wrote: 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 ( libocijdbc10.so ). Is did you put the library files in your war file? I experienced similair problems

Re: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Filipe David Manana
That was it. I had ojdbc14.jar in the WAR archive. I just moved it into CATALINA_HOME/common/lib/ and it works now :) By the way, is any of you using plain Oracle JDBC or with an ORM? On 1/10/08, Wesley Schwengle [EMAIL PROTECTED] wrote: On 10.01.08 13:22 Filipe David Manana wrote: I am