oh, oh. Looks like Firefox or Java has a nasty bug. This is from Josh's 
page. The message I'm getting is:


Java Plug-in 1.6.0_02
...
viewer.setIntProperty(_version,1102014) - integer variable defined
viewer.setIntProperty(_version,1102014) - integer variable defined
(C) 2007 Jmol Development
Jmol Version 11.2.14  2007-08-31 15:35
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_02
os.name:Windows XP
memory:1.9/5.2
appletId:jmolApplet0
appletDocumentBase=http://www.erowid.org/psychoactives/chemistry/chemistry_compare_3d.php
(C) 2007 Jmol Development
Jmol Version 11.2.14  2007-08-31 15:35
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_02
os.name:Windows XP
memory:1.9/5.2
appletId:jmolApplet1
appletDocumentBase=http://www.erowid.org/psychoactives/chemistry/chemistry_compare_3d.php

FileManager.openFile(/chemicals/14b/images/archive/14-butanediol__.mol) 
///chemicals/14b/images/archive/14-butanediol__.mol
FileManager opening 
http://www.erowid.org/chemicals/14b/images/archive/14-butanediol__.mol

FileManager.openFile(/chemicals/14b/images/archive/14-butanediol__.mol) 
///chemicals/14b/images/archive/14-butanediol__.mol
FileManager opening 
http://www.erowid.org/chemicals/14b/images/archive/14-butanediol__.mol
file ERROR: 
http://www.erowid.org/chemicals/14b/images/archive/14-butanediol__.mol
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\Documents and Settings\Robert\Application 
Data\Sun\Java\Deployment\cache\6.0\63\247d1cbf-4fa6ecbd.idx read)
openFile(/chemicals/14b/images/archive/14-butanediol__.mol)578 ms
The Resolver thinks Mol
openFile(/chemicals/14b/images/archive/14-butanediol__.mol)172 ms
ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty 
"auxiliaryInfo" to inspect them.
ModelSet: not autobonding; use forceAutobond=true to force automatic 
bond creation
eval ERROR: java.security.AccessControlException: access denied 
(java.io.FilePermission C:\Documents and Settings\Robert\Application 
Data\Sun\Java\Deployment\cache\6.0\63\247d1cbf-4fa6ecbd.idx read)
----
         load >> "/chemicals/14b/images/archive/14-butanediol__.mol" <<


OK, so you can see that two applets are initiating simultaneously (which 
has always been just fine), and they are both loading the SAME model 
(which I'm sure I've done myself). Java is messing up because the first 
caching of the model apparently messes up the second, or vice-versa, I 
don't know.

I have never seen this Java bug before, but users should be alert to it. 
It means that you cannot reliably load the SAME model into two applets 
simultaneously. I know I've done that in the past.

Anybody else have a page out there that does this -- loads the same 
model into two applets simultaneously -- that we can check?

Bob

-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to