Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1134

GET for http://localhost:8080/ results in HTTP ERROR 200

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Extensions httpauth 2.0.4
    • Extensions httpauth 2.0.6
    • Extensions
    • None
    • Mac OS X 10.6.1, java version "1.6.0_15"
      Firefox (3.5.3)

    Description

      A GET for http://localhost:8080/ results in HTTP ERROR 200

      Steps to reproduce this:
      1) svn checkout http://svn.apache.org/repos/asf/sling/trunk Sling
      2) mvn -s /dev/null install (I had to apply the attached sling.diff for this to be successful)
      3) cd launchpad/app/
      4) java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar -c sling
      5) http://localhost:8080/system/console
      6) set "Allow Anonymous Access" to false (org.apache.sling.engine.impl.auth.SlingAuthenticator)
      7) go to http://localhost:8080/
      Result:

      • The log says: org.apache.sling.engine.impl.auth.SlingAuthenticator getAnonymousSession: Anonymous access not allowed by configuration - redirecting to login
      • Firefox: HTTP ERROR 200 , Problem accessing /. Reason: OK

      There is also quite a lot of noise in the error.log:
      WARN [SCR Component Actor] org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager No pluggable AccessManager available, falling back to DefaultAccessManager

      Attachments

        1. error.log
          1.08 MB
          Andreas Amstutz
        2. sling.diff
          5 kB
          Andreas Amstutz

        Activity

          People

            fmeschbe Felix Meschberger
            andams Andreas Amstutz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: