Hi Dragos, You will have to add the following line to your sling.properties file:
sling.bootdelegation.jboss=__redirected This allows the JBoss XML factories to be found and used. Otherwise te JSP scripting cannot do the XML game... I will also add this line to the default sling.properties file (SLING-2466 [1]) Regards Felix [1] https://issues.apache.org/jira/browse/SLING-2466 Am 07.05.2012 um 10:53 schrieb Dascalita Dragos: > Hi, > > Thanks to a patch on Apache Felix, committed by Felix Meschberger a few > days ago( with the patch from David Jencks ) I was able to build Apache > Sling launchpad with org.apache.felix.framework version > 4.1.0-SNAPSHOTinstead of > 3.0.8. > With than, Apache Sling runs on JBoss 7.1.1. Kudos to everyone involved. > Really cool to see this happening. > > Most of the things I've tried work fine in JBoss, except one thing, Servlet > Resolution. > > Having a resource X, with resourceType 'foo/bar' and a jsp located at ' > apps/foo/bar/html.jsp', the request to > sling-launchpad-7.0-SNAPSHOT/path/to/X.html is not getting resolved with > the JSP, but with the org.apache.sling.servlets.get.DefaultGetServlet > > Do yo have any hints as to how to make this work, and if it's possible to > do so in JBoss 7.1 ? > > Thanks, > Dragos Dascalita Haut
