Make work primefaces cookbook on various osgi containers (jboss, karaf, virgo)
Note : primefaces coobook for osgi env. is just a fork from http://ova2.github.com/primefaces-cookbook/ and a pinch of osgi
JBoss EAP 6.2 - working
Apache Karaf - not working (pb with el & jsf)
Eclipse Virgo - working
primefaces-cookbook-osgi on JBoss :
To make work this primefaces osgi showcase you need to add some stuff to the default JBoss (tested one is JBoss EAP 6.2) :
Custom JBoss modules : ./jboss-integration/jboss-modules/
JBoss configuration : ./jboss-integration/jboss-standalone-conf/standalone.conf
WARNING : in JBoss configuration there is a custom com.sun.faces.jsf-api osgi capability you need to package according the descriptions provided in this configuration file.
That's all. Then run JBoss and deploy the compiled wab...
TODO
primefaces-cookbook-osgi on Virgo : ===================================
To make work this primefaces osgi showcase you need to deploy some bundle on the default Eclipse Virgo Tomcat server (tested one is 3.6.1).
Bellow the maven path of these bundle :
commons-codec:commons-codec:1.5
org.apache.servicemix.bundles:org.apache.servicemix.bundles.poi:3.9_2
org.bouncycastle:com.springsource.org.bouncycastle.jce:1.39.0
org.bouncycastle:com.springsource.org.bouncycastle.mail:1.39.0
com.lowagie:itext:2.1.7 - repackaged with virgo bundlor and manifest file ./virgo-integration/bundlor/com/lowagie/itext/itext.mf
commons-fileupload:commons-fileupload:1.3
commons-io:commons-io:2.4
com.spectral.com.sun.faces:jsf-api:2.1.26 (WARNING: check ./jboss-integration/jboss-standalone-conf/standalone.conf file to know how this bundle has been repackaged)
com.sun.faces:jsf-impl:2.1.26
org.glassfish.web:el-impl:2.2.1-b05
org.apache.commons:commons-lang3:3.1
rome:rome:1.0
org.atmosphere:atmosphere-runtime:2.0.0
org.primefaces:primefaces:3.5
That's all. Then run Eclipse Virgo and deploy the compiled wab...