I began to use JBoss and I've got a problem to deploy a CMP EJB with a finder method. I thought I'd written correctly the code but when I deploy it I get the following error message :
"Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Query method not found
i've created the Finder method FindByNom by myself. It's in my Home and Local Home interfaces with the following signature :
public java.util.Collection findByNom(java.lang.String nom) throws javax.ejb.FinderException;
I've created in ejb-jar.xml the following code under the other query method finAll() :
<ejb-ql><![CDATA[SELECT OBJECT(a) FROM mySchema as a WHERE a.nom = ?1]]></ejb-ql>
But it doesn't work. Any Ideas ?
Thanks for your further help.