1 Reply Latest reply on Jul 3, 2003 3:14 AM by adrian.brock

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

    kilkenny

      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:

      java.lang.reflect.UndeclaredThrowableException
      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:
      @ejb.finder
      signature="Collection findAll()"
      query="SELECT OBJECT(stud) FROM Student AS stud"
      unchecked="true"

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

      does anybody know the problem?
      regards, adrian