从 8.2.0 到最新版本的 Wildfly 迁移工具
Wildfly migration tool from 8.2.0 to latest
我在 https://github.com/wildfly/wildfly-server-migration/releases 中看到我们可以在上一个版本 1.7.0 中将 wildfly WildFly 8.2 迁移到 WildFly 17.0 但是当我尝试时我遇到了这个错误
'''
Server migration starting...
ERROR Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = WildFly
, version = 8.2.0.Final does not support migration from server name = WildFly Full, version = 16.0.0.Final.
at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:160) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131) [jboss-server-migration-cli-1.7.0.Final.jar:1.7.0.Fi
nal]
Caused by: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = WildFly, version = 8.2.0.Final does not support migration from server name = Wi
ldFly Full, version = 16.0.0.Final.
at org.jboss.migration.core.AbstractServer.migrate(AbstractServer.java:63) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:153) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
... 2 more
我的问题是我可以直接从 8 迁移到 16 吗?
从日志记录来看,您似乎交换了源服务器和目标服务器参数,但该工具的 1.7 版本无论如何只支持迁移到 WildFly 17 或 18,要迁移到 WildFly 16,您应该使用 https://github.com/wildfly/wildfly-server-migration/releases/tag/1.6.0.Final
我在 https://github.com/wildfly/wildfly-server-migration/releases 中看到我们可以在上一个版本 1.7.0 中将 wildfly WildFly 8.2 迁移到 WildFly 17.0 但是当我尝试时我遇到了这个错误 '''
Server migration starting...
ERROR Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = WildFly
, version = 8.2.0.Final does not support migration from server name = WildFly Full, version = 16.0.0.Final.
at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:160) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131) [jboss-server-migration-cli-1.7.0.Final.jar:1.7.0.Fi
nal]
Caused by: java.lang.IllegalArgumentException: WFCMTOOL000004: Server name = WildFly, version = 8.2.0.Final does not support migration from server name = Wi
ldFly Full, version = 16.0.0.Final.
at org.jboss.migration.core.AbstractServer.migrate(AbstractServer.java:63) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:153) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) [jboss-server-migration-core-1.7.0.Final.jar:1.7.0.Final]
... 2 more
我的问题是我可以直接从 8 迁移到 16 吗?
从日志记录来看,您似乎交换了源服务器和目标服务器参数,但该工具的 1.7 版本无论如何只支持迁移到 WildFly 17 或 18,要迁移到 WildFly 16,您应该使用 https://github.com/wildfly/wildfly-server-migration/releases/tag/1.6.0.Final