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
[7/4/23, 18:18:28:117 EDT] 0000005b com.ibm.ejs.container.LocalExceptionMappingStrategy E CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage". Exception data: javax.ejb.EJBException: The EJB reference in the ConsumerMDB component in the test.jar module of the test application could not be resolved; nested exception is: com.ibm.ejs.container.EJBNotFoundException: CNTR4012E: The ejbModule.com.solace.sample.Producer remote interface for the ProducerSB enterprise bean in the test.jar module in the test application could not be obtained for injection because remote interfaces are not supported by any of the features configured in the server.xml file.
I am following the Websphere Liberty integration guide: https://codelabs.solace.dev/codelabs/websphere-liberty/index.html?index=..%2F..index#4
I found that when enabling javaee-8.0 in server.xml:
It returns below error when running the samples:
[7/4/23, 18:18:28:117 EDT] 0000005b com.ibm.ejs.container.LocalExceptionMappingStrategy E CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage". Exception data: javax.ejb.EJBException: The EJB reference in the ConsumerMDB component in the test.jar module of the test application could not be resolved; nested exception is: com.ibm.ejs.container.EJBNotFoundException: CNTR4012E: The ejbModule.com.solace.sample.Producer remote interface for the ProducerSB enterprise bean in the test.jar module in the test application could not be obtained for injection because remote interfaces are not supported by any of the features configured in the server.xml file.
If I remove javaee-8.0 and add following instead:
The samples works fine. I am using Websphere Liberty 23.0.0.5.
The text was updated successfully, but these errors were encountered: