0 Replies Latest reply on Sep 17, 2002 2:05 PM by bombel

    CMP 1.1 finders problems in Jboss 3.0.2(works in 3.0.0)

    bombel

      For testing purposes I'm using CMP 1.1 ejbs.
      After moving application from Jboss 3.0.0 to 3.0.2
      I have a problems during calling finder methods.

      This method defined in home interface:
      public Collection findLessonTestsByLessonId(long lessonId) throws FinderException, RemoteException;

      Apropriate info in jaws.xml goes like:


      <ejb-name>LessonTestEJB1.1</ejb-name>
      ......
      ......

      findLessonTestsByLessonId
      lesson_id = {0}
      lesson_id



      ERROR stack trace:
      ---------------------------------------------------------------------------------------------
      LessonTest not found:Unknown query: public a
      bstract java.util.Collection com.dsrg.ejb.persistence.ejb1_1.lesson.LessonEJBHome.findLessonsByGroupId(long) throws
      javax.ejb.FinderException,java.rmi.RemoteException
      2002-09-16 16:19:09,727 [RMI TCP Connection(6)-192.168.24.118] ERROR - Calculating score estimation failed:null; Ca
      usedByException is:
      Unknown query: public abstract java.util.Collection com.dsrg.ejb.persistence.ejb1_1.lesson.LessonEJBHome.fi
      ndLessonsByGroupId(long) throws javax.ejb.FinderException,java.rmi.RemoteException
      javax.ejb.EJBException: null; CausedByException is:
      Unknown query: public abstract java.util.Collection com.dsrg.ejb.persistence.ejb1_1.lesson.LessonEJBHome.fi
      ndLessonsByGroupId(long) throws javax.ejb.FinderException,java.rmi.RemoteException
      at com.dsrg.ejb.laboratorycmp1_1.LaboratorySLBean.findLessonTestsForGroup(Unknown Source)
      at com.dsrg.ejb.laboratorycmp1_1.LaboratorySLBean.calculateGroupScoreEstimation(Unknown Source)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java
      :186)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.jav
      a:77)
      ------------------------------------------------------------------------------------------------------------------