1 Reply Latest reply on Jul 3, 2003 3:14 AM by Adrian Brock

    ClassNotFoundException: org.jboss.ejb.plugins.local.EntityPr

    Adrian Newbie

      hi there!

      i have a strange exception using my finder-methods. the application deploys just fine, i can access my session bean, create and remove entities, findByPrimaryKey() is working but findAll() and any other finder-method throws the following error:

      at $Proxy1.listStudents(Unknown Source)
      at PartyClient.main(PartyClient.java:95)
      Caused by: java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.EntityProxy (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:368)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159)

      my jndi properties should be ok. first of all i thought it may be a classpath problem, but it don't think that's the case... any ideas?

      i use xdoclet to generate the finders:
      signature="Collection findAll()"
      query="SELECT OBJECT(stud) FROM Student AS stud"

      signature="Collection findStudentsbyLastName(java.lang.String name)"
      query="SELECT OBJECT(stud) FROM Student AS stud WHERE stud.particulars.lastName = ?1"

      does anybody know the problem?
      regards, adrian