1 Reply Latest reply on May 20, 2013 9:09 AM by kkkppp

    Jboss 4.2.2 - moving EJB to EAR causes verification failure

    kkkppp

      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

      Section: 12.2.9

      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