Hi Oliver, pictures are not displaying in earlier mail. Here is the pdf.
Thanks Ravi ________________________________ From: Ravindra Singareddy <singare...@hotmail.com> Sent: Friday, February 3, 2017 5:41 PM To: dev@sling.apache.org Subject: Re: [jira] [Resolved] (SLING-6505) Apache Sling Sample fling is not registering(not active) with karaf Hi Oliver, I have checked out code from svn trunk (http://svn.apache.org/repos/asf/sling/trunk/) and also from git (https://github.com/apache/sling/blob/trunk/karaf/org.apache.sling.karaf-features/src/main/feature/feature.xml)/ . Here is the screen shot. asf - Revision 1774547: /sling/trunk<http://svn.apache.org/repos/asf/sling/trunk/> svn.apache.org asf - Revision 1774547: /sling/trunk...gitignore.mvn/.travis.yml; KEYS; LICENSE; NOTICE; README.txt; bundles/ check_release_matches_tag.sh; check_staged_release.sh [cid:a5f1b3e7-5150-46bf-a372-4dedda175bc7]' [cid:2324ea4b-dc93-4210-9691-a96e43a6cf77] Bundles release for davex: [cid:242dd96f-76e3-419f-b619-90a9f25aaaf7] Bundles release for webdav [cid:7083d1d8-cb5a-411d-977a-02c4171e6805] Bundle release for commons classloader [cid:8ee9238d-7c8f-4dea-b3c1-5da24e1459b5] I am not sure whether you are getting source from trunk or from other svn release. If you can point me to correct (svn or github) source location that will be helpful for me to resolve this issue. Thanks Ravi <http://www.ooftish.com> ________________________________ From: Oliver Lietz <apa...@oliverlietz.de> Sent: Friday, February 3, 2017 5:06 PM To: dev@sling.apache.org[cid:a43d20dc-dd9e-41aa-bcfa-876a7b8ed116] Subject: Re: [jira] [Resolved] (SLING-6505) Apache Sling Sample fling is not registering(not active) with karaf On Friday 03 February 2017 16:00:16 Ravindra Singareddy wrote: > Hi Oliver > Lietz<https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olli> , I > have checked out latest code http://svn.apache.org/repos/asf/sling/trunk $$ > > cd karaf > $$> mvn clean install -DskipTests > Giving compilation errors because of unresolved dependencies > > 1. Caused by: > shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error > resolving artifact org.apache.sling:org.apache.sling.jcr.davex:jar:1.3.8 2. > Caused by: > shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error > resolving artifact org.apache.sling:org.apache.sling.jcr.webdav:jar:2.3.8 > 3. Caused by: > shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error > resolving artifact > org.apache.sling:org.apache.sling.commons.classloader:jar:1.3.8 In the > bundles versions dependencies as follows > > 1. org.apache.sling:org.apache.sling.jcr.davex:jar: 1.3.9-SNAPSHOT > 2. org.apache.sling:org.apache.sling.jcr.webdav:jar: 2.3.9-SNAPSHOT > 3. org.apache.sling:org.apache.sling.commons.classloader:jar: > 1.3.9-SNAPSHOT These compilation errors need to be resolved. In order to > resolve compilation error, I have set corresponding davex, webdav and > classloader versions in karaf. This is giving SLING-6505 mentioned > problem. Compilation issue is not resolved. Thanks Can't be true as Oak Server's version used in feature is 1.1.3-SNAPSHOT. I've added an intergration test for feature sling-samples-fling – everything is fine, no errors. Regards, O. > Ravi > > > ________________________________ > From: Oliver Lietz (JIRA) <j...@apache.org> > Sent: Friday, February 3, 2017 6:46 AM > To: dev@sling.apache.org > Subject: [jira] [Resolved] (SLING-6505) Apache Sling Sample fling is not > registering(not active) with karaf > > > [ > https://issues.apache.org/jira/browse/SLING-6505?page=com.atlassian.jira.pl > ugin.system.issuetabpanels:all-tabpanel ] > > Oliver Lietz resolved SLING-6505. > --------------------------------- > Resolution: Not A Problem > > [~singareddy], you screwed your features up. The currently used version of > {{org.apache.sling.jcr.oak.server}} is {{1.1.3-SNAPSHOT}}. > > Apache Sling Sample fling is not registering(not active) with karaf > > ------------------------------------------------------------------- > > > > Key: SLING-6505 > > URL: https://issues.apache.org/jira/browse/SLING-6505 > > > > Project: Sling > > > > Issue Type: Bug > > Components: Samples > > > > Environment: Windows, java 1.8 > > > > Reporter: Ravi Singareddy > > > > Compiled and installed Fling sample using > > > > >mvn clean install -P karaf@localhost > > > > Not able to open web page > > > > http://localhost:8181/fling.html > > > > open installed Apache Sling Fling Sample in > > http://localhost:8181/system/console/install showing following errors in > > Imported Packages: > > Imported Packages javax.annotation from org.apache.felix.framework (0) > > javax.jcr,version=[2.0,3) -- Cannot be resolved > > javax.mail,version=[1.4,2) from javax.mail (9) > > javax.mail.internet,version=[1.4,2) from javax.mail (9) > > javax.net from org.apache.felix.framework (0) > > javax.net.ssl from org.apache.felix.framework (0) > > javax.servlet,version=[3.1,4) from javax.servlet-api (10) > > org.apache.jackrabbit.api.security.user,version=[2.4,3) -- Cannot be > > resolved org.apache.sling.api,version=[2.3,3) -- Cannot be resolved > > org.apache.sling.api.request,version=[2.4,3) -- Cannot be resolved > > org.apache.sling.api.resource,version=[2.9,3) -- Cannot be resolved > > org.apache.sling.api.servlets,version=[2.1,3) -- Cannot be resolved > > org.apache.sling.api.wrappers,version=[2.5,3) -- Cannot be resolved > > org.apache.sling.commons.messaging,version=[1.0,2) -- Cannot be resolved > > org.apache.sling.jcr.base.util,version=[2.1,3) -- Cannot be resolved > > org.apache.sling.models.annotations,version=[1.2,2) -- Cannot be resolved > > org.apache.sling.models.annotations.injectorspecific,version=[1.1,2) -- > > Cannot be resolved org.apache.sling.query,version=[3.0,4) -- Cannot be > > resolved > > org.apache.sling.samples.fling from org.apache.sling.samples.fling (92) > > org.apache.sling.samples.fling.form from org.apache.sling.samples.fling > > (92) org.apache.sling.scripting.thymeleaf,version=[1.0,2) -- Cannot be > > resolved org.apache.sling.validation,version=[1.0,2) -- Cannot be > > resolved > > org.apache.sling.validation.model,version=[1.0,2) -- Cannot be resolved > > org.apache.sling.validation.spi,version=[1.0,2) -- Cannot be resolved > > org.osgi.framework,version=[1.8,2) from org.apache.felix.framework (0) > > org.slf4j,version=[1.7,2) from org.ops4j.pax.logging.pax-logging-api (3) > > org.thymeleaf,version=[3.0,4) -- Cannot be resolved > > org.thymeleaf.context,version=[3.0,4) -- Cannot be resolved > > I have also tried installing following items in karaf > > karaf@root()> feature:repo-add > > mvn:org.apache.sling/org.apache.sling.launchpad.karaf-features/0.1.1-SNAP > > SHOT/xml/features Successful > > karaf@root()> feature:install sling-launchpad-oak-tar > > giving following error: > > Error executing command: Unable to resolve root: missing requirement > > [root] osgi.identity; osgi.identity=sling-launchpad-oak-tar; > > type=karaf.feature; version="[0.1.1.SNAPSHOT,0.1.1.SNAPSHOT]"; > > filter:="(&(osgi.identity=sling-launchpad-oak-tar)(type=karaf.feature)(ve > > rsion>=0.1.1.SNAPSHOT)(version<=0.1.1.SNAPSHOT))" [caused by: Unable to > > resolve sling-launchpad-oak-tar/0.1.1.SNAPSHOT: missing requirement > > [sling-launchpad-oak-tar/0.1.1.SNAPSHOT] osgi.identity; > > osgi.identity=sling-launchpad-oak; type=karaf.feature; > > version="[0.1.1.SNAPSHOT,0.1.1.SNAPSHOT]" [caused by: Unable to resolve > > sling-launchpad-oak/0.1.1.SNAPSHOT: missing requirement > > [sling-launchpad-oak/0.1.1.SNAPSHOT] osgi.identity; > > osgi.identity=sling-jcr-oak; type=karaf.feature; > > version="[0.1.1.SNAPSHOT,0.1.1.SNAPSHOT]" [caused by: Unable to resolve > > sling-jcr-oak/0.1.1.SNAPSHOT: missing requirement > > [sling-jcr-oak/0.1.1.SNAPSHOT] osgi.identity; > > osgi.identity=org.apache.sling.jcr.oak.server; type=osgi.bundle; > > version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]"; resolution:=mandatory [caused > > by: Unable to resolve org.apache.sling.jcr.oak.server/1.0.1.SNAPSHOT: > > missing requirement [org.apache.sling.jcr.oak.server/1.0.1.SNAPSHOT] > > osgi.wiring.package; > > filter:="(&(osgi.wiring.package=org.apache.jackrabbit.commons.jackrabbit. > > authorization)(version>=2.12.0)(!(version>=3.0.0)))"]]]] I have made > > following changes to features.xml in karaf features for building karaf - > > sling_code\karaf\org.apache.sling.karaf-features\src\main\feature\feature > > .xml> > > <bundle>mvn:org.apache.sling/org.apache.sling.commons.classloader/1.3.9 > > -SNAPSHOT</bundle>> > > <bundle>mvn:org.apache.sling/org.apache.sling.jcr.davex/1.3.9-SNAPSHOT</ > > bundle>> > > <bundle>mvn:org.apache.sling/org.apache.sling.jcr.webdav/2.3.9-SNAPSHOT</ > > bundle> > -- > This message was sent by Atlassian JIRA > (v6.3.15#6346)