Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Impossible to use JSF 1.2 RI in OSGI container?

 
Dave Robe
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic