Creating RSA signed applets

Is there anyway by whicch I can test my RSA signed applet by using self issued certificates??
I created a RSA signed applet using the documentation available on
http://java.sun.com/products/plugin/1.3/docs/rsa_signing.html
I used a self-signed certificate but it doesn't work. It gives me a security exception.

Found a way :)
Details at http://forum.java.sun.com/thread.jsp?forum=63&thread=152882
Cheers
Abraham Khalil

Similar Messages

  • Problems with RSA Signed Applets methods called by JavaScript

    Hi Folks,
    I need to give all permissions to an Applet used in an Intranet application, so I signed the jar containing it with a RSA self-cert and I did the same for all the other jar files userd by the applet.
    The applet runs under Java Plugin with JRE 1.5.0_06: I am requested by the browser to install the cert and all works fine.
    When a JavaScript function calls a public method of the applet I received a security exception when the code tries to read a system property.
    The same method works fine if called by the applet itself or by a gui event (i.e. a button click) inside the applet, so the problem seems to be related to the fact the applet is used by JavaScript (in Explorer 6).
    Does anyone know some way to overcome this problem????
    Message was edited by:
    piero

    If I may be so bold as to ask you to elaborate on this fix? I have encountered an identical issue, but I have no idea about your reference to your fix, sorry.

  • How to create signed applet and make it work with browser

    i hav an applet that needs to write a file to onto local system resource. i came to know that the applet needs to be signed. so i searched some guides to create a signed applet but most of them specify how to use it with applet viewer and not on a browser. plz help me with how to sign an applet and and allow it to write a file from within a browser.

    On linux, something like this:
    keytool -genkey -alias signSocket -keystore socketstore -keypass abc123 -dname "cn=your name" -storepass abc123
    jar cvf Socket.jar *.class
    jarsigner -keystore socketstore -storepass abc123 -keypass abc123 -signedjar SSocket.jar Socket.jar signSocket
    And in html:
    CODE = "YourClass.class"
    ARCHIVE = "SSocket.jar"
    ...

  • Signed applet verification.

    Is there any way to tell Java Plug-In 1.3.0 to use Root CA Certificates installed in navigator's database in order to verify a RSA signed applet?
    Thanks in advance.

    It doesn't appear that there is. The plug-in's certificate database is named CACERTS, and for me (Windows 98) that file is stored in:
    c:\program files\javasoft\jre\1.3\lib\security
    The certificate database there already has some of the standard CA's stuff in it. For more information search these forum pages for an article written by Abraham Khalil titled:
    "Steps to create your own self signed certificate with java plugin working"

  • Signed applet and HTML parameters

    I've created a signed applet and everything works fine, except for the fact that i can't add parameters to the applet.
    Without the parameters in the HTML the applet inits and starts and can be used without problems. But when I add paramaters, the applet reports a "class not found exception".
    I used HTML-converter to convert the applet tag to object/embed tags.
    Has anyone had the same problem or knows what I'm doing wrong? I'd really appreciate some help.
    Thanks in advance,
    Erik
    My HTML source:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "600" HEIGHT = "400" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = CODE VALUE = "TNA" >
    <PARAM NAME = ARCHIVE VALUE = "TNA.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3.0">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3.0" CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!--
    <APPLET CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400">
    </APPLET>
    -->

    Try this:
    OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "600" HEIGHT = "400" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = "java_code" VALUE = "TNA.class" >
    <PARAM NAME = "java_archive" VALUE = "TNA.jar" >
    <PARAM NAME = "java_type" VALUE="application/x-java-applet;version=1.3.1">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3.0" CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!--
    <APPLET CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400">
    </APPLET>

  • Include many jars for a complex signed applet in html file??

    hello
    I'd like to know how it's possible to put a signed applet in an html file, that needs many jar files.
    I explain myself: I know that to create a signed applet and to put it in an html file, I need to create a Jar file that contains this applet, create a private key with keytool, sign the jar and include it in my html file with the tag <applet code="....." archive="......jar".... />
    This works fine if my applet is a simple program that only uses the clases present by default in the jdk.
    In my case, I have a big project, with many packages. In one of these packages, I have my applet that uses some classes of the other packages, which use classes from imported jars, such as BouncyCastle, and others...
    There is still no problem when I run the applet from the applet viewer.
    The problem appears when I put the JAR file with all these classes in the html file: there is a problem since it doesn't know anything of these classes imported from these jars.. It's quite obvious actually.
    My question is: how do I do to make the html file aware of these classes? Is there an html tag that allows us to include many jar files? Do I have to decompress all these jars, take all the directories, add them to the directories of my project and create a BIG jar (that's what I did, but it's really dirty, and heavy! (11M))??
    Does anyone have an idea about how I can do it?
    Thanks for your help
    Philippe

    11 MB is pretty big for an applet.
    Let's say your applet uses java 3d, normally a client would download and
    install this seporately, meaning the jars needed end up in lib/ext directory where
    any applet can find them.
    Check what applets need to be installed (put in lib/ext) and what can be
    downloaded:
    <object .....
    <param name="archive" value="myJar.jar, myOtherjar.jar" />

  • Signed Applet without a Cert

    Hello,
    Is it possible to create a signed applet that anyone can use WITHOUT paying money for a cert and WITHOUT users having to manually add you to a trusted host list or something? If a box pops up and says "WARNING: CERT CAN NOT BE VERIFIED" that's totally fine with me as long as I am able to run code that requires signed security.
    The reason I need to do this is I'd like to add cut/paste functionality to the system clipboard for an applet I wrote. This applet is "just for fun" so it really doesn't make sense to pay hundreds for a cert...

    Just use keytool (which is included with the JDK) to make your own certificate. Then package your applet in a jarfile and sign the jar file with your own certificate.

  • Signed applets (are policy files needed!)

    I have experienced on a number of different machines that a signed applet that the client trusts (via clicking on yes to the prompt asking to trust the applet), is able to access the local resources with NO policy file on the client machine. I'm using JRE 1.4.1_02
    Is this the expected behavior?
    I sure hope it is because how in the world can you install applications to many clients and update their policy file? you can't via the web! BUT why am I reading that you have to have a policy file even if you sign an applet. I want to get rid of using Netscape security model but I can not update many client machine policy files... Please help!!! thanks. Is signing an applet all you have to do to access local machines, I sure hope so! Thanks in advance.

    I've done some more research specifically a very good article at http://developer.java.sun.com/developer/technicalArticles/Security/applets/index.html. I'll try to highlight the more interesting comments that I found. At least for the JRE 1.3 there appears to be a new class loader, sun.plugin.security.PluginClassLoader that allows a signed jar file (once trusted by the client) to have access to local resources.
    Code signed using the private key of the signer can be run on client machines once the public key corresponding to the signer is deemed as trusted on the respective machine.
    Applet security in browsers strives to prevent untrusted applets from performing potentially dangerous operations, while simultaneously allowing optimal access to trusted applets.
    There is no simply way to deploy and use customized policy files, a policy will have to be set by files based on the JRE installation. Customized class loaders or security managers cannot be installed easily.
    Policy files are difficult or at least not very straightforward for normal users, which could be thousands of machines where an applet is deployed.
    The java plug-in (I believe its 1.3 and later) provides a workaround although its recommended to use policy files wherever practical and applicable. (This implies to me that using the plug-in, all that is required is to sign the jar file to have access to local resources).
    RSA-signed applets can be deployed using the Java plug-in. (which can run in an identical way for Netscape and IE).
    In order for a plug-in enhanced browser to trust an applet and grant it all privileges or a set of fine-grained permissions (as specified in a J2EE policy file), the user has to preconfigure his or her cache of trusted signer certificates (the .keystore file in JRE 1.3) to add the applet's signer to it. However, this solution does not scale well if the applet needs to be deployed on thousands of client machines, and may not always be feasible because users may not know in advance who signed the applet that they are trying to run. A NEW CLASS LOADER, sun.plugin.security.PluginClassLoader in the Java Plug-in 1.3, OVERCOMES THE LIMITATIONS MENTIONED ABOVE.
    I hope this helps, I've been looking for this solution for quite some time, trying to understand why singed applets work with no policy files for version 1.4... Talk to you later, Jay.

  • Signed applet on linux

    Hi,
    Just recently switched to linux OS -RedHat 8.0 and now having problem on how to create a signed applet on linux box, have no problem doing this on MS windows platform. Could you provide some hints or GOOD links on how to do all this on linux?
    Thanks,
    Rem

    same as what U use for windows.............
    details at
    http://forums.java.sun.com/thread.jsp?forum=63&thread=132769

  • What is signed applets?

    Hi,
    can anyone please tell me how to create a signed applet in order access the files of an end user's client's machine.
    Please send me sample coding of the same.
    thanks,
    Venkat.

    http://java.sun.com/docs/books/tutorial/security1.2/toolsign
    Or, more general:
    http://java.sun.com/docs/books/tutorial/security1.2
    http://java.sun.com/docs/books/tutorial/jar
    Success,
    a.

  • URGENT: Beginner - Signed Applet won't run within Netscape

    Hi all,
    sorry for asking a question you've probably answered before, but I didn't find appropriate material
    while searching this forum.
    Im using Netscape 4.77 on Windows. My approach is to create a signed applet out of one class file, that actually reads and writes files and requires one System Property to be known.
    Therefore i downloaded the Netscape Signing Tool, created a test certificate and installed it in the Communicators certificate database. Then I signed my class file as I was told on Netscapes websites. Everything worked fine and the applet displayed in the browser. Unfortunately the method bound to a button, that does the critical work, doesn't have any effect at all.
    Can you please tell me where I can turn on the equivalent to Microsofts Java Console for IE in Netscape ? I don't even get error messages.
    Next I read some stuff about the Netscape Capability classes and used them as shown in my Applet. I set the classpath correct and everything compiled fine. But still the critical applet method doesn't do a thing at all. What went wrong ?
    Did i put the netscape code at the wrong place (i.e. inside the actionPerformed() method) ?
    Or would you suggest another way to get rid of the security restrictions which is quite more popular these days. All the docs didn't help me out so far.
    Please help me.
    Any help is highly appreciated.
    cu
    oliver

    If you want your Java Applet to use the most current
    functionality then you should deploy your Applet
    with the Java Plugin that will work in Netscape or
    Windows IE.
    Once the Java Plugin is install launch the Java Plugin Control Panel and check the Java console option. This will launch the Java console everytime the Java Plugin is invoked. Reference the following url on how to use
    the Java Plugin:
    http://java.sun.com:80/products/plugin/1.3/docs/index.docs.html
    Even though JDK1.4 is not officially shipping the
    Java Plugin 1.4 documents on Security are fairly
    good. Check out :
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/contents.html
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/rsa_how.html
    regards,
    atsSun
    Sun Microsystems

  • Error inserting cryptographic services provider by signed applets

    I want to create a signed applets that will insert cryptographic services provider to the system dynamically by the following code:
    Security.insertProviderAt(new com.xxx.Provider(), 1);
    // com.xxx.Provider is the provider class of a a 3rd party cryptographic services provider.
    MessageDigest md = MessageDigest.getInstance("xxx", "SCL-Java");
    // xxx is the provider string
    md.update("dd".getBytes());
    md.digest();
    However, an exception occurs during the execution of the code:
    MesageDigest md ......
    Is there anyone meet this problem and solve it before?
    Thank you very much
    Dennis Chan
    The Exception:
    java.lang.StackOverflowError
         at sun.net.www.protocol.jar.Handler.parseContextSpec(Unknown Source)
         at sun.net.www.protocol.jar.Handler.parseURL(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.checkResource(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
         at java.util.jar.JarVerifier.beginEntry(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
         at java.util.jar.JarFile.getInputStream(Unknown Source)
         at sun.misc.URLClassPath$4.getInputStream(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.security.Security.getImpl(Unknown Source)
         at java.security.MessageDigest.getInstance(Unknown Source)
         at sun.security.util

    Hi,
    I have got the same problem as you.
    Please, if you get the solution, can you let me know it? I will do the same, of course :)
    Bye bye
    Marzio
    email: [email protected]

  • Security problem when signed applet dynamically load plugins

    Hi!
    I have one problem : "security problem when signed applet dynamically load plugins"
    This is the scenario:
    the main program [app.jar]
    . contain applet and shared library (interface & implement of common class)
    . it is signed and run normally on browser
    . it can draw image loaded from other URL [ex] http://bp1.blogger.com/image.jpg
    . the image loader is in the shared library
    . dynamically load amazon.jar through URLClassLoader and reflection
    the plugin [amazon.jar]
    . search amazon product [ex] Harry Potter book
    . draw image on applet
    . use image loader from shared library, BUT CANNOT LOAD IMAGE
    The question: "Why it cannot load image, because the image loader is in the shared library which has been signed and working?" I tried to sign the amazon.jar too, but it did not work.
    Your reply would be very helpful. Thank you.
    Sovann

    hello. i have create a signed applet for A.jar. A.jar include two package B and C. the main applet class is within B.
    B need some classes in C to run the applet. but i got the error that class in package c are not found.
    what shall i do?

  • Signed applet problem: signer information does not match...

    hi all,
    i am actually making a upload component using applets that
    would need to access the local file system for uploading
    files.
    I have created a signed applet(i have followed all the steps,
    such as those of creating a jar, creating a key/value pair
    using keytool and finally signed my jar file using
    jarsigner). when i try to access this applet in a browser,
    first the security certificate displays(which is fine),but
    then when i click on "grant permission", it gives me a error
    saying java.lang.SecurityException: signer information of
    a(particular class of mine)does not match with that of other
    classes in that......(rest is not visible)
    i don't understand why this is happening...i have tried to
    repeat all the steps..but still continues to give this error.
    can anyone help plz...? i am stuck bceauz of this..as the
    JFileChooser dialog box doesn't open up..from which i had to
    browse and select files..
    Thanks in advance
    sd76

    first the security certificate displays(which is fine),but then when i click on "grant
    permission"Not sure what you're talking about, when I sing an applet and open it with IE and jre 1.5
    I get a window titled "Warning - Security". It askes me if I trust the signed applet and
    gives me the options yes, no and allways. But never got the "grant permission dialog".
    Here is how I signed the applet and got it to read local file system:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post

  • Signed Applet ClassNotFoundException

    I'm new to signed Applets and have ran into problems getting my Applet to load with IE Version 6. I create my jar (GUI.jar) and sign it using jarsigner and verify that the jar has a signature (see below).
    C:\mykeytools>jarsigner -keystore keys/my.keystore GUI.jar myalias
    Enter Passphrase for keystore:
    C:\mykeytools>jarsigner -verify -verbose GUI.jar
    272 Fri Jul 04 21:44:12 MDT 2008 META-INF/MANIFEST.MF
    439 Fri Jul 04 21:44:14 MDT 2008 META-INF/MYALIAS.SF
    925 Fri Jul 04 21:44:14 MDT 2008 META-INF/MYALIAS.RSA
    sm 3459 Wed Jul 02 19:48:16 MDT 2008 GUI.class
    sm 2937 Wed Jul 02 19:48:16 MDT 2008 GUI.java
    sm 232 Fri Jun 27 13:09:56 MDT 2008 .classpath
    sm 379 Fri Jun 27 13:09:56 MDT 2008 .project
    s = signature was verified
    m = entry is listed in manifest
    k = at least one certificate was found in keystore
    i = at least one certificate was found in identity scope
    jar verified.
    C:\mykeytools>
    I'm using the following in my HTML file:
    <APPLET CODE ="GUI.class" codebase = "." archive=&rdquo;GUI.jar" WIDTH=200 HEIGHT=253>
    </APPLET>
    I have also tried using the following HTML and get the same results:
    <APPLET CODE ="GUI.class" archive=&rdquo;GUI.jar" WIDTH=200 HEIGHT=253>
    </APPLET>
    The signed jar file and HTML file are in the same directory. When I execute the HTML file I get the following error:
    Java Console messages:_
    basic: Exception: java.lang.ClassNotFoundException: GUI.class
    java.lang.ClassNotFoundException: GUI.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any guidance on this is appreciated.

    I found that the problem was something in my HTML file.
    The HTML that works is:
    <html>
    <head>
    <meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <meta HTTP-EQUIV="Expires" CONTENT="-1">
    <title> Applet Test</title>
    </head>
    <applet code="GUI"
    archive="GUI.jar"
    width=400 height=300>
    </applet>
    <p><img border="0" src="Company.jpg" width="326" height="88"></p>
    </html>

Maybe you are looking for

  • Want to check on an order but don't have the order number

    I ordered a recovery disk yesterday.    Before I could write down the order number from the confirmation page I accidentaly clicked on something because I lost the page.    Course I got an email confirmation on the ac cord but I did not get an email

  • Mouse will wake not wake up mac mini

    Just purchased and hooked up a Gyration cordless optical air mouse and keyboard to my mac mini. The mini is connected to my television. When I put the mini to sleep I can not wake it back up with these devices. The light on the RF receiver hooked in

  • Moving all the points, in all instances, of a mask?

    Next dumb question... I've copied a series of masks over from one composition to another which uses footage that is slightly different. (the L and R in a stereo compostion). How do I move all the points in a mask, such that it will also move all the

  • Does anyone know why the Setting NAME & DESCRIPTION fields are grayed out?

    Hi, I'm using Compressor 3.0.5 and it works fine, except that I cannot reach the Settings "Name" or "Description" fields to alter them. As I'm going about finding the perfect setting for whatever application I need, I'd like to change the name and de

  • Database and " \ " character

    i hold my file addres as "myPicture\15001254.jpg" ,at jsp when i read it , it goes as ""myPictureh01254.jpg"" or some other string. "replace and translate ''\' '\\ " also does not work . any solution? ( without changing database records)