You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Patrick Thompson <th...@roguewave.com> on 2000/03/31 05:08:53 UTC

Packaging shared libraries with web applications

I'm calling a JNI function from a servlet. I load the shared library, a DLL,
from within the servlet's init function. I was hopeful that if I placed the
DLL in the WEB-INF/lib directory that it would be found. Unfortunately,
that's not the case. It works fine if I place the DLL in a directory that is
in
my PATH, but I would like to be able to deploy the DLL along with a web 
application, i.e., packaged in a .war file. Does anyone know if this is
possible?

(And, yes, in case you were wondering, I do realize that there are
portability 
implications in doing this.)

Thanks,
Patrick

---
Patrick Thompson
Rogue Wave Software, Inc.
thompson@roguewave.com