From: <php...@li...> - 2006-03-10 17:28:35
|
Hi, thank you very much for this bug report. As a workaround please move the jar file (which references or contains the native library) to $JAVA_HOME/jre/lib/ext and re-start the backend. > When the php page is loaded, everything is OK. But > when i refresh the page, > it shows the error as below > Native Library /usr/lib/libsfount_api.so already > loaded in another > classloader"] that's an interesting problem. At the moment the dynamic loader can only load pure java libraries. When GNU java is used (gcc/gcj), it can also load native libraries. The SUN java VM cannot load a native library twice. I think this means that we must lock the classloader, when we're asked to load a dynamic library. The loader will remain locked and all further classes and libraries will be loaded via this loader until finalization. I will check this for version 3.0.8, please see PR 1447360 (http://sourceforge.net/tracker/index.php?func=detail&aid=1447360&group_id=117793&atid=679233) Until then please use the above workaround. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |