Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-71

Migration from EAP 7.0.x to 7.1.x throws IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • None

      Using the tool to migrate from EAP 7.0.x to 7.1.x throws IllegalArgumentException stating that "migration to WildFly 10 not supported".

      Server migration starting...
      07:52:12,085 ERROR [org.jboss.migration.core.logger] (main) Migration failed: org.jboss.migration.core.ServerMigrationFailedException: java.lang.IllegalArgumentException: Source server migration to WildFly 10 not supported: name: JBoss EAP, version: 7.0.0.GA
      	at org.jboss.migration.core.ServerMigrationTaskExecution.run(ServerMigrationTaskExecution.java:173) [jboss-server-migration-cli-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      	at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:155) [jboss-server-migration-cli-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      	at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:140) [jboss-server-migration-cli-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      Caused by: java.lang.IllegalArgumentException: Source server migration to WildFly 10 not supported: name: JBoss EAP, version: 7.0.0.GA
      	at org.jboss.migration.wfly10.WildFly10Server.migrate(WildFly10Server.java:42) [jboss-server-migration-wildfly10-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      	at org.jboss.migration.core.ServerMigration$1.run(ServerMigration.java:148) [jboss-server-migration-cli-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      	at org.jboss.migration.core.ServerMigrationTaskExecution.run(ServerMigrationTaskExecution.java:168) [jboss-server-migration-cli-1.0.0.Alpha2-SNAPSHOT.jar:1.0.0.Alpha2-SNAPSHOT]
      	... 2 more
      

      This could become a blocker for EAP7-93.

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

                Created:
                Updated:
                Resolved: