1 Reply Latest reply on May 19, 2002 7:24 PM by Pouria Loghmani

    Problems with security manager whilst using EJBs in an appli

    Pouria Loghmani Newbie

      Could someone please help me with this one? It should be simple enough but I just cant get it to work. Someone?

      /regards Sparcy

      F:\java\AES2\dist>java -Djava.security.policy=java.policy -jar AES-StudentClient
      .jar
      javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundE
      xception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager
      : RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
      at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
      at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
      at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
      at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      at java.io.ObjectInputStream.readClassDesc(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      at java.io.ObjectInputStream.readSerialData(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(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 se.liu.ida.aes.ejb.cmp.student.StudentClient.main(StudentClient.java:
      54)