[jboss-jira] [JBoss JIRA] (AS7-2385) Management - remove and add file handler logger operation fails

Brian Stansberry (Updated) (JIRA) jira-events at lists.jboss.org
Thu Nov 3 16:22:46 EDT 2011


     [ https://issues.jboss.org/browse/AS7-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-2385:
----------------------------------

    Fix Version/s: 7.1.0.CR1

    
> Management - remove and add file handler logger operation fails
> ---------------------------------------------------------------
>
>                 Key: AS7-2385
>                 URL: https://issues.jboss.org/browse/AS7-2385
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management, Logging
>    Affects Versions: 7.1.0.Beta1
>            Reporter: Dominik Pospisil
>            Assignee: James Perkins
>             Fix For: 7.1.0.CR1
>
>
> Removing and adding file handler fails. Perhaps remove operation does not clean up all resources properlly.
> Steps to reproduce:
> [standalone at localhost:9999 /] /subsystem=logging/file-handler=test-fh:add(name="test-fh", level="WARN", file={"path" => "/home/dpospisi/testfh.log"})
> {"outcome" => "success"}
> [standalone at localhost:9999 /] /subsystem=logging/file-handler=test-fh:remove                                                                         
> {"outcome" => "success"}
> [standalone at localhost:9999 /] /subsystem=logging/file-handler=test-fh:add(name="test-fh", level="WARN", file={"path" => "/home/dpospisi/testfh.log"})
> {
>     "outcome" => "failed",
>     "failure-description" => "Operation handler failed: org.jboss.msc.service.DuplicateServiceException: Service jboss.logging.handler-file.test-fh is already registered",
>     "rolled-back" => true
> }
> [standalone at localhost:9999 /] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list