Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Impossible to use JSF 1.2 RI in OSGI container?

 
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
 
This is my favorite tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic