3 Replies Latest reply on Nov 26, 2001 4:44 PM by 807592

    Applet works in Netscape but not Netscape 6

    807592
      I seem to be stumped on this problem. I do not know why this code works in NS4 but not NS6. The strange thing is, I know NS6 plays the applet becasue I have seen it working from a different domain name:

      Page I'm workin on: http://www.text2video.com/T2Vtest8.asp


      <applet CODE=SynthactorPlayer.class hspace="0" align="left" vspace="0"
           ALIGN=top
           ID="atFacePlayer"
           NAME="atFacePlayer"
           ARCHIVE=SynthactorPlayer.jar
           CODEBASE="http://www.text2video.com/jarfiles"
           WIDTH="180"
           HEIGHT="150"
           TITLE=Sally>
      <param NAME="scale" VALUE="2.2">
      <param NAME="mdlPath" VALUE="/<%=modelpath%>">
      <param NAME="avPath" VALUE="/<%=avpath%>">
      <param NAME="showCounters" VALUE="0">
      <param NAME="playMode" VALUE="1">
      <param NAME="bkgMode" VALUE="32">
      <param NAME="BackColorHex" VALUE="6192EF">
      <param NAME="xOffs" VALUE="0">
      <param NAME="yOffs" VALUE="15">
      <param NAME="playEveryFrame" VALUE="0">
      </applet>

      NS6 console gives me this:

      java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
           at java.security.AccessControlContext.checkPermission(Unknown Source)
           at java.security.AccessController.checkPermission(Unknown Source)
           at java.lang.SecurityManager.checkPermission(Unknown Source)
           at sun.applet.AppletSecurity.checkAccess(Unknown Source)
           at java.lang.Thread.checkAccess(Unknown Source)
           at java.lang.Thread.stop(Unknown Source)
           at SynthactorPlayer.stop(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      Exception caught

      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.audio)
           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.checkPackageAccess(Unknown Source)
           at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(Unknown Source)
           at s.f(Unknown Source)
           at s.a(Unknown Source)
           at t.a(Unknown Source)
           at u.d(Unknown Source)
           at u.l(Unknown Source)
           at u.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)