I'll bet if you move them back it will work just fine as well. Really it 
was a browser caching problem. When you moved the page your browser 
loaded the files again. That's all.

Frieda Reichsman wrote:

> OK, I have repaired the tutorial but am not understanding why it was 
> not working the way it was. I moved the applets up a directory so they 
> are "above" the page that calls them, and changed the directory in 
> jmolInitialize accordingly. Now it works. 
>
> I thought this structure of the applets being in a directory somewhere 
> above was only necessary for running an applet locally? Did this 
> change somewhere along the line? 
>
> Frieda
>
>
> On May 16, 2007, at May 16, 11:05 PM, Bob Hanson wrote:
>
>> I think it's just a caching problem.
>>
>> Frieda Reichsman wrote:
>>
>>> Hi, I have a tutorial that worked about 1 year ago with no problems. I 
>>> just re-uploaded it and get this error:
>>>
>>> load: class JmolApplet not found.
>>> java.lang.ClassNotFoundException: JmolApplet
>>> at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>> at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
>>> at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
>>> at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1826)
>>> at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
>>> at sun.applet.AppletPanel.run(AppletPanel.java:324)
>>> at java.lang.Thread.run(Thread.java:613)
>>> Caused by: java.io.IOException: open HTTP connection failed.
>>> at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
>>> at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
>>> at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
>>> ... 9 more
>>>
>>> __________________________________
>>>
>>> When I run this on my machine's server instead of online, I get this 
>>> error:
>>>
>>> FileManager.openFile(../structures/1mbo.pdb)
>>> error opening 
>>> file:/Library/WebServer/Documents/patterson_hb/structures/1mbo.pdb
>>> java.security.AccessControlException: access denied 
>>> (java.io.FilePermission 
>>> /Library/WebServer/Documents/patterson_hb/structures/1mbo.pdb read)
>>> openFile(../structures/1mbo.pdb) 32 ms
>>> __________________________________
>>>
>>> I don't think any of the file hierarchy has changed; Jmol.js is in the 
>>> right place, etc.
>>> I'm puzzled; haven't had any issues like this in a long time. Can 
>>> someone steer me toward what else to look for?
>>>
>>> Thanks,
>>> Frieda
>>>
>>> ///////////////////////////////////////////
>>>
>>> Frieda Reichsman
>>> Molecules in Motion
>>> Interactive Molecular Structures
>>> http://www.moleculesinmotion.com
>>>
>>> ///////////////////////////////////////////
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net 
>>> <mailto:Jmol-users@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net 
>> <mailto:Jmol-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> ///////////////////////////////////////////
>
>
> Frieda Reichsman
>
> Molecules in Motion
>
> Interactive Molecular Structures
>
> http://www.moleculesinmotion.com
>
>
> ///////////////////////////////////////////
>
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Jmol-users mailing list
>Jmol-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to