Wildfly upgrade from 20 to latest available

175 views
Skip to first unread message

Watchuta Awkin

unread,
Mar 25, 2024, 10:40:10 AM3/25/24
to wil...@googlegroups.com
Hi to the awesome community! 
After building the wildfly-migration-tool, I noted the migration paths that were available, e.g.; from 20 to 26, and 26 to 31..
C:\wildfly-server-migration-main\migrations\wildfly26.0\wildfly20.0
which are confirmed by the existence of these pom artifactfid's:
<artifactId>jboss-server-migration-wildfly20.0-to-wildfly26.0</artifactId>
<artifactId>jboss-server-migration-wildfly26.0-to-wildfly31.0</artifactId>

However, even though I have WF20.0.1-Final and wf26.0.0-Final,
(also have WF26.0.1-Final and WF31.0.1-Final) all installed on my C:\ drive, attempts to run the migration tool using the above identified migration paths, fail.

"jboss-server-migration.bat -s C:\wildfly-20.0.1.Final -t C:\wildfly-26.0.1.Final
----------------------------------------------------------
---- JBoss Server Migration Tool -----------------------
----------------------------------------------------------
Retrieving servers...
 INFO SOURCE server name: WildFly Full, version: 20.0.1.Final.
java.lang.IllegalArgumentException: WFCMTOOL000006: Failed to retrieve server TARGET, from base dir C:\wildfly-26.0.1.Final.
        at org.jboss.migration.core.ServerMigration.getServer(ServerMigration.java:186)
        at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:134)
        at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131)
Press any key to continue . . ."

"jboss-server-migration.bat -s C:\wildfly-20.0.1.Final -t C:\wildfly-26.0.0.Final
----------------------------------------------------------
---- JBoss Server Migration Tool -----------------------
----------------------------------------------------------
Retrieving servers...
 INFO SOURCE server name: WildFly Full, version: 20.0.1.Final.
java.lang.IllegalArgumentException: WFCMTOOL000006: Failed to retrieve server TARGET, from base dir C:\wildfly-26.0.0.Final.
        at org.jboss.migration.core.ServerMigration.getServer(ServerMigration.java:186)
        at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:134)
        at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131)
Press any key to continue . . ."

There's no point pasting the 26 to 31 attempt, but it unfortunately fails with the same error.
Is there some documentation I missed? Can someone pls help me migrate my WF to the latest version available?

Please note that I also have the wildfly-camel-patch running on my WF. I however have not seen any newer camel patch releases since the WF20 one I already have on my WF20.. so does that mean I am not supposed to upgrade my WF to newer version, since camel patch is not supporting a newer version?
Reply all
Reply to author
Forward
0 new messages