How do i change the codebase so that the applet exports?

User 2793f13b08

29-09-2004 17:46:30

I get this error frequently. I am able to view structures and import them but I can not export. How do I fix this?





Error Marvin cannot load a molecule or template file


This error occurs if the applet does not have permission to load a file from a local drive. Some browsers (Netscape, MSIE) do not let applets read local files in directories outside CODEBASE, because of security reasons. Other browsers (Opera, Konqueror) do not let applets read local files at all.





Possible solutions





Install a web server and try to access the applet and the molecule files through the http protocol.





Copy the molecule file(s) to a directory which is inside the applet's CODEBASE.





Disable Java security in your web browser.


in Konqueror 2.1 uncheck the "Use Security Manager" option in the Java settings

ChemAxon 7c2d26e5cf

30-09-2004 09:20:41

Using of the http protocol is the best choice.





Running applets via the file protocol is not recommended. Via the file protocol, some Marvin resources are not accessible that can cause exception during the running of the applet.





If you have not got a web server, I can suggest you a Tomcat. Its installation is easy.


http://jakarta.apache.org/tomcat/index.html