Two applications using CDI (One JSF 1.2, One JSF 2.1) in one EAP instance

Posted on

Hi,

is there a way to deploy two applications (.ear) in one JBoss EAP with one application using JSF 1.2 and one using JSF 2.1 when both applications use CDI? We currently have an application using JSF 1.2 and CDI. To make it work in JBoss EAP 6 we had to adapt the dependencies of the weld.core and as.weld.core modules as described in the comments of this discussion: https://community.jboss.org/wiki/DesignOfAS7Multi-JSFFeature. Now we need to add a JSF 2.1 application to the server but were not able to make them both work.

Any help would be appreciated!

Thanks,
Mario