0 Replies Latest reply on Dec 15, 2004 12:17 PM by yang guo

    need help here !

    yang guo Newbie

      Hi all,

      i have faced the following exception

      java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.EntityProxy (no security manager: RMI class loader disabled)

      could i know what is this exception ?

      I am using CMP. I have an entity bean(User) and a session bean(UserFacade). A client will access the finder method in entity bean(User) through UserFacade. When i use a test client, the above exception has been throwed.

      What the finder method do is it will return a list of user. The ejbQL is as follow:

      SELECT OBJECT(c) FROM User c

      The following is the getUser method in sessionBean (User Facade)

      public ArrayList getUser() {
      ArrayList a = new ArrayList();
      //perform look up userhome interface
      a = (ArrayList)uh.findUser();
      } catch(Exception ex) {
      System.out.println("getUSer(): arraysize is "+a.size());
      return a;

      I can get the array size within UserFacade; however, i can't print it within the test client.

      thx in advance