Dear friends, i get the following error when i try to deploy my .ear file on jboss 3.0 & tomcat!
org.jboss.deployment.DeploymentException: Could not find matching method for public abstract java.util.Collection com.bussa.entities.interfaces.UserRemoteHome.getselectedusers() throws java.rmi.RemoteException the following is my home interface...please look at the home method getselectedusers() ------------------------------------- public interface UserRemoteHome extends EJBHome { public UserRemote create(String s, String s1, String s2, int i, int j, int k) throws CreateException, RemoteException; public UserRemote findByPrimaryKey(String s) throws FinderException, RemoteException; public UserRemote findByIdentity(String s) throws FinderException, RemoteException; public Collection getselectedusers() throws RemoteException; } The relevant part of my bean implementation class -------------------------------------------------- public Collection ejbHomegetselectedusers() throws RemoteException { try{ Collection collection = ejbSelectUsers(1, 1, 1); return collection; } catch(FinderException fe) { return null; } } the relevant part of my ejb-jar.xml file ----------------------------------------- <query-method> <method-name>ejbSelectUsers</method-name> <method-params> <method-param>int</method-param> <method-param>int</method-param> <method-param>int</method-param> </method-params> </query-method> <ejb-ql><![CDATA[ SELECT user.userName FROM UserTable user WHERE user.controlUsersFlag = ?1 AND user.controlCasesFlag = ?2 AND user.createModeratorFlag = ?3]]> </ejb-ql> Thanks in advance! alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852425#3852425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852425 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user