From cdbc2780822f897f68a8a52bc209c5c478c63aa2 Mon Sep 17 00:00:00 2001 From: Marek Skacelik Date: Wed, 5 Mar 2025 15:56:11 +0100 Subject: [PATCH] Fix typos within the text in readme file (http-custom-mechanism) --- http-custom-mechanism/README-source.adoc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/http-custom-mechanism/README-source.adoc b/http-custom-mechanism/README-source.adoc index 003c7c95e6..465f0a3afa 100644 --- a/http-custom-mechanism/README-source.adoc +++ b/http-custom-mechanism/README-source.adoc @@ -105,7 +105,7 @@ $ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=add-custom-module.cli NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script. -This creates the custom `__{jbossHomeName}__/modules/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file. +This creates the custom `__{jbossHomeName}__/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file. You can verify the module structure in your file manager. @@ -223,7 +223,7 @@ include::../shared-doc/run-integration-tests-with-server-distribution.adoc[level include::../shared-doc/undeploy-the-quickstart.adoc[leveloffset=+2] // Restore the {productName} Standalone Server Configuration Manually :restoreScriptName: restore-configuration.cli -include::../shared-doc/restore-standalone-server-configuration-manual.adoc[leveloffset=+2] +include::../shared-doc/restore-standalone-server-configuration.adoc[leveloffset=+2] // Additional information about this script This script reverts the changes made to the `undertow` and `elytron` subsystems. You should see the following result when you run the script. @@ -233,9 +233,18 @@ This script reverts the changes made to the `undertow` and `elytron` subsystems The batch executed successfully process-state: reload-required ---- +// removing the custom module +And finally, to remove the custom module, run the following command, replacing `__{jbossHomeName}__` with the path to your server. +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=remove-custom-module.cli +---- + +NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script. + // Restore the {productName} Standalone Server Configuration Manually -include::../shared-doc/restore-standalone-server-configuration-manual.adoc[leveloffset=+2] +include::../shared-doc/restore-standalone-server-configuration-manual.adoc[leveloffset=+3] // Build and run sections for other environments/builds include::../shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc[leveloffset=+1]