[jboss-jira] [JBoss JIRA] Created: (AS7-1706) Handler change-file command fails every other time.

Stan Silvert (JIRA) jira-events at lists.jboss.org
Thu Sep 1 18:22:26 EDT 2011


Handler change-file command fails every other time.
---------------------------------------------------

                 Key: AS7-1706
                 URL: https://issues.jboss.org/browse/AS7-1706
             Project: Application Server 7
          Issue Type: Bug
          Components: Logging
    Affects Versions: 7.0.1.Final
            Reporter: Stan Silvert
            Assignee: David Lloyd


The change-file command will fail with every other request.
{code}
[standalone at 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 at 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 at localhost:9999 periodic-rotating-file-handler=FILE] :change-file(path=server4.log)
{"outcome" => "success"}
[standalone at 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"
    }
}
{code}
On the server console, you see:
{code}
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)
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list