diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli index 51a67186bd..ed1bae1735 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli @@ -1,3 +1,13 @@ +echo +echo *** WARNING *** +echo +echo ** If the following embed-server command fails, manual intervention is needed. +echo ** In such case, remove any and declarations referring +echo ** to the removed smallrye modules from the standalone-ha.xml file and rerun this script. +echo ** For details, see Migration Changes section in the Upgrading guide. +echo ** We apologize for this inconvenience. +echo + embed-server --server-config=standalone-ha.xml echo *** Begin Migration *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli index 8127d1f2cd..d614898d43 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli @@ -1,3 +1,13 @@ +echo +echo *** WARNING *** +echo +echo ** If the following embed-server command fails, manual intervention is needed. +echo ** In such case, remove any and declarations referring +echo ** to the removed smallrye modules from the standalone.xml file and rerun this script. +echo ** For details, see Migration Changes section in the Upgrading guide. +echo ** We apologize for this inconvenience. +echo + embed-server --server-config=standalone.xml echo *** Begin Migration *** diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-9.0.3.redhat-00002.xml b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-9.0.3.redhat-00002.xml index bbf612cfa5..1f82591dd0 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-9.0.3.redhat-00002.xml +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-9.0.3.redhat-00002.xml @@ -22,9 +22,10 @@ - - - + + + + @@ -474,9 +475,10 @@ - - - + + + + diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-ha-9.0.3.redhat-00002.xml b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-ha-9.0.3.redhat-00002.xml index 595d44c367..2bb74ae81d 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-ha-9.0.3.redhat-00002.xml +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/standalone-ha-9.0.3.redhat-00002.xml @@ -24,9 +24,10 @@ - - - + + + + @@ -525,9 +526,10 @@ - - - + + + +