Jklustor listening server has no images

User e588c7c7a2

07-10-2015 22:23:19

Anytime I execute a Jklustor command with -s 8000 as an option, localhost:8000 successfully loads into the clustering process overview page, but no molecule images are generated on any page.


The following error message appears in the terminal:


Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError:
/home/user/.i4j_jres/1.6.0_45/lib/i386/xawt/libmawt.so: libXtst.so.6:
cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    at java.lang.Runtime.load0(Runtime.java:770)
    at java.lang.System.load(System.java:1003)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.image.ColorModel.loadLibraries(ColorModel.java:188)
    at java.awt.image.ColorModel.<clinit>(ColorModel.java:196)
    at java.awt.image.BufferedImage.<clinit>(BufferedImage.java:274)
    at chemaxon.clustering.server.clustorServer.CS$GenerateBarImage.execute(CS.java:1906)
    at chemaxon.clustering.server.ServerConnection.process(ServerConnection.java:145)
    at chemaxon.clustering.server.ServerConnection.run(ServerConnection.java:88)



Exception
in thread "Thread-18" java.lang.UnsatisfiedLinkError:
/home/user/.i4j_jres/1.6.0_45/lib/i386/xawt/libmawt.so: libXtst.so.6:
cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    at java.lang.Runtime.load0(Runtime.java:770)
    at java.lang.System.load(System.java:1003)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
    at java.awt.Rectangle.<clinit>(Rectangle.java:156)
    at chemaxon.marvin.io.image.exporter.ImageExport.open(ImageExport.java:228)
    at chemaxon.marvin.io.image.exporter.PngExport.open(PngExport.java:85)
    at chemaxon.marvin.io.MolExportModule.open(MolExportModule.java:192)
    at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1327)
    at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1292)
    at chemaxon.formats.MolExporter.exportToBinFormat(MolExporter.java:1233)
    at chemaxon.formats.StructureExporterUtil.exportToBinFormat(StructureExporterUtil.java:64)
    at chemaxon.struc.Molecule.exportToBinFormat(Molecule.java:1388)
    at chemaxon.struc.Molecule.toBinFormat(Molecule.java:1361)
    at chemaxon.clustering.server.clustorServer.CS$GetClusterReprImage.execute(CS.java:2022)
    at chemaxon.clustering.server.ServerConnection.process(ServerConnection.java:145)
    at chemaxon.clustering.server.ServerConnection.run(ServerConnection.java:88)


The second error "paragraph" repeats several times for different thread numbers.


Running with Jklustor frontend v0.07 on Ubuntu 14.04

ChemAxon 8b644e6bf4

12-10-2015 16:31:56

Dear William,


 


It seems like a java installation problem. Please make sure you are using Oracle Java.


If you downloaded the product with bundled Java then try to use the non-bundled version.


Similar problem discussed on our support forum:


https://www.chemaxon.com/forum/viewpost43827.html


https://www.chemaxon.com/forum/ftopic11411.html


https://www.chemaxon.com/forum/ftopic11413.html


 


Regards,


Gabor