1 Reply Latest reply on Aug 6, 2002 1:25 PM by dsundstrom

    Jboss 3.1.0alpha Customer finders

      I am using Xdoclet to create my interfaces, CMP, etc. I created a finder method that should return a collection but the error I get is:

      javax.ejb.FinderException: Unknown query: public abstract java.util.Collection test.testLocalHome.myFinder(int)

      1. My testLocalHome does have this method defined
      2. The jaws.xml have a declaration for the the finder:

      myFinder
      <![CDATA[appId = {0}]]>



      What am I doing wrong?

      Thanks
      JG

        • 1. Re: Jboss 3.1.0alpha Customer finders
          dsundstrom

          This looks like a JBossCMP error. Are you sure you are using JAWS? JBossCMP is now the default persistence engine for EJB 2.0 applications and JBossCMP uses the jbosscmp-jdbc.xml file for configuration. See the quick start guide for more information on the jbosscmp-jdbc.xml file.