Hi, launchpad is searching for servlet API 3.1 and I assume your webapp gets started with 3.0. This seems to be due to the web.xml just requiring 3.0.
Could you please check by a) Changing the version to 3.1 in sling/launchpad/base/src/main/webapp/WEB-INF/web.xml b) Rebuilding launchpad/base c) Rebuilding launchpad/builder d) Redeploying the war file Thanks Carsten Guillaume Lucazeau wrote > Hello, > > I am trying to run Sling on JBoss. Following this article > http://bobpaulin.com/home/computer_science/tutorials/setting_up_sling_jboss.html > I've just added the "sling.home" parameter and copied sling.war to > jboss/standalone.deployments, but when starting JBoss I get this error: > > 13:44:15,206 ERROR > [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sling]] > (FelixStartLevel) ERROR: Error starting > slinginstall:org.apache.felix.http.bridge-3.0.0.jar > (org.osgi.framework.BundleException: Unable to resolve > org.apache.felix.http.bridge [6](R 6.0): missing requirement > [org.apache.felix.http.bridge [6](R 6.0)] osgi.wiring.package; > (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0))) > Unresolved requirements: [[org.apache.felix.http.bridge [6](R 6.0)] > osgi.wiring.package; > (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0)))]): > org.osgi.framework.BundleException: Unable to resolve > org.apache.felix.http.bridge [6](R 6.0): missing requirement > [org.apache.felix.http.bridge [6](R 6.0)] osgi.wiring.package; > (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0))) > Unresolved requirements: [[org.apache.felix.http.bridge [6](R 6.0)] > osgi.wiring.package; > (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0)))] > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4114) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2111) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1365) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] > > And http://localhost:8080/sling returns a 503 error. > > If I try to follow the article and add this to sling.properties : > sling.bootdelegation.org.apache.xerces=org.apache.xerces.* > > I just get more errors. > > I'm not sure whih package is actually missing, is it javax.servlet.*? > > Any clue on how to fix this? > > Thank you, > Guillaume > -- Carsten Ziegeler Adobe Research Switzerland [email protected]
