users@glassfish.java.net

Native library already loaded in another classloader

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Apr 2010 09:50:04 PDT

Hello,

I am using Glassfish server for my EJB application. Each time I change the server side and run my application, I get this message:

Native Library already loaded in another classloader.

To avoid this I have to restart the server each time.

I tried to move my .so library to ~/gf/lib directory and tried :
./asadmin set server.java-config.native-library-path-suffix=/home/usr/glassfish/glassfish/lib/libPlcVirtualEjb.so

but I am getting

bash: ./asadmin: is a directory

Please suggest what can I do.

Thanks,

H
[Message sent by forum member 'h_p']

http://forums.java.net/jive/thread.jspa?messageID=398065