0 Replies Latest reply on Jul 9, 2003 2:08 PM by Maurice Perry

    migration from JBoss 2.4.7 to JBoss 3.2.1

    Maurice Perry Newbie


      I am trying to port an application using CMP entity beans from JBoss 2.4.7 to JBoss 3.2.1. I am still using CMP 1.x for the moment.

      The application is deployed without any error message, but when I try to call a finder method of the home object, I get the following exception with JBoss 3.2.1:

      javax.ejb.FinderException: Unknown query: public abstract java.util.Collection apogia.RoomHome.findByQuery(java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Double,java.util.Date,java.util.Date) throws java.rmi.RemoteException,javax.ejb.FinderException

      The jaws.xml file contains the following definition:



      ({0} is null or category={0}) and
      ({1} is null or rating&gt;={1}) and
      ({2} is null or name={2}) and
      ({3} is null or city={3}) and
      ({4} is null or state={4}) and
      ({5} is null or country={5})

      state desc


      (x &gt;= {0}-8) and (x &lt; {0}+8) and
      (y &gt;= {1}-8) and (y &lt; {1}+8)

      state desc

      can anyone help ?