1 Reply Latest reply on Apr 5, 2018 5:19 AM by glt glt

    wildlfy migration from 8.2.0.Final to 12.0.0.Final

    glt glt Newbie

      Hi,

      I woluld like to migrate old wildfly version to new 12.0 using jboss-server-migration-1.1.0.CR1. I've got following error:

       

      Migration error log:

      ERROR Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.IllegalStateException: WFLYEMB0022: Cannot invoke 'start' on embedded process

              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.migrateConfig(ServerConfigurationsMigration.java:151) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.migrateAllConfigs(ServerConfigurationsMigration.java:120) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.run(ServerConfigurationsMigration.java:105) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.DomainMigration$1.run(DomainMigration.java:64) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.console.UserConfirmationServerMigrationTask.runTask(UserConfirmationServerMigrationTask.java:58) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.console.UserConfirmationServerMigrationTask.confirmTaskRun(UserConfirmationServerMigrationTask.java:50) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.console.UserConfirmationServerMigrationTask.run(UserConfirmationServerMigrationTask.java:63) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.env.SkippableByEnvServerMigrationTask.run(SkippableByEnvServerMigrationTask.java:47) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.ServerMigration.run(ServerMigration.java:45) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.WildFlyServer10.migrate(WildFlyServer10.java:40) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.ServerMigration$1.run(ServerMigration.java:153) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:160) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131) [jboss-server-migration-cli-1.1.0.CR1.jar:1.1.0.CR1]

      Caused by: java.lang.IllegalStateException: WFLYEMB0022: Cannot invoke 'start' on embedded process

              at org.wildfly.core.embedded.EmbeddedManagedProcessImpl.invokeOnServer(EmbeddedManagedProcessImpl.java:93) [wildfly-embedded-4.0.0.Final.jar:4.0.0.Final]

              at org.wildfly.core.embedded.EmbeddedManagedProcessImpl.start(EmbeddedManagedProcessImpl.java:55) [wildfly-embedded-4.0.0.Final.jar:4.0.0.Final]

              at org.jboss.migration.wfly10.config.management.impl.EmbeddedHostControllerConfiguration.startConfiguration(EmbeddedHostControllerConfiguration.java:83) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.management.impl.AbstractManageableServerConfiguration.start(AbstractManageableServerConfiguration.java:70) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.wfly10.config.task.ServerConfigurationMigration$1.run(ServerConfigurationMigration.java:96) [jboss-server-migration-wildfly10.0-1.1.0.CR1.jar:1.1.0.CR1]

              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.1.0.CR1.jar:1.1.0.CR1]

              ... 25 more

      Caused by: org.wildfly.core.embedded.EmbeddedProcessStartException: WFLYEMB0021: Cannot start embedded process

              at org.wildfly.core.embedded.EmbeddedHostControllerFactory$HostControllerImpl.start(EmbeddedHostControllerFactory.java:294) [wildfly-embedded-4.0.0.Final.jar:4.0.0.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]

              at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]

              at org.wildfly.core.embedded.EmbeddedManagedProcessImpl.invokeOnServer(EmbeddedManagedProcessImpl.java:81) [wildfly-embedded-4.0.0.Final.jar:4.0.0.Final]

              ... 30 more

      Caused by: java.util.concurrent.ExecutionException: JBTHR00005: Operation failed

              at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:253) [jboss-threads-2.3.1.Final.jar:2.3.1.Final]

              at org.wildfly.core.embedded.EmbeddedHostControllerFactory$HostControllerImpl.start(EmbeddedHostControllerFactory.java:278) [wildfly-embedded-4.0.0.Final.jar:4.0.0.Final]

              ... 35 more

      Caused by: java.lang.Exception: WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.

              at org.jboss.as.server.BootstrapListener.bootFailure(BootstrapListener.java:87) [wildfly-server-4.0.0.Final.jar:4.0.0.Final]

              at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:867) [wildfly-host-controller-4.0.0.Final.jar:4.0.0.Final]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:372) [wildfly-controller-4.0.0.Final.jar:4.0.0.Final]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]

       

       

      Problem occurs during domain migration:

      Summary

      ------------------------------------------------------------------------------------------------------

      Task Summary

      ------------------------------------------------------------------------------------------------------

       

       

      server ...................................................................................... FAIL

        standalone ................................................................................. SUCCESS

         standalone-configurations ................................................................. SUCCESS

          standalone-configuration(source=standalone-full-ha.xml) .................................. SUCCESS

          standalone-configuration(source=standalone-full.xml) ..................................... SUCCESS

          standalone-configuration(source=standalone-ha.xml) ....................................... SUCCESS

          standalone-configuration(source=standalone.xml) .......................................... SUCCESS

        domain ..................................................................................... FAIL

         contents.domain.migrate-content-dir ....................................................... SUCCESS

          contents.domain.migrate-content(path=99/e102e803daf43e611272c31519e08874683bf6/content) .. SUCCESS

          contents.domain.migrate-content(path=94/e2f4de85fea26afd18417cc93be8761bb56544/content) .. SUCCESS

          contents.domain.migrate-content(path=03/56c68130fcca558ec458770e14c7e5d8b62c9c/content) .. SUCCESS

          contents.domain.migrate-content(path=a6/5f9c7760a9a85c1f1a9d900dc290adf1c80543/content) .. SUCCESS

          contents.domain.migrate-content(path=12/b98153ce3ee9e5f1c528e11c5169af644a049b/content) .. SUCCESS

          contents.domain.migrate-content(path=0e/6f8772c8d8e9b3a8a1bbe582c9eaed68264e83/content) .. SUCCESS

          contents.domain.migrate-content(path=d5/e9186df2571b536f89f8a4d30290e74aab549e/content) .. SUCCESS

          contents.domain.migrate-content(path=53/fffa32c9292e39c36b089cc146492752eef549/content) .. SUCCESS

          contents.domain.migrate-content(path=65/d899fc8de9f47a57c85dfa11904bc58773ae34/content) .. SUCCESS

         domain-configurations ..................................................................... FAIL

          domain-configuration(source=domain.xml) .................................................. FAIL

       

       

      ------------------------------------------------------------------------------------------------------

      Migration Result: FAIL

      ------------------------------------------------------------------------------------------------------