Marvin Sketch Applet triggers some errors in the web server

User 8139ea8dbd

25-03-2009 21:04:57

My web page contains a Marvin Sketch applet for query structure draw.





When that page is loaded, it generates a few "File does not exist" errors in the web server. Is it because my jchem package isn't installed appropriately?





[Wed Mar 25 14:00:30 2009] [error] [client 172.25.43.76] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/META-INF


[Wed Mar 25 14:00:37 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/chemaxon/marvin/dict.class


[Wed Mar 25 14:00:37 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/plugins/plugins.properties


[Wed Mar 25 14:00:37 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/chemaxon/license.cxl


[Wed Mar 25 14:00:38 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/META-INF


[Wed Mar 25 14:00:39 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/chemaxon/icons


[Wed Mar 25 14:00:39 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/chemaxon/icons


[Wed Mar 25 14:00:40 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/chemaxon/marvin/sketch


[Wed Mar 25 14:00:40 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/META-INF


[Wed Mar 25 14:00:40 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/META-INF


[Wed Mar 25 14:00:40 2009] [error] [client 172.25.25.21] File does not exist: /projects/LDWeb/public_html/jchem_5_1_04/marvin/META-INF

ChemAxon 7c2d26e5cf

26-03-2009 13:52:04

The lack of these files does not cause any problem in the running of the applet.





The "plugins/plugins.properties" file is optional. It is required only for the customization of the "Tools" menu in the applet. This file does not exist in default.





The other files/directories are not refered by Marvin and normally they does not exist on the server. The default class searching mechanism of Java checks present of these resources by loading certain classes although Marvin does not require them.





There are a couple of topics on the forum where this Java issue is already reported.


Missing files





function to return a smile or or molfile : comparaison JME/marv

User 8139ea8dbd

26-03-2009 16:23:27

In the second thread http://www.chemaxon.com/forum/viewpost21167.html





You mentioned a workaround in the latest version, what is it?





Although it does not affect the performance, it is still nice to not generating those error entries in the server log file.





Thanks.

ChemAxon 7c2d26e5cf

30-03-2009 14:31:18

Sun's xml parser searches the implementation of certain class on different places. It tries several options to determine the concrete implementation that is required in the actual context. Checking certain meta data in the jar file is part of this procedure. If it does not present there, Java checks whether META-INF directory exists on the remote server.





5.1.5 and later releases already contain the workaround where network checking is skipped.