Quoting Xavier Prat-Resina <[EMAIL PROTECTED]>:

> 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

Q: Have you looked at the HTTP headers from the two different servers?

With some luck the web servers are configured differently regarding  
caching directives. Then you might be able to fix the problem by  
changing the configuration on the problematic server.

(One easy way to look at the HTTP headers is to use the extremely  
useful 'Web Developer' extension in Firefox: Information->View  
Response Headers)

Regards,
Rolf

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------------------------
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