>From time to time users of ChemTube3D report problems which involve red Java
>text errors appearing rather than structures loading in the Jmol applet.
>Typically this happens when one structure is loaded as the page loads and then
>a different structure is required. I had a case a few months ago when the site
>was working perfectly for me but a user was getting the red Java text problem
>repeatedly. I made some changes to the DNS settings in the hope of fixing it.
Today I observed a reproducible problem which may allow someone who understands
Java/web hosting better than I to work out what is happening on a standalone
web site.
Scenario 1 Using Safari (probably irrelevant) to load the HTML file as
file:///Users/ngreeves/Sites/externalemma/Pdheckts.html it works fine.
Scenario 2 Using built in Mac OS (Lion) Web Sharing to load the SAME file as
http://ng-mbp.local/~ngreeves/externalemma/Pdheckts.html clicking on
"Carbopalladation" produces the error.
FileManager.getAtomSetCollectionFromFile(model/pd/heck/heckmi.xyz)
FileManager opening
http://ng-mbp.local/~ngreeves/externalemma/model/pd/heck/heckmi.xyz
file ERROR: http://ng-mbp.local/~ngreeves/externalemma/model/pd/heck/heckmi.xyz
java.security.AccessControlException: access denied (java.net.SocketPermission
192.168.0.2 resolve)
openFile(model/pd/heck/heckmi.xyz): 159 ms
eval ERROR: java.security.AccessControlException: access denied
(java.net.SocketPermission 192.168.0.2 resolve)
----
load >> "model/pd/heck/heckmi.xyz" <<
Note that the error message refers to ng-mbp.local which is the name of the
Mac in Sharing preferences AND 192.168.0.2 which is the DHCP decimal address.
I'm guessing this was obtained by (reverse) lookup and, as it differed, Java
said NO.
For comparison, this version has a dotted IP address and never (as far as I
know) has problems http://138.253.125.70/~ng/asym11/Pdheckts.html
and this named domain version works fine for me
http://www.chemtube3d.com/Pdheckts.html
I think the problem is to do with the address for the first file and then the
address for the second file and them not looking the same.
Is there anything we can do to prevent this error on standalone systems (not
really practical to use the DHCP address) or conventional web servers with
named domains?
Best regards
Nick
--
Nick Greeves via OS X Mail
Director of Teaching and Learning
Department of Chemistry
University of Liverpool
Donnan and Robert Robinson Laboratories
Crown Street, LIVERPOOL L69 7ZD U.K.
Email address: [email protected]<mailto:[email protected]>
WWW Pages: http://www.chemtube3d.com
Tel: +44 (0)151-794-3506 (3500 secretary)
Dept Fax: +44 (0)151-794-3588
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users