Runtime configuration tasks during console installation fails with RuntimeException
reproduce
Select some runtime environment configuration task (e.g. loggin level updates) and try to finish the installation.
Logging level for the root-logger: 0 [ ] ALL 1 [ ] TRACE 2 [ ] DEBUG 3 [x] INFO 4 [ ] WARN 5 [ ] ERROR 6 [ ] FATAL 7 [ ] OFF Press 0 to confirm your selections Input Selection: 2 Logging level for the console: 0 [ ] DEBUG 1 [x] INFO 2 [ ] WARN 3 [ ] ERROR 4 [ ] FATAL 5 [ ] OFF Press 0 to confirm your selections Input Selection: 1 press 1 to continue, 2 to quit, 3 to redisplay. 1 [ Starting processing ] Starting process Logging installation information (1/26) IzPack variable state written to /home/pkremens/EAP-7.0.0/installation/InstallationLog.txt Starting process Adding temporary admin user (2/26) Starting process Adding admin user (3/26) Starting process Unpacking natives (4/26) Unpacking complete. Starting process Starting standalone (5/26) Cannot not load JBoss LogManager. The LogManager has likely been accessed prior to this initialization. Oct 27, 2015 12:42:26 PM org.jboss.msc.service.ServiceContainerImpl <clinit> INFO: JBoss MSC version (unknown) Oct 27, 2015 12:42:26 PM org.jboss.as.server.ApplicationServerService start INFO: WFLYSRV0049: EAP 7.0.0.Alpha1 (WildFly Core 2.0.0.CR8) starting Oct 27, 2015 12:42:27 PM org.jboss.as.controller.AbstractOperationContext executeStep ERROR: WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([]) java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.logging at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115) at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890) at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1336) at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:459) at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:387) at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:349) at org.jboss.as.server.ServerService.boot(ServerService.java:392) at org.jboss.as.server.ServerService.boot(ServerService.java:365) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager" at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107) ... 11 more Caused by: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager" at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:147) at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131) at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104) at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144) at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Oct 27, 2015 12:42:27 PM org.jboss.as.server.ServerService boot FATAL: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. org.jboss.as.cli.CommandLineException: Cannot start embedded server at org.jboss.as.cli.embedded.EmbedServerHandler.doHandle(EmbedServerHandler.java:263) at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:88) at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:773) at com.redhat.installer.asconfiguration.ascontroller.EmbeddedController.startEmbeddedServer(EmbeddedController.java:51) at com.redhat.installer.asconfiguration.ascontroller.EmbeddedController.run(EmbeddedController.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:755) at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:511) at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:456) at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:373) at com.izforge.izpack.panels.ProcessPanelConsoleHelper.runConsole(ProcessPanelConsoleHelper.java:126) at com.izforge.izpack.installer.ConsoleInstaller.iterateAndPerformAction(ConsoleInstaller.java:288) at com.izforge.izpack.installer.ConsoleInstaller.doInstall(ConsoleInstaller.java:643) at com.izforge.izpack.installer.ConsoleInstaller.run(ConsoleInstaller.java:776) at com.izforge.izpack.installer.Installer.main(Installer.java:178) Caused by: java.lang.IllegalStateException: WFLYEMB0022: Cannot invoke 'start' on standalone server at org.wildfly.core.embedded.EmbeddedServerReference.invokeOnServer(EmbeddedServerReference.java:93) at org.wildfly.core.embedded.EmbeddedServerReference.start(EmbeddedServerReference.java:56) at org.jboss.as.cli.embedded.EmbedServerHandler.doHandle(EmbedServerHandler.java:205) ... 17 more Caused by: org.wildfly.core.embedded.ServerStartException: WFLYEMB0021: Cannot start embedded server at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory$StandaloneServerImpl.start(EmbeddedStandaloneServerFactory.java:313) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.wildfly.core.embedded.EmbeddedServerReference.invokeOnServer(EmbeddedServerReference.java:85) ... 19 more Caused by: java.util.concurrent.ExecutionException: Operation failed at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74) at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268) at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory$StandaloneServerImpl.start(EmbeddedStandaloneServerFactory.java:300) ... 24 more Caused by: java.lang.Exception: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. at org.jboss.as.server.BootstrapListener.bootFailure(BootstrapListener.java:87) at org.jboss.as.server.ServerService.boot(ServerService.java:384) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) at java.lang.Thread.run(Thread.java:745) Cannot start embedded server Starting process Onfail Server Shutdown Job (6/26) Post Processing Error Invocation Problem calling : com.redhat.installer.asconfiguration.ascontroller.EmbeddedHostController, java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:755) at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:511) at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:456) at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:386) at com.izforge.izpack.panels.ProcessPanelConsoleHelper.runConsole(ProcessPanelConsoleHelper.java:126) at com.izforge.izpack.installer.ConsoleInstaller.iterateAndPerformAction(ConsoleInstaller.java:288) at com.izforge.izpack.installer.ConsoleInstaller.doInstall(ConsoleInstaller.java:643) at com.izforge.izpack.installer.ConsoleInstaller.run(ConsoleInstaller.java:776) at com.izforge.izpack.installer.Installer.main(Installer.java:178) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at com.redhat.installer.asconfiguration.ascontroller.EmbeddedController.run(EmbeddedController.java:27) ... 13 more [pkremens@dhcp-10-40-5-160 ~]$
- is related to
-
JBEAP-1291 Installer should make use of CLI embedded EAP instances for runtime configuration tasks
- Closed