0 Replies Latest reply on Feb 20, 2004 5:23 AM by sargonnath

    implement SessionBean and ejbCreate not reconized on Bean du

    sargonnath Newbie

      Hello !

      I try to deploy a bean on JBoss 3.2.3 but I receive these messages:

      11:51:08,583 WARN [verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 7.10.2
      Warning: A Session bean must implement, directly or indirectly, the javax.ejb.SessionBean interface.

      11:51:08,613 WARN [verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 7.10.3
      Warning: A Session bean must define at least one ejbCreate method.

      But the CustomerBean I deploy really implement SessionBean and define the
      public void ejbCreate ()
      method.

      The functions of JBoss that check if the bean is assignable from javax.ejb.Session bean fails, I don't understand why.

      If I write a test program that check if my CustomerBean is assignable from javax.ejb.SessionBean, in the same way that I saw it's done in the JBoss sources files (EJBVerifier20.java and AbstractVerifier.java), the program see CustomerBean as assignable.

      What my trouble can be?

      Thanks in advance for your help !

      Marc.