Re: Apache Karaf WAR + JSF

2011-02-14 Thread Charles Moulliard
Hi Achim, In your example, you do not import javax.faces but use requires bundles Bundle-ClassPath = .,WEB-INF/classes,WEB-INF/classes/META-INF/myfaces_core.tld,WEB-INF/classes/META-INF/myfaces_html.tld Import-Package = javax.servlet;version=2.5.0,

Re: Apache Karaf WAR + JSF

2011-02-11 Thread Guillaume Nodet
Also, make sure the jsf-api isn't deployed as an OSGi bundle, else that one could be used and it would not be able to find the implementation inside the jar. On Fri, Feb 11, 2011 at 09:22, Charles Moulliard cmoulli...@gmail.com wrote: The WAR contains the spec and the implementation.

Re: Apache Karaf WAR + JSF

2011-02-11 Thread Jean-Baptiste Onofré
Could you make: la|grep -i jsf to see if JSF api and implementation are not outside your bundle. Else you have to use fragment to gather all in the same classloader. Regards JB On 02/11/2011 09:22 AM, Charles Moulliard wrote: The WAR contains the spec and the implementation.