[jboss-jira] [JBoss JIRA] (WFCORE-2827) undefined suffix in rotating-file-audit-log not handled

Jan Kalina (JIRA) issues at jboss.org
Thu May 18 08:17:00 EDT 2017


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

Jan Kalina updated WFCORE-2827:
-------------------------------
    Priority: Major  (was: Critical)


> undefined suffix in rotating-file-audit-log not handled
> -------------------------------------------------------
>
>                 Key: WFCORE-2827
>                 URL: https://issues.jboss.org/browse/WFCORE-2827
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 3.0.0.Beta21
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>
> Attribute *suffix* of *rotating-file-audit-log* is optional, but if not filled, following exception occure:
> {code}
> MSC000001: Failed to start service org.wildfly.security.security-event-listener.myAppRotate: org.jboss.msc.service.StartException in service org.wildfly.security.security-event-listener.myAppRotate: Failed to start service
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'n'
> 	at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:826)
> 	at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:634)
> 	at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:605)
> 	at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:580)
> 	at org.wildfly.security.audit.RotatingFileAuditEndpoint$Builder.setSuffix(RotatingFileAuditEndpoint.java:289)
> 	at org.wildfly.extension.elytron.AuditResourceDefinitions$2.lambda$getValueSupplier$2(AuditResourceDefinitions.java:247)
> 	at org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:53)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> 	... 3 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list