aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
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?