Sling
  1. Sling
  2. SLING-513

How to run the JCR Explorer with Sling?

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      It would be good to have a How-To document about using the JCR Explorer (http://www.jcr-explorer.org/, or another one?) with the Sling Launchpad.

        Activity

        Hide
        Bertrand Delacretaz added a comment -

        I have written a blog post at http://grep.codeconsult.ch/2009/01/06/using-the-jcr-explorer-with-sling/ - we might want to transfer that to our website at some point, but it's specific to Tomcat.

        Show
        Bertrand Delacretaz added a comment - I have written a blog post at http://grep.codeconsult.ch/2009/01/06/using-the-jcr-explorer-with-sling/ - we might want to transfer that to our website at some point, but it's specific to Tomcat.
        Hide
        Santosh Shanmukh added a comment -

        Hi Bertrand, I downloaded and deployed sling launchpad 6 in apache tomcat 6.0.32 (OS: windows xp). My sling URL is http://localhost:8080/sling-launchpad-6/

        I am able to successfully create content with the curl command:
        curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=Foo Bar" http://localhost:8080/sling-launchpad-6/content/foonode
        and view it via http://localhost:8080/sling-launchpad-6/content/foonode.json or foonode.html

        However when I navigate to explorer URL http://localhost:8080/sling-launchpad-6/.explorer.html as per the sling documentation, while I get the basic interface, I also get a "HTTP Status 404 - /.explorer.item.html" error.

        I am however able to manually navigate to http://localhost:8080/sling-launchpad-6/.explorer.item.html it displays the a set of resource links.
        These are the links displayed, although clicking on them does not do anything. They are HREFed to "#"
        jcr:system
        rep:policy
        var
        apps
        index.html
        signup.html
        sling-logo.png
        sling-test
        sling.css
        content
        libs
        system

        Also, the URL http://localhost:8080/sling-launchpad-6/content/.explorer.item.html displays foonode which was the content I create via the curl command.

        And yet, I am not able to navigate to this using the explorer.

        Either I have missed something in the configuration or setup or I am not using the explorer correctly, but I cant figure out what! Please help.

        Thanks
        Santosh

        Show
        Santosh Shanmukh added a comment - Hi Bertrand, I downloaded and deployed sling launchpad 6 in apache tomcat 6.0.32 (OS: windows xp). My sling URL is http://localhost:8080/sling-launchpad-6/ I am able to successfully create content with the curl command: curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=Foo Bar" http://localhost:8080/sling-launchpad-6/content/foonode and view it via http://localhost:8080/sling-launchpad-6/content/foonode.json or foonode.html However when I navigate to explorer URL http://localhost:8080/sling-launchpad-6/.explorer.html as per the sling documentation, while I get the basic interface, I also get a "HTTP Status 404 - /.explorer.item.html" error. I am however able to manually navigate to http://localhost:8080/sling-launchpad-6/.explorer.item.html it displays the a set of resource links. These are the links displayed, although clicking on them does not do anything. They are HREFed to "#" jcr:system rep:policy var apps index.html signup.html sling-logo.png sling-test sling.css content libs system Also, the URL http://localhost:8080/sling-launchpad-6/content/.explorer.item.html displays foonode which was the content I create via the curl command. And yet, I am not able to navigate to this using the explorer. Either I have missed something in the configuration or setup or I am not using the explorer correctly, but I cant figure out what! Please help. Thanks Santosh
        Hide
        Justin Edelson added a comment -

        Santosh - it's generally better not to comment on Closed issues.

        The issue you are talking about seems to be SLING-2019. Since Explorer 1.0.4 hasn't been released, you'll have to build it from trunk.

        Show
        Justin Edelson added a comment - Santosh - it's generally better not to comment on Closed issues. The issue you are talking about seems to be SLING-2019 . Since Explorer 1.0.4 hasn't been released, you'll have to build it from trunk.
        Hide
        Santosh Shanmukh added a comment -

        Thank you Justin

        Show
        Santosh Shanmukh added a comment - Thank you Justin

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Delacretaz
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development