Thanks, Rolf. 1crn is loading because it's cached on my server. The
others aren't loading because for some reason my server is getting from
RCSB the message "302 page temporarily moved". The files are coming back
empty, so no data, thus the error message. This just started yesterday,
so I'm curious as to what it's about.
Bob
Rolf Huehne wrote:
Bob Hanson wrote:
Jmol Developers,
I made some changes to the JavaScript/Java interface and may be onto
something. I am no longer seeing any wild fluctuation in memory
whatsoever at the URL below. Loading reasonably large files seems to
result in only minimal memory increases. Please take a look and answer
a few questions for me:
Test environment:
SuSE Linux 9.3
Firefox 1.0.7
Java 1.4.2_11
a) does http://fusion.stolaf.edu/chemistry/jmol/xtalx load OK for you?
It looks ok.
b) does the "waiting for applet" title message disappear within a few
seconds? (You may not even see it.)
It takes about 2 minutes to disappear. (although the applet is loaded
much earlier)
c) do the radio buttons work?
At least most of them do result in a visible change in the applet and
the changes seem to correspond to the button descriptions.
d) press LOAD. Everything seem to be OK?
Yes.
e) load the "maleic.cif (18 models)" file. Still working?
Sometimes working, sometimes the browser freezes.
f) at this point, if you know how, can you report how much memory the
browser is using?
VIRT: 317m RES: 133m SHR: 28m (no change during testing)
g) can you load a CIF file -- perhaps 1crn? [This uses an http://
server call within the applet.]
1crn is loaded but all three other PDB codes I tried (1deh, 3cro, 1a2c)
produced an error.
(ERROR MESSAGE: jmolApplet0: script ERROR: ScriptException:Could not
read file:java.lang.NullPointerException
Script line:load
"http://fusion.stolaf.edu/chemistry/jmol/xtalx/loaddatajs.cfm?app=0&url=http%3A//www.rcsb.org/pdb/displayFile.do%3FfileFormat%3DCIF%26structureId%3D3CRO&pdbid=3CRO&fileformat=CIF"
{1,1,1};;set perspectivedepth off;set defaultLattice 0;color axes
grey;color unitcell white;set unitcell 3;;set unitcell 0;)
h) can you load an "AMS (mineral)" crystal file -- perhaps quartz?
[This uses a dynamic DOM script node to preload HTML data and then
pass that on to the applet using applet.loadInline().]
Something is loaded and displayed but the browser always freezes afterwards.
Is everything working for you at
http://www.stolaf.edu/people/hansonr/jmol/test/proto/altloc.htm
?
Try some of those links in brackets on the left. They work? I'm
wondering if the problem with XTALX is just that it's really pushing the
whole Java/JavaScript system passing SO much information back and forth.
i) can you get your browser to lock up during any of this?
Besides the freezes described above the browser sometimes freezes if the
'show orientation' link is used.
Please see if you have the same problem at the above url.
Regards,
Rolf
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers