Thanks for that error trace. It indicates that the following line is not 
being successful:

 JmolSelectionListener[] listeners = new JmolSelectionListener[4];

Please try the same by downloading from

http://svn.sourceforge.net/viewvc/jmol/branches/v10_9/Jmol/script_documentation/examples-11/JmolApplet.jar

If it does the same there, then we have something to fix.

Bob Hanson

Rajarshi Guha wrote:

>Hi, I have some Java code that brings up a Jmol window. I'm calling my
>code from within R but when it tries to bring up the Jmol window I get a
>SecurityException:
>
>(C) 2006 Jmol Development
>Jmol Version 10.3.1  2006-05-11 11:45
>java.vendor:Sun Microsystems Inc.
>java.version:1.5.0_07
>os.name:Linux
>Exception in thread "main" java.lang.SecurityException: class 
>"org.jmol.api.JmolSelectionListener"'s signer information does not match 
>signer information of other classes in the same package
>        at java.lang.ClassLoader.checkCerts(ClassLoader.java:775)
>        at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
>        at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>        at org.jmol.viewer.SelectionManager.<init>(SelectionManager.java:33)
>        at org.jmol.viewer.Viewer.<init>(Viewer.java:115)
>        at org.jmol.viewer.Viewer.allocateViewer(Viewer.java:132)
>        at org.jmol.api.JmolViewer.allocateViewer(JmolViewer.java:51)
>        at org.guha.rcdk.view.JmolPanel.<init>(JmolPanel.java:20)
>        at org.guha.rcdk.view.ViewMolecule3D.show(ViewMolecule3D.java:37)
>NULL
>
>Clearly, Jmol is starting up - but I cant see why I should get a
>security exception when I'm running the application code (and not as an
>applet).
>
>My system is Fedora Core 5 64 bit, JDK 1.5.0_07, Jmol 10.3.1
>
>-------------------------------------------------------------------
>Rajarshi Guha <[EMAIL PROTECTED]>
>GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
>-------------------------------------------------------------------
>Got Mole problems? Call Avogadro at 6.02 x 10^23.
>
>
>
>-------------------------------------------------------------------------
>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-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to