InCHI Native Library issue

User 9047da8285

03-05-2012 19:17:51

RedHat Linux, using Tomcat 7


Where is the native jar supposed to go?  I have tried the WEB-INF/lib directory to no avail.  The Tomcat lib and bin directories do not work either.  I am pretty sure that this is a Tomcat class loader issue because I have a stand-alone java program that works fine with InCHI conversation on the same machine.


 


 


chemaxon.marvin.io.MolExportException: Native library is not initialized.


        at chemaxon.marvin.io.formats.inchi.InchiExport.convert(InchiExport.java:160)


        at chemaxon.formats.MolExporter.write(MolExporter.java:765)


        at chemaxon.formats.MolConverter.write(MolConverter.java:1207)


        at chemaxon.formats.MolConverter.convert0(MolConverter.java:1080)


        at chemaxon.formats.MolConverter.convert(MolConverter.java:933)



 

ChemAxon d26931946c

03-05-2012 19:50:15

Dear John, 


 


The inci libraries should be in
$HOME/.chemaxon/lib/inchi-<version> directory.

Please check, that it's there for the user that runs Tomcat. If the
directory is there but empty, then the problem may be that
inchi-native-linux64-1.3.jar is not found and therefore can't be extracted. In this case please tell us where is
this jar located according to the other Chemaxon jars.


 


Regards,


Peter

User 9047da8285

03-05-2012 20:46:53

That did the trick.  Thanks!