IntelliJ Java IDE
The moose likes Other Application Frameworks and the fly likes Impossible to use JSF 1.2 RI in OSGI container? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Impossible to use JSF 1.2 RI in OSGI container?" Watch "Impossible to use JSF 1.2 RI in OSGI container?" New topic
Author

Impossible to use JSF 1.2 RI in OSGI container?

Dave Robe
Greenhorn

Joined: Jul 19, 2011
Posts: 3
Hi, I've been working to port an application to OSGI and I've run into what I believe is a major roadblock. Currently, the application is running JSF 1.2 RI. The good news is that this JAR has been OSGI-fied. But I'm afraid that it may be impossible to use it.

Here are the headers:
jsf-impl.jar:
Import-Package = ...,javax.el;version="2.1",...,javax.servlet.jsp;version="2.1"

javax.servlet.jsp:
Export-Package = javax.servlet.jsp;version="2.1.0";uses:="javax.el
Import-Package = javax.el;version="[1.0.0, 2.0.0)"

So at this point I'm receiving a "Package uses conflict." After doing some reading, particularly http://blog.springsource.org/2008/11/22/diagnosing-osgi-uses-conflicts/, it seems this may be an impossible endeavor.

Am I correct in my assumption? Or are there ways around this?

Thanks for any advice or guidance
 
 
subject: Impossible to use JSF 1.2 RI in OSGI container?
 
Threads others viewed
PhaseListener getting the action
Missing tag library?
Problem with Tomcat 5.5 and JSF (JSP version mismatch), Tomcat 6.0 and logging level problem
JSF 1.2 & Facelets from Myfaces & JSP ?
Modular Java: Web Container Modules