2 Replies Latest reply on Nov 1, 2006 12:47 PM by Scott Stark

    Why is this ejb2 deployer failing with an annotation signatu

    Scott Stark Master

      The jsr77 MEJB is failing to deploy with the following exception:

      20:58:26,704 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=ejb-management.jar,name=MEJB,service=EJB3 with dependencies:
      ...
      Caused by: java.lang.RuntimeException: @javax.ejb.PostActivate annotated method
      has the wrong signature - public void org.jboss.management.mejb.MEJBSession.ejbA
      ctivate() throws javax.ejb.EJBException
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository$ContainerInitial
      iser.resolveLifecycleMethod(InterceptorInfoRepository.java:754)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitia
      liser.resolvePostActivate(InterceptorInfoRepository.java:685)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitia
      liser.getInfo(InterceptorInfoRepository.java:654)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialiseFromAn
      notations(InterceptorInfoRepository.java:479)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getOrInitialiseF
      romAnnotations(InterceptorInfoRepository.java:464)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getBeanClassInte
      rceptors(InterceptorInfoRepository.java:159)
       at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getBeanClassArou
      ndInvokes(InterceptorInfoRepository.java:134)
       at org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerJoinpoint
      (EJB3InterceptorsFactory.java:99)
       ... 48 more