[jboss-jira] [JBoss JIRA] (AS7-3061) Can't create periodic rotating file handler in CLI or console

James Perkins (JIRA) jira-events at lists.jboss.org
Fri Jan 20 20:08:19 EST 2012


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

James Perkins updated AS7-3061:
-------------------------------

       Fix Version/s: 7.1.0.Final
    Git Pull Request: https://github.com/jbossas/jboss-as/pull/1176  (was: https://github.com/jbossas/jboss-as/pull/1176)

    
> Can't create periodic rotating file handler in CLI or console
> -------------------------------------------------------------
>
>                 Key: AS7-3061
>                 URL: https://issues.jboss.org/browse/AS7-3061
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.1.0.Beta1b
>            Reporter: Stan Silvert
>            Assignee: James Perkins
>             Fix For: 7.1.0.Final
>
>
> CLI command:{noformat}
> /subsystem=logging/periodic-rotating-file-handler=periodicrotating/:add(name=periodicrotating,level=INFO,file={"path" => "myfoo.log", "relative-to" => "jboss.server.log.dir"})
> {noformat}
> CLI error:{noformat}
> [standalone at localhost:9999 /] /subsystem=logging/periodic-rotating-file-handler=periodicrotating/:add(name=periodicrotating,level=INFO,file={"path" => "myfoo.log", "relat
> ive-to" => "jboss.server.log.dir"})
> {
>     "outcome" => "failed",
>     "failure-description" => {"JBAS014671: Failed services" => {"jboss.logging.handler.periodicrotating" => "org.jboss.msc.service.StartException in service jboss.logging
> .handler.periodicrotating: Failed to start service"}},
>     "rolled-back" => true,
>     "response-headers" => {"process-state" => "reload-required"}
> }
> {noformat}
> In server console:{noformat}
> 15:04:29,303 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.logging.handler.periodicrotating: org.jboss.msc.service.S
> tartException in service jboss.logging.handler.periodicrotating: Failed to start service
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
>         at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
> Caused by: java.lang.NullPointerException
>         at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:493) [:1.6.0_29]
>         at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:475) [:1.6.0_29]
>         at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.setSuffix(PeriodicRotatingFileHandler.java:119) [jboss-logmanager-1.2.0.GA.jar:]
>         at org.jboss.as.logging.handlers.file.PeriodicRotatingFileHandlerService.start(PeriodicRotatingFileHandlerService.java:74)
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
>         ... 3 more
> {noformat}

--
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