You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpringBeanAutowiringInterceptor.autowireBean() should rethrow caught exceptions wrapped in EJBException and it shouldn't have any application exceptions declared.
Part of logs from websphere 6.1 with EJB3 feature pack:
WSVR0068E: Attempt to start EnterpriseBean TestEAR#TestEJB.jar#MyBean failed with exception: com.ibm.ejs.container.EJBConfigurationException: PostConstruct interceptor "public void org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(javax.interceptor.InvocationContext) throws java.lang.Exception" must not throw application exceptions.
at com.ibm.ws.metadata.ejb.InterceptorMetaDataHelper.validateLifeCycleSignatureExceptParameters(InterceptorMetaDataHelper.java:1306)
at com.ibm.ws.metadata.ejb.InterceptorMetaDataHelper.validateLifeCycleSignature(InterceptorMetaDataHelper.java:1389)
at com.ibm.ws.metadata.ejb.InterceptorMetaDataFactory.addInterceptorProxies(InterceptorMetaDataFactory.java:2160)
[...]
Michal Fijas opened SPR-5412* and commented
SpringBeanAutowiringInterceptor.autowireBean() should rethrow caught exceptions wrapped in EJBException and it shouldn't have any application exceptions declared.
Part of logs from websphere 6.1 with EJB3 feature pack:
WSVR0068E: Attempt to start EnterpriseBean TestEAR#TestEJB.jar#MyBean failed with exception: com.ibm.ejs.container.EJBConfigurationException: PostConstruct interceptor "public void org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(javax.interceptor.InvocationContext) throws java.lang.Exception" must not throw application exceptions.
at com.ibm.ws.metadata.ejb.InterceptorMetaDataHelper.validateLifeCycleSignatureExceptParameters(InterceptorMetaDataHelper.java:1306)
at com.ibm.ws.metadata.ejb.InterceptorMetaDataHelper.validateLifeCycleSignature(InterceptorMetaDataHelper.java:1389)
at com.ibm.ws.metadata.ejb.InterceptorMetaDataFactory.addInterceptorProxies(InterceptorMetaDataFactory.java:2160)
[...]
Affects: 2.5.6
Sub-tasks:
2 votes, 2 watchers
The text was updated successfully, but these errors were encountered: