Hi, could you try with the latest 4.0.0-SNAPSHOT? For this you'd need to have a "vanilla" karaf first, or at least no Pax Web 3.1.x bundles installed, add the 4.0.0-SNAPSHOT feature url to your repository and install the Pax Web 4.0 features. You'd gonna miss the web and http commands but I'd think that's OK for testing with the latest snapshot ;)
If that works fine, if not, open a issue at the Pax Web issue tracker [1], best with a simple test-case so I can take a deeper look at it :) regards, Achim [1] - https://ops4j1.jira.com/browse/PAXWEB/ 2014-06-17 18:22 GMT+02:00 schmke <[email protected]>: > I should add that doing a bundle:capabilities on the Pax Web bundle shows: > > osgi.wiring.package; javax.el 2.2.0 required by: > org.apache.myfaces.core.impl [266] > org.apache.myfaces.core.api [267] > > which is encouraging, but then shows this: > > osgi.wiring.package; com.sun.el 2.1.0.v20091210 required by: > org.ops4j.pax.web.pax-web-jetty [79] > org.ops4j.pax.web.pax-web-runtime [78] > > which is not. > > And the exception I get which points to EL 2.2 missing is: > > javax.servlet.ServletException: Error Parsing: > #{codesBean.genders.keySet()} > at > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:221)[267:org.apache.myfaces.core.api:2.1.0] > ... > Caused by: javax.el.ELException: Error Parsing: > #{codesBean.genders.keySet()} > at > > com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:171)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0] > at > > com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:188)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0] > at > > com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:232)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0] > at > > com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:92)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0] > at > > org.apache.myfaces.view.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:366)[266:org.apache.myfaces.core.impl:2.1.0] > > Other EL expressions that just refer to getters work fine. But calling > methods which was added in EL 2.2 fails. > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Using-JSP-EL-2-2-with-Karaf-3-0-1-tp4033584p4033585.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
