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
Omnifaces (tested with v2.3) tries to connect to CDI via JNDI, which is ok for JavaEE containers, but that dependency is not obvious from the documentation.
I tried running a JSF application as a self-contained-application in an embedded container (Jetty in my case), and Omnifaces failed because "CDI was not available" (as documented on http://omnifaces.org/cdi/). The actual reason was that CDI was not found via JNDI.
As per #243, OmniFaces 2.4 don't require JNDI anymore when Weld is used. Please try 2.4-RC1 on your Jetty and let me know.
CDI.current() is planned for later. As of now, beans.xml is still conform CDI 1.0 for better backwards compatibility with TomEE 1.7.x. But as TomEE 7.0 is already final now, I will certainly revise it for OmniFaces 2.5.
Omnifaces (tested with v2.3) tries to connect to CDI via JNDI, which is ok for JavaEE containers, but that dependency is not obvious from the documentation.
I tried running a JSF application as a self-contained-application in an embedded container (Jetty in my case), and Omnifaces failed because "CDI was not available" (as documented on http://omnifaces.org/cdi/). The actual reason was that CDI was not found via JNDI.
I have several suggestions:
The text was updated successfully, but these errors were encountered: