2 Replies Latest reply on Feb 7, 2005 10:19 PM by Norman Richards

    JBoss 4.0.1 JBossDukesBank EJB spec violation

    Jarva Jarva Newbie

      Hi!!

      I've this properties:

      JBoss 4.0.1
      j2sdk1.4.2_05

      Version Code: j2ee-1_4-doc-tutorial_4 (v4)


      When I try to deploy "JBossDukesBank.ear", I've these exceptions:

      [verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.
      
      09:14:24,683 WARN [verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.
      
      09:14:24,698 WARN [verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.
      
      09:14:24,714 WARN [verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.
      
      09:14:24,714 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.
      
      09:14:24,714 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.


      When I try it with version code 2, i've the same problems. I verify that i compile and execute with the same Java version...so...I don't know why i've this problems. :(

      Should try to modify de source code??

      Thanks.