The work-around for this to to specify

set pdbGetHeader true

This allows Jmol to access the file once and save the header.

But in general there are these issues with the signed applet. The file
loading has to be done on the right "thread" and it could be that this is
not set correctly in Jmol when you use the popup menu. I'll look into that.

2009/5/21 Angel Herráez <angel.herr...@uah.es>

> Hi all
>
> I am doing a little experimentation with parsing of macromolecule
> sequence in pdb files and, as part of it, I am reading the PDBheader
> info using jmolGetPropertyAsString("fileHeader")
>
> What I have just found is that this works for local files but fails
> with a Java security warning when I load a file from PDB (using the
> signed applet, 11.6.21,  and 'load =2ACE')
>
> It says
> java.security.AccessControlException: access denied
> (java.net.SocketPermission www.rcsb.org resolve)
>
> The same happens when I try the pop-up menu > Show > File header,
> so it seems a true result of Java security measures.
> However, since the file has been downloaded, shouldn't Jmol have
> already the header info? It seems that it is doing a new request from
> the server.
>
> Is this expected?
> Is there a way around it?
> Will it happen even when the file is in the same server as the page?
>
> For the record, I'm interested in the SEQRES fields.
>
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to