1 Reply Latest reply on May 14, 2002 4:00 AM by morten Matras

    Applet Client to EJB

    edwinzhang Newbie

      Hi

      I am using JBoss-3.0.0 RC1 with integrated Tomcat 4.0.3. I compile and run the applet to ejb example on online doc. Also copy the AppletEjbCaller.jar, jboss-client.jar, jboss-j2ee.jar, jbosssx-client.jar, jnp-client.jar, jndi.jar, jaas.jar and the HTML file into the root directory of the web pages. However, I keep getting following error message when I load applet and click "get server message" button:

      java.security.accesscontrolexception: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo)

      I tried to access the ejb using a java standalone application. It works fine.

      Any help is appreciated.

      Thanks