PDFNet in Java/Tomcat: How do I resolve "Library already loaded in another classloader"?

Q: I used PDFNet SDK for Java to convert PDF to JPEG.

When i deploy application for the first time, everything is ok and the
conversion works great. Then when I try to redeploy application, I
recieve error:

java.lang.UnsatisfiedLinkError: Native Library /usr/lib/jvm/java-6-
sun-1.6.0.21/jre/lib/amd64/server/libPDFNetC.so already loaded in
another classloader

I need to restart tomcat for everything to work fine. Do you have any
suggestions?
--------------------
A:

A solution is suggested under "using JNI under Tomcat" on
http://wiki.apache.org/tomcat/HowTo

Alternatively you may want to search for "Library already loaded in
another classloader" on the Web for other solutions.