Thank you for the hints ...


I tried to use the description from



https://sling.apache.org/documentation/bundles/scripting/scripting-thymeleaf.html



In you documentation at https://github.com/apache/sling/tree/trunk/karaf

you should add to compile the karaf launcher locally, because the snapshot is 
not available from central repo (?).



svn co http://svn.apache.org/repos/asf/sling/trunk sling

cd sling/karaf

mvn install -fae



did it for me.



Sling is installed and I'm ready to play around now :)



Thx,

Mike


---- On Tue, 06 Sep 2016 14:14:32 +0200 Oliver Lietz 
<apa...@oliverlietz.de>wrote ---- 




On Tuesday 06 September 2016 09:32:17 Mike Hummel wrote: 

> Hello, 



Hello Mike, 



Sling on Karaf is close to perfection and works very well in production. 

When you have no or little experience with Sling or Karaf you should follow 

the *Getting Started* section (I already pointed you to 

https://github.com/apache/sling/tree/trunk/karaf). 



You can run Sling with different resource providers (repositories/backends) 

and four are available as features on Karaf: 



* sling-launchpad-oak-tar 

* sling-launchpad-oak-mongo 

* sling-launchpad-nosql-couchbase 

* sling-launchpad-nosql-mongodb 



Just install the feature sling-launchpad-oak-tar and everything else required 

gets pulled in. The other three features require setting up a database before. 



> I try to run sling in karaf but have an issue with the Authentication 

> Support. I have installed the bundles 



Check the logs, a repository is missing. 



Regards, 

O. 





> karaf@root()> list 

> 

> START LEVEL 100 , List Threshold: 50 

> 

> ID | State | Lvl | Version | Name 

> 

> 
---------------------------------------------------------------------------- 

> ----------- 

> 

> 53 | Active | 80 | 2.0 | Content Repository for JavaTM 

> Technology API 

> 

> 58 | Active | 80 | 3.2.2 | Apache Commons Collections 

> 

> 59 | Active | 80 | 1.3.1 | Apache Commons FileUpload 

> 

> 60 | Active | 80 | 2.4.0 | Commons IO 

> 

> 61 | Active | 80 | 2.6 | Commons Lang 

> 

> 69 | Active | 80 | 2.9.0 | Apache Sling API 

> 

> 70 | Active | 80 | 1.3.12 | Apache Sling Authentication Service 

> 

> 71 | Active | 80 | 1.3.2 | Apache Sling Dynamic Class Loader 

> Support 

> 

> 72 | Active | 80 | 2.2.0 | Apache Sling Commons Java Compiler 

> 

> 73 | Active | 80 | 2.0.16 | Apache Sling JSON Library 

> 

> 74 | Active | 80 | 2.1.8 | Apache Sling MIME type mapping 

> support 

> 

> 75 | Active | 80 | 2.3.0 | Apache Sling Commons OSGi support 

> 

> 76 | Active | 80 | 2.4.10 | Apache Sling Scheduler Support 

> 

> 77 | Active | 80 | 3.2.2 | Apache Sling Thread Support 

> 

> 78 | Active | 80 | 2.4.4 | Apache Sling Engine Implementation 

> 

> 79 | Active | 80 | 3.0.0 | Apache Sling Query 

> 

> 80 | Active | 80 | 1.2.6 | Apache Sling Resource Resolver 

> 

> 81 | Active | 80 | 1.2.2 | Apache Sling Service User Mapper 

> 

> 82 | Active | 80 | 1.3.7.SNAPSHOT | Apache Sling Settings 

> 

> 117 | Active | 80 | 1.0.8 | Apache Sling Form Based 

> Authentication Handler 

> 

> A web-request brings the following error: 

> 

> 

> AuthenticationSupport service missing. Cannot authenticate request. 

> 

> 

> 

> 

> 

> Looks like I need an additional bundle? Already tried around and "Apache 

> Sling Form Based Authentication Handler" should do the job? 

> 

> 

> 

> 

> 

> Thx for help. 

> 

> 

> 

> Mike 










Reply via email to