Xavier, this sounds like a problem others may start seeing as well. I think it's safe to say that it is impossible to "tell Jmol to not read the cache." Jmol just reads the file; it has no capability of knowing whether that file is cached or not. I'm using Java build 1.6.0_05-b13, and I have not seen this problem. It's possible that it's a problem Sun has fixed -- or not.
To avoid the problem entirely, just use the signed applet. Bob Xavier Prat-Resina wrote: > Dear jmol-users, > > This topic has already been discussed on this list, but it's still > unclear to me how > to solve the problem. > > java 1.6.0_nn (default in windows) seems to give some problems with > some of my web pages. > Sometimes, when jmol displays a coordinates file, java will store it > in the cache. After that, > when I load the same page jmol will try to read from the cache which > gives a security error > > eval ERROR: java.security.AccessControlException: access denied > (java.io.FilePermission C:\Documents and > Settings\Administrator\Application > Data\Sun\Java\Deployment\cache\6.0\24\26e704d8-5b2c453d.idx read) > ----line 1 command 1 of file null: > load >> "cumene.pdb" << > > If I reload the page the file is read from the web and the problem > disappears. > If I empty the java cache the problem disappears also, but it will > show up the next time. > If I work with java 1.4.2 or 1.5 the problem doesn't show up at all. > (Windows and Ubuntu/linux show similar behaviour) > I don't think I need any signed applet for this case. > I would like to be able to tell jmol to avoid reading from the cache > and download it > every time I access the page. Is that possible? > Another issue I don't understand is that the same web on a different > server doesn't > give this problem because the coordinate file is never stored in the > cache. Any idea? > Thanks > > Xavier > > > -- > Xavier Prat-Resina > Research Associate > Journal of Chemical Education and University of Wisconsin > 209 N. Brooks St. Madison, WI 53715-1116 > > Tel: 608 8901702 // Fax: 608 2627145 > e-mail: xavier ( ) chem.wisc.edu <http://chem.wisc.edu> ; skype: > xavierprat > http://x.prat.resina.googlepages.com > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >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 > > -- 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 ------------------------------------------------------------------------- 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

