[Nmrshiftdb-devel] CVS: nmrshiftdb/src/html/chemaxon/marvin filesecurity.html,NONE,1.1 firewall.html
Brought to you by:
steinbeck
|
From: Stefan K. <sh...@us...> - 2002-02-26 17:09:10
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/html/chemaxon/marvin
In directory usw-pr-cvs1:/tmp/cvs-serv14957
Added Files:
filesecurity.html firewall.html incompatible-classes.html
Log Message:
Needed for marvin
--- NEW FILE: filesecurity.html ---
<html>
<head>
<title>Marvin caught a SecurityException</title>
</head>
<body BGCOLOR="#ffffff" TEXT="#333366">
<font COLOR="red">
<blink>Error:</blink> Marvin cannot load a molecule or template file
</font>
<p>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 <b>CODEBASE</b>, because of security
reasons. Other browsers (Opera, Konqueror) do not let applets read local
files at all.
<p>Possible solutions:
<ul>
<li>Install a web server and try to access the applet and
the molecule files through the http protocol.
<p>
</li>
<li>Copy the molecule file(s) to a directory which is inside the applet's
<b>CODEBASE</b>.
<p>
</li>
<li>Disable Java security in your web browser.
<ul>
<li>in Konqueror 2.1: uncheck the "Use Security Manager"
option in the Java settings</li>
</ul>
</li>
</ul>
</body>
</html>
--- NEW FILE: firewall.html ---
<html>
<head>
<title>Marvin caught a SecurityException</title>
</head>
<body BGCOLOR="#ffffff" TEXT="#333366">
<font COLOR="red">
<blink>Error:</blink> Marvin cannot load a module, a template or a molecule file
</font>
<p>
One of the following two possibilities might have caused the problem:
<ul>
<li>The file and Marvin are not on the same server.
From security reasons, Java applets can only access files from their host
web site.</li>
<li>You are behind a <i>firewall</i> which does not proxy DNS correctly or
at all. Netscape Navigator 4.01 and later versions do not trust in such
misconfigured proxies by default, so applets cannot connect back to their host
web site.</li>
</ul>
<hr WIDTH="50%">
<p>There are two ways to solve the <b>firewall</b> problem:
<p>
<i>1.</i>
Ask the system administrator of your intranet to reconfigure the firewall
correctly, or
<p>
<i>2.</i>
Modify Netscape's preferences "manually" by editing your
Preferences file.<p>
The name and location of this file varies from platform to platform:
<blockquote>
<table CELLSPACING=10 CELLPADDING=0 BORDER=0>
<tr ALIGN=LEFT>
<td>Macintosh:</td>
<td>System Folder:Preferences:Netscape f:Netscape Preferences</td></tr>
<tr ALIGN=LEFT>
<td>UNIX:</td>
<td>~/.netscape/preferences.js</td></tr>
<tr ALIGN=LEFT>
<td>Windows:</td>
<td>\Program Files\Netscape\Users\<username>\prefs.js</td></tr>
</table>
</blockquote>
Be sure to edit this file only while all instances of Netscape are shut down,
as Netscape will overwrite the file when it exits.
<p>
To enable the preference, add this line to the Preferences file:<br>
<pre>
user_pref("security.lower_java_network_security_by_trusting_proxies",true);
</pre>
</body>
</html>
--- NEW FILE: incompatible-classes.html ---
<html>
<head>
<title>Marvin loaded an incompatible class</title>
</head>
<body BGCOLOR="#ffffff" TEXT="#333366">
<font COLOR="red">
<blink>Error:</blink> Marvin loaded an incompatible class file
</font>
<p>This error might occur if the Marvin class library interferes with the
applet's classes.<br>
Please remove <tt>MarvinBeans.jar</tt> and <tt>jchem.jar</tt>
from your <tt>CLASSPATH</tt>!
<p>An additional class library like Marvin should only be specified in a
<i>local</i> <tt>CLASSPATH</tt> inside a script or makefile, but not in the
<i>global</i> one that is also seen by your web browser.
</body>
</html>
|