JSF OSGi Support
843844Jan 25 2010 — edited Jan 27 2010Hello JSF folks!
Due to authorization and right reasons, i need to deploy the Equinox OSGi Framework via an dynamic web application to tomcat 6. As I want to restructure my webapp to suite the osgi framework, i've got to enable JSF within a plugin/extension/module/bundle project.
Sounds quite easy to do, but it's hard to get there. When I add needed libraries and taglibs to my bundles, it seems to have no problems compiling and validating my bundle. But it doesn't work on tomcat, because there is always something missing.
starting with some library errors, it gets to missing classes within libraries (like javax/servlet/jsp/tagext/JspIdConsumer). When I solve this, there are taglibs missing. Solving this issue brings me back to library errors...
I tried 50 different ways to register needed libraries like classpaths, bundle-classpaths, directory structures, ....
If there is a way to solve issues like that by adding missing libraries, tomcat brings you back to earth with its own libs, which generates conflicts between them.
OSGi Equinox perfectly supports JSTL/JSP. It has its own plugin with all resources needed in it (org.eclipse.equinox.jsp.jstl_1.0.0.jar).
Is there something like this also available to integrate JSF components?
Or did anyone ever integrate JSF components in an OSGi bundle?
Or are there any ideas how to do this, using this structure?
kind regards,
markus