I have some EJB .jars, plus .jar with remote interfaces in server/<my_conf>/lib. Everything is fine
If I move those EJB .jars into single .ear - deployment starts failing:
2013-05-15 16:17:28,549 WARN [.ejb.EJBDeployer.verifier] EJB spec violation:
Bean : AuditLogRecord
Method : public abstract AuditLogRecord findByPrimaryKey(AuditLogRecordPK) throws FinderException, RemoteException
Warning: Each finder method must match one of the ejbFind<METHOD> methods defined in the entity bean class.
as I understand, this is classloading problem, I tried both values for java2ParentDelegation but no luck
This was caused by two copies of AuditLogRecordPK.class in server/<my_conf>/lib and in EJB .jar
Retrieving data ...