Skip to content

Commit

Permalink
Update deploy-spring-boot.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuelle committed Sep 12, 2023
1 parent 4a6f891 commit 04874af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/ROOT/pages/deploy-spring-boot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,15 @@ wlp/bin/springBootUtility thin \
+
For more information about the available command-line options, see the xref:reference:command/springbootUtility-thin.adoc[springBootUtility thin] command.
3. Update the `server.xml` file to specify the location of the thin application
3. Update the `server.xml` file to specify the location of the thin application.
+
Replace the value of the `springBootApplication location` element to specify the `hellospringboot-thin.jar` application
Replace the value of the `springBootApplication location` element to specify the `hellospringboot-thin.jar` application.
+
[source,xml]
----
<springBootApplication location="hellospringboot-thin.jar"/>
----
4. Start the server in the foreground by running the `server run` command.
+
[source,xml]
Expand All @@ -224,6 +225,7 @@ server run helloserver
5. Test the application in a browser by going to the `http://localhost:9090` URL.
+
When you finish testing the application, run the `server stop helloserver` command.
After you create the `hellospringboot-thin.jar` thin application, you can delete the original `hellospringboot.jar` application.
== See also
- Guide: link:/guides/spring-boot.html[Containerizing, packaging, and running a Spring Boot application]
Expand Down

0 comments on commit 04874af

Please sign in to comment.