Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JSF OSGi Support

843844Jan 25 2010 — edited Jan 27 2010
Hello 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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 24 2010
Added on Jan 25 2010
10 comments
518 views