-
Bug
-
Resolution: Done
-
Major
-
24.0.0.Beta1, 24.0.0.Final, 24.0.1.Final
-
None
-
Undefined
Steps to reproduce:
- Download the Jakarta EE 8 Full & Web Distribution ZIP from https://www.wildfly.org/downloads/
- Unpack it somewhere
- Start the server via bin\standalone.bat
- Execute the following command: bin\jboss-cli.bat -c /subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(use-server-log=true)
- You get the following error:
{ "outcome" => "failed", "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.host.access-log.default-server.default-host.access-log" => "Failed to start service Caused by: java.lang.IllegalArgumentException: Parameter 'abstractPath' may not be null"}}, "rolled-back" => true }
Server log (using 24.0.1.Final):
2021-08-05 20:15:56,191 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service org.wildfly.undertow.host.access-log.default-server.default-host.access-log: org.jboss.msc.service.StartException in service org.wildfly.undertow.host.access-log.default-server.default-host.access-log: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: Parameter 'abstractPath' may not be null at org.wildfly.common.Assert.checkNotNullParamChecked(Assert.java:71) at org.wildfly.common.Assert.checkNotNullParam(Assert.java:49) at org.jboss.as.controller.services.path.AbsolutePathService.convertPath(AbsolutePathService.java:69) at org.jboss.as.controller.services.path.PathManagerService.resolveRelativePathEntry(PathManagerService.java:104) at org.wildfly.extension.undertow.AccessLogService.start(AccessLogService.java:108) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701) ... 6 more 2021-08-05 20:15:56,205 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "undertow"), ("server" => "default-server"), ("host" => "default-host"), ("setting" => "access-log") ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.host.access-log.default-server.default-host.access-log" => "Failed to start service Caused by: java.lang.IllegalArgumentException: Parameter 'abstractPath' may not be null"}} 2021-08-05 20:15:56,209 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "undertow"), ("server" => "default-server"), ("host" => "default-host"), ("setting" => "access-log") ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.host.access-log.default-server.default-host.access-log" => "Failed to start service Caused by: java.lang.IllegalArgumentException: Parameter 'abstractPath' may not be null"}}
This works in 23.0.2.Final.
- is caused by
-
WFLY-12945 Migrate undertow subsystem to new MSC value API
- Closed
- is duplicated by
-
WFLY-15131 Issue with access-log settings
- Closed