2 Replies Latest reply on May 14, 2002 4:05 AM by morten Matras

    Applet to EJB Comunication; java.security.AccessControlExcep

    LG Newbie

      Hello

      I get the error message:

      java.security.AccessControlException: access denied (java.io.FilePermission \E:\JBoss\jboss\tmp\deploy\Default\myApp.ear\- read)

      at java.security.AccessControlContext.checkPermission(Unknown Source)

      at java.security.AccessController.checkPermission(Unknown Source)

      at java.lang.SecurityManager.checkPermission(Unknown Source)

      at sun.rmi.server.LoaderHandler$Loader.checkPermissions(Unknown Source)

      at sun.rmi.server.LoaderHandler$Loader.access$000(Unknown Source)

      at sun.rmi.server.LoaderHandler.getClassLoader(Unknown Source)

      at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)

      at java.io.ObjectInputStream.inputProxyClassDescriptor(Unknown Source)

      at java.io.ObjectInputStream.readObject(Unknown Source)

      at java.io.ObjectInputStream.readObject(Unknown Source)

      at java.io.ObjectInputStream.inputObject(Unknown Source)

      at java.io.ObjectInputStream.readObject(Unknown Source)

      at java.io.ObjectInputStream.readObject(Unknown Source)

      at java.rmi.MarshalledObject.get(Unknown Source)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at VorverarbeitungStatus.jButton_start_mouseClicked(VorverarbeitungStatus.java:114)

      at VorverarbeitungStatus$1.mouseClicked(VorverarbeitungStatus.java:68)

      at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)

      at java.awt.Component.processMouseEvent(Unknown Source)

      at java.awt.Component.processEvent(Unknown Source)

      at java.awt.Container.processEvent(Unknown Source)

      at java.awt.Component.dispatchEventImpl(Unknown Source)

      at java.awt.Container.dispatchEventImpl(Unknown Source)

      at java.awt.Component.dispatchEvent(Unknown Source)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

      at java.awt.Container.dispatchEventImpl(Unknown Source)

      at java.awt.Component.dispatchEvent(Unknown Source)

      at java.awt.EventQueue.dispatchEvent(Unknown Source)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

      at java.awt.EventDispatchThread.run(Unknown Source)


      if I try to accomplish a LookUp on my Sessionbean. The jboss-client.jar, jnp-client.jar, etc. are available in my war-file.

      help please...........