Signed applet stopped working in 1.4.2_04

We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception
java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkExec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at edu.nebraska.foundation.applets.AccessApplet.openNewSession(AccessApplet.java:35)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
     at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
     at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
     at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
     at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
.This was working in 1.4.2 and 1.3.1_08. Anyone else have this problem?

Sorry, copied and pasted the following, hope it helpes.
The following examples are for a win 2000 machine, for linux
you have to use alternative paths but I think the commands
are about the same.
The SUN jre doesn't care about IE settings, if an applet is signed it will ask the user "do you trust", if
the user chooses yes or always the applet can do pretty much anything.
Because anybody can sign an applet so it will pop up the do
you trust dialog I prevent this dialog from popping up by
adding the following to the
C:\Program Files\Java\j2re****\lib\security\java.policy
under grant { [/b]
[color red]
permission java.lang.RuntimePermission "usePolicy";
[color]
You now need to set up special permissions for sites that
need it, signed applets get no special treatment since you
specified in the java.policy that policy should allways be
used.
When your applet needs to do something it normally could
not do (applet security) [b]and it needs to do this
when a user clicks on a html button (applet method called
from javascript), than all the signing and policy settings
in the world wouldn't work Unless you grant all permission
to all code.
This is because the Java Plug-in executes methods with
applet sandbox security restrictions.
http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java-security&F=&S=&P=4012
To solve this you can start a new thread that checks ...
times a second if a variable meets certain conditions.
These conditions are changed with public methods called
from JavaScript. When a variable meets certain Conditions
this thread will start the method that will perform
normally restricted tasks.
Here is an example where the applet doesn't work
(the batchfile, html file are OK)
Note that running this code with Mozilla on my w2k machine
crashes Mozilla (not on my Fedora machine)
Batch file to sign the applet: (please note this will
delete some files)
del *.cer
del *.com
del *.jar
del *.class
javac -classpath ".;C:\Program Files\Java\j2re1.4.2_04\lib\plugin.jar" test.java
keytool -genkey -keystore harm.com -keyalg rsa -dname "CN=Harm Meijer, OU=Technology, O=org, L=Amsterdam, ST=, C=NL" -alias harm -validity 3600 -keypass pass -storepass pass
jar cf0 test.jar test.class
jarsigner -keystore harm.com -storepass pass -keypass pass -signedjar sTest.jar test.jar harm
del *.classThe html page:
<DIV id="dvObjectHolder">  </DIV>
<br><br>
<script>
if(window.navigator.appName.toLowerCase().indexOf("netscape")!=-1){ // set object for Netscape:
     document.getElementById('dvObjectHolder').innerHTML = "        <object ID='appletTest1' classid=\"java:test.class\"" +
                "height=\"0\" width=\"0\" onError=\"changeObject();\"" +
          ">" +
                "<param name=\"mayscript\" value=\"Y\">" +
                "<param name=\"archive\" value=\"sTest.jar\">" +
        "</object>";
}else if(window.navigator.appName.toLowerCase().indexOf('internet explorer')!=-1){ //set object for IE
     document.getElementById('dvObjectHolder').innerHTML =      "<object ID='appletTest1' classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"" +
               "         height=\"0\" width=\"0\" >" +
               "   <param name=\"code\" value=\"test.class\" />" +
                  "<param name=\"archive\" value=\"sTest.jar\">" +
               " </object>"
</script>
<LABEL id="lblOutputText">This text will be replaced by the applet</LABEL>
<BR>
<input value="Javascript to java" type=button onClick="document.appletTest1.fromJavaScript()"><br>The applet:
// new class for jsObject!!!! since 1.4.2 compile this:
// javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
// since jaws.jar does not exsist anymore
// to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
import netscape.javascript.*;
public class test extends java.applet.Applet {
    JSObject win;
    JSObject outputLabel;
    public void init() {
         try{
             win = JSObject.getWindow(this);
             outputLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
          outputLabel.setMember("innerHTML", "<center><h1>From Init<br>Your homedir " + System.getProperty("user.home") + "</h1></center>");
        }catch(Exception e){
             e.printStackTrace();
    public void fromJavaScript(){
         try{
                 outputLabel.setMember("innerHTML", "<center><h1>From javascript<br>Your homedir: "+ System.getProperty("user.home") + "</h1></center>");
        }catch(Exception e){
             e.printStackTrace();
}When you put the files in c:\temp, run the batch file to
compile and sign the applet and then open the html file you
will be asked if you trust ... you can say yes and from
init the applet can read user.home. Click on the button and
you will get the following stack trace:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
     at java.lang.System.getProperty(Unknown Source)
     at test.fromJavaScript(test.java:20)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
     at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
     at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.plugin.com.DispatchImpl.invoke(Unknown Source)Conclusion: the applet can read user.home but not from
JavaScript.
Here is the applet that does work because a method called
from javaScript doesn't perform a restricted task.
// new class for jsObject!!!! since 1.4.2 compile this:
// javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
// since jaws.jar does not exsist anymore
// to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
import netscape.javascript.*;
public class test extends java.applet.Applet {
     JSObject win;
     JSObject outputLabel;
     boolean buttonFromJavaClicked = false;
     checkJavaScriptEvent evt = new checkJavaScriptEvent();
     public void init() {
          try {
               evt.start();
               win = JSObject.getWindow(this);
               outputLabel =
                    (JSObject) win.eval("document.getElementById('lblOutputText')");
               outputLabel.setMember(
                    "innerHTML",
                    "<center><h1>From Init<br>Your homedir "
                         + System.getProperty("user.home")
                         + "</h1></center>");
          } catch (Exception e) {
               e.printStackTrace();
     public void fromJavaScript() {
          buttonFromJavaClicked = true;
     private void fromJavaScript2() {
          System.out.println("fromjavascript2 is started");
          try {
               String strLbl =
                    "<center><h1>From javascript<br>Your homedir: "
                         + System.getProperty("user.home")
                         + "</h1></center>";
               outputLabel.setMember("innerHTML", strLbl);
          } catch (Exception e) {
               e.printStackTrace();
     class checkJavaScriptEvent extends Thread {
          public void run() {
               while (true) {
                    if (test.this.buttonFromJavaClicked) {
                         System.out.println("OK buttonfromjava is true");
                         test.this.buttonFromJavaClicked = false;
                         test.this.fromJavaScript2();
                    try {
                         Thread.sleep(300);
                    } catch (Exception e) {
                         System.out.println("exception in sleep");
                         e.printStackTrace();
                         System.exit(1);
}

Similar Messages

  • Signed applet stopped working with 1.4.2_04

    We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at edu.nebraska.foundation.applets.AccessApplet.openNewSession(AccessApplet.java:35)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)This was working in 1.4.2 and 1.3.1_08. Anyone else have this problem?

    When you run this signed applet, turn on the Java console and tracing, you can type 5 in Java console during start up, what is the tracing statements, especial for the security.
    If the jar file has been signed and you see a security dialog box, then you should be able to give all permission to it to run.
    If no security dialog box popup, then JRE think the certificate is bad. no permission will give anyway.

  • Signed applet stopped working

    All
    I'm trying to modify a few class files for an application that is kicked off with an applet(uses servlets, etc..). Originally there was a certificate used to allow the applet to read files from the client. There's a JAR file on the server that contains the .class files that do the work. I changed and recompiled some of the .class files and added them to the JAR file using:
    c:>jar uf MyJar.jar Folder/Class1.class
    c:>jar uf MyJar.jar Folder/Class2.class
    c:>jar uf MyJar.jar Folder/Class3.class
    I replaced the old JAR file with the new one, and now I get the following Exceptions when I try to run the applet:
    ==========================================================
    Exception occured while trying to enable privelage : netscape.security.ForbiddenTargetException: User didn't grant the UniversalFileAccess privilege.
    Exception in getClassesDirectory() 1netscape.security.AppletSecurityException: security.checkread: Read of 'java\classes\' not permitted
    Exception in getClassesDirectory() 2netscape.security.AppletSecurityException: security.checkread: Read of 'C:\' not permitted
    Exception in getClassesDirectory() 3netscape.security.AppletSecurityException: security.checkread: Read of 'D:\' not permitted
    Exception occured while trying to enable privilege : netscape.security.ForbiddenTargetException: User didn't grant the UniversalFileAccess privilege.
    ==========================================================
    This applet is run from a Netscape 4.x browser. It worked fine before I changed the JAR file.
    All I did was recompile and add the new class files to the JAR file. Can anybody suggest why this applet was working before, but now I get these "netscape.security" Exceptions?
    Thanks in advance...

    You wrote:
    "All I did was recompile and add the new class files to the JAR file."
    Did you sign the new .jar-file after adding the new class files?
    If not, then have a look at the programs keytool.exe and jarsigner.exe which both come as a part of the Java SDK.

  • Signed applet not working in firefox - java.security.AccessControlException

    Hello,
    I have a signed applet that works fine in IE 7 but in Firefox I'm getting this exception in the java console:
    java.security.AccessControlException: access denied (java.net.SocketPermission myhost.com resolve)
    I already tried to run the applet with different JRE versions in Firefox with the same result: 1.6.0_01, 1.6.0_02, 1.6.0_03, 1.6.0_05
    I'll appreciate your help.

    thanx 4 replying
    using the browser to view Applet is not recomended that is because if u change the the source-code and recompile the applet then run it using the broswer it will run the old-version
    Also i've found the solution here
    http://www.cs.utah.edu/classes/cs1021/notes/lecture03/eclipse_help.html

  • NetworkManager/nm-applet stopped working suddenly

    Yesterday I powered on my computer only to discover that the wireless connection was no longer working. Here are some facts:
    "iwlist scan" is showing all networks correctly
    so is "nmcli con list"
    while nm-applet is not
    a wired connection is working perfectly (and nm-applet shows it)
    there were no package upgrades on the day it stopped working
    nm-applet displays errors like this on the console:
    * (nm-applet:1135): WARNING **: _nm_object_get_property: Error getting 'Flags' for /org/freedesktop/NetworkManager/AccessPoint/1033: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    Please assist.

    All I could google were relatively old bug reports and problems always appeared after upgrade of packages. Could you please point me to the reports you found?
    Anyway, I tried your suggestions and it didn't help, but before that it worked for a few minutes and stopped again. It's very frustrating that it started happen for no reason, if I wanted that kind of "surprises", I would use Windows...
    I assume it's not a hardware problem since the scanning itself is fine. But maybe I'm wrong. I will try the latest NetworkManager.
    Thanks for help.
    EDIT: The latest NetworkManager did not help either. I have uninstalled it and installed wicd, it's working great.
    Last edited by swiergot (2012-03-26 19:14:52)

  • Signed applet not working with weblogic 5.1

    I have a problem with a signed applet. The applet is signed correctly
    and it starts up the dynamic trust management console in java plugin
    1.3.1_02 when accessed locally with the browser. But when trying to
    access the applet through weblogic (5.1) the dynamic trust management
    doesn't popup, as if the applet is not recognized as signed. In the
    weblogic policy file in WLS I have set permissions to include the
    applet class (AllPermission given to codeBase https://-, and file:/-
    to be sure that it's not the problem).
    I have tryed to run it under both http and https. I'm not making an
    rmi connection back to WL. I'm simply trying to write on the local
    file system with the applet.
    The error received in the javaconsole is java.lang.SecurityException:
    java.lang.SecurityException: Unable to create temporary file
         at java.io.File.checkAndCreate(Unknown Source)
         at java.io.File.createTempFile(Unknown Source)
         at java.io.File.createTempFile(Unknown Source)
         at com.primelog.applet.DirectPrintAppletSigned.downloadFileToPrint(DirectPrintAppletSigned.java:64)
         at com.primelog.applet.DirectPrintAppletSigned.run(DirectPrintAppletSigned.java:32)
         at java.lang.Thread.run(Unknown Source)
    I really apreaciate any tips you might have!

    yeah. I noticed the same thing. now the splash screen comes on without the flashing green squares and just hangs. i tried unintalling and then reinstalling and still no go. kind of annoying but they will probably come out with an update pretty soon

  • Right click for copy/paset on signed applet not working

    Hi Guys,
    I have an application which runs forms containing different controls like text fields, text areas etc. The forms are rendered in applets in Windowos 7. After upgrading to JRE1.7u45 the right click menu containing copy/paste options which used to appear when any right click done inside textfield or other control has disappeared except for textarea controls. Interestingly the right click is working inside TextArea but not in other controls.
    My Applet is digitally signed(Verisign) and all permissions set. I have also tried accessClipboard permission in my .java.policy file to no avail.
    My applet code is rather old. We tried to upgrade JDK to 1.7u45 to compile and sign the JAR but we got few errors so we used JDK 1.3 to compile the JAR and 1.7u45 to sign the JAR file. Can this be a cause for right click menu not working?
    Please suggest/advise on this.
    Thanks,

    Hi Guys,
    I have an application which runs forms containing different controls like text fields, text areas etc. The forms are rendered in applets in Windowos 7. After upgrading to JRE1.7u45 the right click menu containing copy/paste options which used to appear when any right click done inside textfield or other control has disappeared except for textarea controls. Interestingly the right click is working inside TextArea but not in other controls.
    My Applet is digitally signed(Verisign) and all permissions set. I have also tried accessClipboard permission in my .java.policy file to no avail.
    My applet code is rather old. We tried to upgrade JDK to 1.7u45 to compile and sign the JAR but we got few errors so we used JDK 1.3 to compile the JAR and 1.7u45 to sign the JAR file. Can this be a cause for right click menu not working?
    Please suggest/advise on this.
    Thanks,

  • JRE 6 freeze browsers and Java Control Panel Applet stops working!

    Hello,
    this is the second time I got this problem with Java JRE 6 ! First one was a month or two ago:
    I have Java JRE 6 update 20 installed on a Windows 7 64bit ultimate. It was working...much time ago...then i found my browser (firefox, google chrome or IE8) was freezing when I open java application or test pages. I tried uninstalling it, cleaning the system with Revo Uninstaller, or CCleaner or JavaRA and reinstalling with no luck. The other problem is the same that user Mass8 had (http://forums.sun.com/thread.jspa?threadID=5372196&start=15&tstart=0)
    ...my java control panel applet is not working and give me this:
    http://www.iouppo.com/lite/pics/df9b61008b5bf9de61a13d8bfa3ddad1.jpg
    I tried disabling UAC, running JRE, starting Win7 in safe mode with network...but browser always freeze. It's not a true freeze, with CPU busy at 100% (cpu stays in idle) but it seems to wait for something. It's not a problem with video card driver on my machine, because I can start java control panel from command prompt...and without the noddraw switch, using this command:
    javaw -Xbootclasspath/a:..\lib\deploy.jar -Duser.home="%HOMEDRIVE%%HOMEPATH%" com.sun.deploy.panel.ControlPanel
    This was the description of my first time.....then I replaced my system with an Acronis image...and I used the system for sometimes....and Java was working until 3-4 days ago! So I did another image of the system with all things working.
    Then this morning...I tried the java test page.....and surprise! It's not working anymore!
    In these days I think I only disabled UAC and Account virtualization....maybe JAVA saves things there...and then when I disabled UAC (Windows7 deleted those folders and files) it can't find there anymore???? Who can help me?
    I don't want to restore my image every month!
    My system is 100% virus free and from the last image restoration I didn't visit suspicious sites and so on....I have antivirus and antispyware software...all is perfectly CLEAN. Any ideas or things to try?

    I'm beginning to think it's something related to Hybernation after using JAVA....I'm using it very often...and if I use it...and I suspect Java is KO...i try control panel and it doesn't works....then I try with browser and it freeze (or keep waiting...and i can only force to close it)
    THEN,
    when I reboot my system I get this window
    http://www.iouppo.com/lite/pics/09501eb799c165bb25ece8fd3261e41c.jpg
    suggesting me to rename the folder C:\Program in C:\Program1 ...and if i don't rename it...java will never work...instead if I allow it...Windows will fix it!......This until...the next hybernation....:(....
    try to replicate this...maybe I found where is the problem..

  • Single Sign-on stops working after updating to 10.4.7

    Well, I'm fresh off the AFP won't start bug in 10.4.6. Now that this bug is fixed in 10.4.7, we have a new problem. It appears that on our OD Replica, single sign-on doesn't work for AFP mounts through the Apple-K method (user home directories work just fine). If a user wishes to mount an AFP share using Apple-K, he/she must re-authenticate a second time. What's more, the user MUST use his/her SHORT name to authenticate, or else the server rejects the attempt.
    We tried demoting the OD Replica and then re-promoting it, but this did not solve the issue. The logon issue appears to affect 10.3 and 10.4 clients.
    I believe that this might be a problem with the kerberized AFP (that is, it's not kerberized but should be). Any ideas on how to fix this?
    Dual 2Ghz G5     10.4.7 Server

    spent the weekend trying to troubleshoot this issue. I opened a case with AppleCare, and together, we found some interesting information. Kerberos/single sign-on/promotion to OD Master from Standalone server does NOT work under 10.4.7 Server if DNS is not set up and running on the 10.4.7 Server itself. For example, our DNS is running on a Windows Server platform. When pointing the OS X Server to the Windows servers for DNS, the Mac kerberos services refused to work. When installing DNS on the Mac server and pointing it to itself for DNS resolution, things worked fine.
    On a side note, I had to completely re-set up two Mac servers from scratch after trying to promote either one to an OD Master/Kerberos/single sign-on. Something got VERY corrupted in there.
    We never saw this behavior under any other 10.4.x build or 10.3.x build. This appears to have started in 10.4.7.

  • Suddenly applet stopped working on IST 13 Sept 2012 12:25 in 50% Linux Machines

    I am using Applet for Raw Dot Matrix Printing. I.e. Its like "lpr test.txt " in linux.
    Few days back on 14th august you have disabled the applet. As per forum we have enabled it. Now same issue arrived on 13 Sept 2012 at 12:25 ... Please help me why this happned !!! I can not change the applet as it is working from last 4 years. Same is installed is around 600 machines. Its difficult to write another program ... Please suggest what to di?

    Which version of Java are you using? How did you enable the applet?

  • Why has my Java3d applets stopped working on Vista?

    I made a collection of 3d applets a few years ago for my site
    http://www.astralvisuals.com
    They work on XP, but when I test them on Vista, they don't work anymore.After the applet has printed out "applet started" the browser window crashes. Try the first applets on this page
    http://www.astralvisuals.com/Tunnels.htm
    and see for yourself. What can I do to make the applets work on Vista?

    Windows Vista has a change in the kernel that causes some programs to fail to start or fail to run correctly. for example, Nortan Antivirus 07 won't run on vista without a patch because vista has what microsoft calls "a protected kernel".
    These new protection features are probably to blame (I use Linux, and I liked your website).
    So, you need to wait for the Java3D developers to patch the Windows version for the new vista shell.
    It could take a while.

  • Signed Applet running in weblogic server

    Hi ,
    Im a newbie with applet. Can anyone help me to clarify below question.
    1. I have signed applet compile with jdk 1.4.2. It its running fine with JRE 1.4 and 1.4.2. However i need to upgrade the applet so that it can support JRE 1.6. Can anyone guide me regarding this issue as the applet will close if i running in jre 1.6. I got the below exception
    java.io.FilePermission<<allFiles>> execute.
    2. As i know, If i compiled the applet again, i need to signed the ja againr. I tried once and got below exception
    ClassNotFoundException. can anyone give any idea how resolved this problem. Fyi, im using weblogic server 8.1
    Thanks.
    Regards

    Normally, a 1.4 compiled and signed applet should work just fine under 1.6. No need to recompile and resign.
    This is in theory and in my practice with my applets. Since you do have problems, please post here (copy and paste, don't paraphrase) full stack traces of the errors and relevant code where the error occurs.

  • Multiple signed applets

    Hello,
    I'm having trouble trying to get my signed applet to work. Here's my situation:
    I've created a signed .jar file that relies on classes in another .jar file. The second .jar file comes from a 3rd party and is signed by them. I'm using IE. When trying to access the applet, I get a security dialogue box that prompts me if I want to trust the signed applet signed by me. I click yes and get an error in the java console window
    java.lang.NoClassDefFoundError: netscape/security/AppletSecurityException
    at java.lang.Class.forName0(Native Method)
    I'm assuming this is because of the 3rd pary .jar file I'm trying to use. I was not prompted to trust this .jar file. Should I have been? i have listed this other .jar file in the html file as one of the archives. Should I be using .cab files instead? What is the proper way to construct the html file when using multiple signed .jar files (signed by different parties) in conjunction with IE?
    I've gotten another simple signed applet in the form of a .jar file to work with IE just fine. But, it didn't rely on a signed 3rd part .jar file.
    Any help is greatly appreciated.
    thanks!
    -jeff

    The ClassNotFoundException for Netscape should be handled in a catch block when running in IE's native JVM. This is a bug in the code.
    You can run multiple signed applets in IE. There's no special HTML syntax to do so, just multiple applet tags. Generally, it will prompt you to accept permissions for each signed codebase.
    Eimhin

  • Signed applet communication on Mac

    In Denmark homebanking is goin on the net with NetBank. My bank postulates that Mac users cannot participate, as signed applet communication is not supported on Macs.
    I find it hard to believe an suspect that ActiveX components are the crook here.
    Can anybody confirm my suspicion. Or clear my Bank :-)
    I am Macin' 9.0.4ie - MRJ 2.2.5 . Explorer 5.0 or Netscape 6.0

    The bank probably says that because it doesn't have any Macs to test it on. Signed applets do work on Macs. However, not all of JRE 1.1 may be implemented in NS 4 or IE 5.0.
    I think providing applet only access to Netbanking is a really dumb idea. Fortunately, my bank has not gone the applet route and I can use netbanking services just fine on my Mac with 128 bit encryption.
    If I were you, I would just switch to a bank that is more Mac friendly...

  • Signed applet - NO Grant access dialog

    I've develped a signed applet which works with the java plugin 1.3.1 and a self signed certificate. while developing i followed the description from irene67 in this forum. every thing works perfektly apart from the grant access dialog. after installing my certificate and starting my applet nothing happens appart from an file.io.exceptino (access denied)! i've tried out everything i could find in about 200 articels in several forums. but in the meantime i have no idea what i can do! may be anybody can help me!

    At some point the Plug-in switched from using the Windows Certificate Manager to using the cacerts file. If you're using Plug-in 1.3.1, then it's using the cacerts file to determine whether the jar is signed with a certificate chain that ends with a trusted ca. Use keytool to import your certificate into cacerts. If you've already tried that, then maybe list the commands that you've issued in your attempt so we can have a look.

Maybe you are looking for

  • Balance interest and itom interst caluculation and differences

    hi balance interest and itom interst caluculation and differences

  • Using Subcontracting with Sales Order Stock

    Hi SDN Network, We use the made to order setup so run MRP with the Sales Order as the basis of the demand. After that, we avail the services of a subcontractor to assemble the finished goods although we supply the subassembly and raw matls. The PR ge

  • MDT - Custom Reference Image does not work with Task Sequence, normal Windows 7 Enterprise Iso media works fine.

    Hi, Our MDT server is acting strange! I have previously had this system running without problem - i could both capture and deploy computers as is and no changes have been made to mdt. But my latest capture does not work. When i capture my reference m

  • DELIVERY QUERY

    Hi Experts, I have attached screen shots of activities I have done. I want a query that when an Item is picked and its not a number when the quantity changes it will fill the UDF with the Name without making a subtraction. But with the value one when

  • Mail wont show RSS feeds?

    Mail on my laptop will show my RSS feeds fine but on my iMac it will not; is this a known issue that someone has a resolution for? I dont even have the little "RSS" drop down on my iMac though my prefs clearly show that I have mail selected as my RSS