[jboss-dev-forums] [Design of EJB 3.0] - Why is this ejb2 deployer failing with an annotation signatu

scott.stark@jboss.org do-not-reply at jboss.com
Wed Nov 1 00:06:42 EST 2006


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
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982281#3982281

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982281



More information about the jboss-dev-forums mailing list