Hi, ok, you're using the last 3.0.1 Karaf right, we had a issue with the feature installer that looks for the Manifest file which usually is the first entry in a jar, but looks like that particular one is missing it, I'll try to re-animate the wrap for that bundle again.
Besides this flaw you're installing it in the right way ;) I just fixed that wrap issue, should be through in about half an hour. Might want to give it another try then. regards, Achim 2014-06-18 18:06 GMT+02:00 Kevin Schmidt <[email protected]>: > I'm not sure if this is completely right or not, but I figured out I can > do: > > feature:install pax-jetty > feature:install pax-http > feature:install pax-war > > Although the last one results in this error: > > Error executing command: Manifest not present in the first entry of the > zip mvn:org.eclipse.jdt.core.compiler/ecj/4.2.2 > > And if I try to install the pax-http-whiteboard feature I get the same > error. > > Ignoring the last error, is this correct? I need to install the > individual features, not one top-level feature for pax-web? > > And what about the error? It doesn't look like the full set of Pax Web > bundles have been installed at this point. > > > On Wed, Jun 18, 2014 at 8:43 AM, Kevin Schmidt <[email protected]> > wrote: > >> Thanks. >> >> What is the repo and feature URL for the 4.0.0-SNAPSHOT feature? >> >> I added >> https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.snapshot >> to my repositories and then I can do: >> >> repo-add >> mvn:org.ops4j.pax.web/pax-web-features/4.0.0-SNAPSHOT/xml/features >> >> This works fine. But then I can't figure out what feature to install. >> What should the feature:install parameter be? Everything I try fails. >> And if I look at >> https://oss.sonatype.org/content/repositories/ops4j-snapshots/org/ops4j/pax/web/features/ >> the 4.0.0-SNAPSHOT directory is missing. So is 4.0.0-SNAPSHOT not fully >> there? >> >> >> >> On Wed, Jun 18, 2014 at 5:01 AM, Achim Nierbeck <[email protected]> >> wrote: >> >>> 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 >>> >>> >> > -- 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
