Hello Jochen,
It seems that CheckEJB recognize your enterprise bean as a bean
with bean-managed persistence instead of a bean with
container-managed persistence.
Could you check the ContainerManagedFields attribute in the deployement
descriptor is filled with the list of container-managed fields of the bean,
as for example:
ContainerManagedFields = {fieldOne; fieldTwo; fieldFour; };
Best regards,
H�l�ne.
> Jochen Vastmans wrote:
>
>
> Hi,
>
> I'm trying to make some container managed beans.
> When i use the tool CheckEJB on my serialized deployment descriptor
> i get the following errors:
>
> Error: The return type of an 'ejbCreate' method must be the Primary Key type
> for Enterprise Beans with bean-managed persistence
> Method: public void
> compactdisc.CompactDiscBean.ejbCreate(long,java.lang.Strin
> g,java.lang.String,java.lang.String,int,double,int,int) throws
> java.rmi.RemoteEx
> ception
>
> Error: The Enterprise Bean class must define the 'ejbFinder<Method>' method
> associated to
> public abstract java.util.Enumeration
> compactdisc.CompactDiscHome.findAll
> CompactDiscs() throws java.rmi.RemoteException,javax.ejb.FinderException
> ...
>
>
> all those find methods are in my properties file why do i get those errors?
>
> Jochen Vastmans
> [EMAIL PROTECTED]
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________