This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Impossible to use JSF 1.2 RI in OSGI container?
 
Similar Threads
Modular Java: Web Container Modules
Missing tag library?
JSF 1.2 & Facelets from Myfaces & JSP ?
PhaseListener getting the action
Problem with Tomcat 5.5 and JSF (JSP version mismatch), Tomcat 6.0 and logging level problem