John,
I guess the message is quite clear...
> Section: 9.2.8
> Warning: All the exceptions defined in the throws clause of an ejbFind
> method of the entity bean class must be included in the throws
> clause of the
> matching find method of the home interface.
Look at section 9.2.8 of the EJB 1.1 spec.
in short: exception on finder methods of the bean must be present on finder
declaration of the home.
Your bean finder declaration:
> public String ejbFindByPrimaryKey(String key) throws
> ObjectNotFoundException
=> ObjectNotFoundException may be thrown
Your home declaration for this finder:
> public Contact findByPrimaryKey(String primaryKey) throws
> RemoteException, FinderException;
Where is the ObjectNotFoundException declaration on this method declaration
of the home?
Sacha
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user