Java error Native Library already loaded in another classloader <p>I'm using the java bonjour library (dns_sd.jar) in a web application running in Jboss web server.</p> <p>When I start the server a Servlet finds every resource on the network with bonjour and returns to the user. The first time everything runs great but when I redeploy the web app I get:</p> <p>java.lang.UnsatisfiedLinkError: Native Library C:\Windows\System32\jdns_sd.dll already loaded in another classloader</p> <p>I already tried deletting the .dll and the samething happens.</p> <p>Why does it even refer the .dll if I have the .jar lib in my web app?</p> <p>Does anyone have any idea on how to fix this?</p>