You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Ivan Gimenez <iv...@gmail.com> on 2016/04/13 11:10:27 UTC

Deploying Sling8 on Apache Karaf 4.0.4

Hi

I would like to use Sling8 for a project. I would like to ask if somebody
has got successful experiences deploying Sling8 on Apache Karaf 4.0.4, or
if there is a preferred/working method.

It seems there is no more Karaf feature repository for Sling8 to install,
as was on Sling6,

feature:repo-add
http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.launchpad/6/org.apache.sling.launchpad-6-features.xml

I am running into issues with the WAR method.  When just moved the
launchpad8 WAR,  org.apache.sling.launchpad-8-webapp.war to deploy/
directory  I got the following exception (i suspect is more related to
PAX-WEB extender) on loading

4/13/2016, 10:59:56 AM
ERROR
E​r​r​o​r​ ​d​e​p​l​o​y​i​n​g​ ​w​e​b​ ​a​p​p​l​i​c​a​t​i​o​n
OPS4J Pax Web - Extender - WAR
*java.lang.IllegalStateException: Multiple servlets map to path: *.jsp:
jsp,sling*


Any idea/suggestion/comment are welcomed.

Thanks
Ivan

Re: Deploying Sling8 on Apache Karaf 4.0.4

Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Wednesday 13 April 2016 11:10:27 Ivan Gimenez wrote:
> Hi

Hi Ivan,

> I would like to use Sling8 for a project. I would like to ask if somebody
> has got successful experiences deploying Sling8 on Apache Karaf 4.0.4, or
> if there is a preferred/working method.
> 
> It seems there is no more Karaf feature repository for Sling8 to install,
> as was on Sling6,
> 
> feature:repo-add
> http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.launchpad/6/
> org.apache.sling.launchpad-6-features.xml

the new home for Karaf Features is in contrib/launchpad/karaf.
We don't have a release yet, some dependencies need to be released before.

Regards,
O.

> I am running into issues with the WAR method.  When just moved the
> launchpad8 WAR,  org.apache.sling.launchpad-8-webapp.war to deploy/
> directory  I got the following exception (i suspect is more related to
> PAX-WEB extender) on loading
> 
> 4/13/2016, 10:59:56 AM
> ERROR
> E​r​r​o​r​ ​d​e​p​l​o​y​i​n​g​ ​w​e​b​ ​a​p​p​l​i​c​a​t​i​o​n
> OPS4J Pax Web - Extender - WAR
> *java.lang.IllegalStateException: Multiple servlets map to path: *.jsp:
> jsp,sling*
> 
> 
> Any idea/suggestion/comment are welcomed.
> 
> Thanks
> Ivan