Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12150

EAP 7.1.0.GA -> WildFly 10.1.0.Final migration throws IAE("unsupported")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER3
    • 7.1.0.ER2
    • Migration
    • None

      Since jboss-server-migration-eap7.1-feature-pack contains module from WF -> EAP migration, I've created some smoke tests for these as well.

      ----------------------------------------------------------
      ----  JBoss Server Migration Tool  -----------------------
      ----------------------------------------------------------
      
      Retrieving servers...
      [0m01:09:19,687 INFO  [org.jboss.migration.core.logger] (main) SOURCE server name: WildFly Full, version: 10.1.0.Final.
      [0m[0m01:09:19,691 INFO  [org.jboss.migration.core.logger] (main) TARGET server name: JBoss EAP, version: 7.1.0.GA.
      [0m
      ----------------------------------------------------------
      ----------------------------------------------------------
      
      Server migration starting...
      [31m01:09:19,701 ERROR [org.jboss.migration.core.logger] (main) Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = JBoss EAP, version = 7.1.0.GA does not support migration from server name = WildFly Full, version = 10.1.0.Final.
              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:160) [jboss-server-migration-core-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:140) [jboss-server-migration-cli-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.modules.Module.run(Module.java:344) [jboss-modules.jar:1.6.0.CR1-redhat-1]
              at org.jboss.modules.Main.main(Main.java:519) [jboss-modules.jar:1.6.0.CR1-redhat-1]
      Caused by: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = JBoss EAP, version = 7.1.0.GA does not support migration from server name = WildFly Full, version = 10.1.0.Final.
              at org.jboss.migration.core.AbstractServer.migrate(AbstractServer.java:63) [jboss-server-migration-core-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.migration.wfly10.WildFlyServer10.migrate(WildFlyServer10.java:49) [jboss-server-migration-wildfly10.0-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.migration.core.ServerMigration$1.run(ServerMigration.java:153) [jboss-server-migration-core-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.0.0.CR2-redhat-1.jar:1.0.0.CR2-redhat-1]
              ... 4 more
      

      WF10 is base for EAP 7.0.0, IAE shouldn't be thrown here and this migration path should be supported as well.

              emartins@redhat.com Eduardo Martins
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: