1 Reply Latest reply on May 5, 2003 3:33 AM by Stefan Meier

    Applet to EJB Security exception

    AJ Aw Newbie

      Hi,
      I wrote an applet to talk to an EJB, both of them on the same server. I get the following error message

      java.security.AccessControlException: access denied (java.language.RunTimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo).

      I also tried to sign the jar that contains the applet.

      Thanks in advance,
      -AJ

        • 1. Re: Applet to EJB Security exception
          Stefan Meier Newbie

          Hi AJ,

          Is your JBoss running on the same host you load the applet from? As far as I know you can only open connections to the host the applet was loaded from, even if the jar-file is signed. Make sure, you're using the same hostname for loading the applet and connecting to the EJB-Server.