Application Server 7
  1. Application Server 7
  2. AS7-3098

jsp-configuration: check-interval has invalid default

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.1.0.CR1
    • Component/s: Web
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      In jsp-configuration resource-description gives.

      "check-interval" =>

      { "type" => INT, "description" => "Check interval for JSP updates using a background thread.", "required" => false, "default" => 0, "access-type" => "read-write", "storage" => "configuration", "restart-required" => "no-services" }

      ,

      Setting that attribute to 0 gives:

      12:48:40,565 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 47) Operation ("write-attribute") failed - address: ([

      {"subsystem" => "web"}

      ,

      {"configuration" => "jsp-configuration"}

      ]) - failure description: "JBAS014708: 0 is an invalid value for parameter check-interval. A minimum value of 1 is required"

      Side note: no unit is given - what does 1 mean? each ms?

        Activity

        Hide
        Remy Maucherat
        added a comment -

        It's in seconds (it's a time interval to check for file updates, so it's not going to be ms).

        Show
        Remy Maucherat
        added a comment - It's in seconds (it's a time interval to check for file updates, so it's not going to be ms).

          People

          • Assignee:
            Remy Maucherat
            Reporter:
            Heiko Rupp
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: