<div dir="ltr">Yes, you need to add in you LD_LIBRARY_PATH the path to your JVM ...awt.so.<div>And make sure a DISPLAY is available if you want to perform some rendering.</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 12:02 AM, Emptystack <span dir="ltr"><<a href="mailto:wulihouxiaoshuai@163.com" target="_blank">wulihouxiaoshuai@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I deployed a dynamic web project into glassfish web server, and the following<br>
code is for loading shared libraries.<br>
<br>
static {<br>
        try {<br>
            System.loadLibrary("vtkCommonJava");<br>
            System.loadLibrary("vtkFilteringJava");<br>
            System.loadLibrary("vtkIOJava");<br>
            System.loadLibrary("vtkImagingJava");<br>
            System.loadLibrary("vtkGraphicsJava");<br>
            System.loadLibrary("vtkRenderingJava");<br>
        } catch (UnsatisfiedLinkError er) {<br>
            System.out.println("Library Not Found");<br>
        }<br>
<br>
<br>
 when I run  this project on web server, only<br>
System.loadLibrary("vtkRenderingJava") failed but the others succeed. And<br>
the error occured: java.lang.UnsatisfiedLinkError:<br>
/usr/lib/libvtkRenderingJava.so:<br>
/opt/java/jdk1.7.0_60/jre/lib/i386/libjawt.so: symbol awt_Unlock, version<br>
SUNWprivate_1.1 not defined in file libmawt.so with link time reference.<br>
<br>
 Has someone ever encountered this problem  ? Can you give me some<br>
suggestions?<br>
<br>
Best wishes!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/System-loadlibrary-vtkRenderingJava-failed-in-Glassfish-web-server-tp5729718.html" target="_blank">http://vtk.1045678.n5.nabble.com/System-loadlibrary-vtkRenderingJava-failed-in-Glassfish-web-server-tp5729718.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>