[jboss-user] [EJB 3.0] - Re: Exception initializing interceptors (EJB3InterceptorsFac
pdeshmuk
do-not-reply at jboss.com
Fri Sep 5 15:28:35 EDT 2008
Upon further digging, the root cause seems to be the PostConstruct annotated method not liking the ejbCreate method signature (the fact that it throws checked exceptions):
Caused by: java.lang.RuntimeException: @javax.annotation.PostConstruct annotated method has the wrong signature - public void com.creativesolutions.ems.prsbtaxtracking.ejb.PRSBTaxTrackingControllerBean.ejbCreate() throws javax.ejb.CreateException,java.rmi.RemoteException,javax.naming.NamingException
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository$ContainerInitialiser.resolveLifecycleMethod(InterceptorInfoRepository.java:782)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitialiser.resolvePostConstruct(InterceptorInfoRepository.java:714)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitialiser.getInfo(InterceptorInfoRepository.java:688)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialiseFromAnnotations(InterceptorInfoRepository.java:481)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getOrInitialiseFromAnnotations(InterceptorInfoRepository.java:466)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getBeanClassInterceptors(InterceptorInfoRepository.java:161)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository.getBeanClassAroundInvokes(InterceptorInfoRepository.java:136)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerJoinpoint(EJB3InterceptorsFactory.java:101)
| ... 148 more
Any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174715#4174715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174715
More information about the jboss-user
mailing list