Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploy-spring-boot.adoc #6870

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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