2 Replies Latest reply on Dec 20, 2002 4:56 AM by Tin Blaskovic

    ejb-jar.xml WITH jbosscmp-jdbc.xml

    bergia Newbie

      Hi !

      Until today, I used to declare my finders in ejb-jar.xml using EJB QL. But now I have to use jbosscmp-jdbc to
      write some of my finders with request that are not supported by EJB QL.

      So I have some finders declared into ejb-jar.xml AND other one into jbosscmp-jdbc.xml. But when I deploy my jar file, I have that kind of message :

      "[ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=local/PersonCharacteristics
      org.jboss.deployment.DeploymentException: Unknown query method : public abstract java.util.Collection PartyAmendmentCharacteristicsVersionHome.findByFirmAmendmentOrPersonAmendmentAndDate(java.lang.Integer,long) throws javax.ejb.FinderException"

      There is a lot of messages of this type, for each finders, even the only one declared into jbosscmp-jdbc.xml.

      Is it because I'm using ejb-jar.xml featuring jbosscmp-jdbc.xml ?
      Or maybe because I have to specify to JBoss to take care of jbosscmp-jdbc.xml ?

      Thx for you help ;)