1 Reply Latest reply on Nov 30, 2001 2:07 AM by Sacha Labourey

    Applet-EJB Communcation

    Sanjit Singh Newbie

      hi,
      I am using jboss2.4.3 with tomcat 3.2
      I have a problem that creeps up only sometimes and not always. When my applet tries to access the EJB, it gives the following error (only sometimes):

      java.security.AccessControlException: access denied (java.io.FilePermission \jboss\tmp\deploy\Default\test.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 resourceMgm.resourcetree.init(resourcetree.java:44)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)


      If someone has an idea how to solve it, then I would be grateful if you could help me out as well.
      Thanks!
      Sanjit