Hi thanks for the tip,
I am using karaf 2.2.7, I have updated jetty to version 8.1.4, I have
upgraded pax web to 2.0.0, I have modified some features and now  I am
facing some exceptions:

like:
javax.servlet.UnavailableException: Servlet class
org.ops4j.pax.web.jsp.JspServletWrapper is not a javax.servlet.Servlet

or

java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl cannot be
cast to javax.el.ExpressionFactory

or

java.lang.IllegalStateException: No Factories configured for this
Application. This happens if the faces-initialization does not work at all
- make sure that you properly include all configuration settings necessary
for a basic faces application and that all the necessary libs are included.
Also check the logging output of your web application and your container
for any exceptions!


any tips will be strongly appeciated.  :)

Thanks you.

Best regards,

Adrien.






2012/6/27 Achim Nierbeck <[email protected]>

> Hi Adrien,
>
> yes there is a features file available for pax-web.
> So you might want to try to install the required bundles yourself.
>
> Regarding JSF 2.0 I strongly suggest you have a ContextListener
> defined in your web.xml
> cause the scanning for a context-listener in your bundles isn't
> supported for pax-web 2.0 yet.
> I'm working on it but do face some classloading issues I need to work
> around.
>
> regards, Achim
>
>
> 2012/6/27 Adrien DAO-LENA <[email protected]>:
> > Hello,
> > I am currently trying to make things work with karaf 2.2.7, and a war
> with
> > JSF 2.0, and it is not going well :p.
> > I need pax web 2, but I understand that pax web will be ship with karaf
> 3.0,
> > when can I expect a release of karaf 3.0? (or a beta / snapshot).
> > In the case I try to upgrade pax web version, and upgrade to 2.0 in a
> karaf
> > 2.2.7, can I found some features (war) using pax web 2?
> >
> > Is there any other work around or whatever to deal with this problem.
> >
> > thank you,
> > Bast regards,
> > Adrien DAO-LENA.
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> OPS4J Pax for Vaadin
> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
> Lead
> blog <http://notizblog.nierbeck.de/>
>

Reply via email to