Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1706

Handler change-file command fails every other time.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.0.1.Final
    • Logging
    • None

    Description

      The change-file command will fail with every other request.

      [standalone@localhost:9999 periodic-rotating-file-handler=FILE] :read-resource
      {
          "outcome" => "success",
          "result" => {
              "append" => true,
              "autoflush" => true,
              "encoding" => undefined,
              "file" => {
                  "path" => "server3.log",
                  "relative-to" => undefined
              },
              "formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
              "level" => "INFO",
              "suffix" => ".yyyy-MM-dd"
          }
      }
      [standalone@localhost:9999 periodic-rotating-file-handler=FILE] :change-file(path=server4.log)
      {
          "outcome" => "failed",
          "failure-description" => "Operation handler failed to complete",
          "rolled-back" => true
      }
      [standalone@localhost:9999 periodic-rotating-file-handler=FILE] :change-file(path=server4.log)
      {"outcome" => "success"}
      [standalone@localhost:9999 periodic-rotating-file-handler=FILE] :read-resource
      {
          "outcome" => "success",
          "result" => {
              "append" => true,
              "autoflush" => true,
              "encoding" => "UTF-8",
              "file" => {
                  "path" => "server4.log",
                  "relative-to" => undefined
              },
              "formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
              "level" => "INFO",
              "suffix" => ".yyyy-MM-dd"
          }
      }
      

      On the server console, you see:

      18:06:22,179 INFO  [org.jboss.as.controller] (MSC service thread 1-5) Service status report
         New missing/unsatisfied dependencies:
            service jboss.logging.handler-file.FILE (missing)
      
      18:06:27,050 INFO  [org.jboss.as.controller] (pool-2-thread-53) Service status report
         Newly corrected services:
            service jboss.logging.handler-file.FILE (now available)
      

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            ssilvert@redhat.com Stan Silvert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: