glassfish
  1. glassfish
  2. GLASSFISH-20868

Alternate Docroot does not work as server property

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Ubuntu(64) jdk1.7.0_17 non-clustered

      Description

      Glassfish 4 build 89 jdk1.7 Ubuntu::
      Server property: alternatedocroot_1 from=/exports/* dir=/apps/myApp
      "166.34.148.150" "NULL-AUTH-USER" "22/Oct/2013:15:04:56 -0700" "GET /exports HTTP/1.1" 404 1082
      Expected results is a directory listing

      Glassfish 3.1.1 (build 12) clustered, jdk1.6, Solaris::
      Does not work as server configuration or application property.
      Server property results in 404.
      Application property results in Invalid alternate_docroot from=/exports/* dir=/apps/myApp

      Works in glassfish 2.1.1 on Solaris jdk1.5 in clustered environment

      Does not matter how many times the cluster and server is bounced.

        Activity

        Hide
        Shing Wai Chan added a comment -

        There is no support for directory listing for alternated docroot.
        http://docs.oracle.com/cd/E19798-01/821-1752/geqpl/index.html

        Show
        Shing Wai Chan added a comment - There is no support for directory listing for alternated docroot. http://docs.oracle.com/cd/E19798-01/821-1752/geqpl/index.html
        Hide
        UncleMoose added a comment -

        So how do you get this added back? It works in version 2.1.1?

        Show
        UncleMoose added a comment - So how do you get this added back? It works in version 2.1.1?

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            UncleMoose
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: