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- already loaded in
another classloader

I need to restart tomcat for everything to work fine. Do you have any

A solution is suggested under "using JNI under Tomcat" on

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