Skip to content

Commit

Permalink
Merge pull request #6867 from OpenLiberty/4746
Browse files Browse the repository at this point in the history
add WAR clarification
  • Loading branch information
dmuelle authored Sep 11, 2023
2 parents 27dda1e + 8781905 commit ff52f78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/ROOT/pages/deploy-spring-boot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ Open Liberty can create Docker layers that use resources efficiently when you de

The following example uses the `springBootUtility thin` command to separate the Spring Boot application content from the dependencies that are packaged inside of the Spring Boot application, which creates a thin Spring Boot application.

The examples in this section use a `hellospringboot.jar` file, but the procedure is the same for Spring Boot WAR applications.

The examples in this section use a `hellospringboot.jar` file, but the procedure is the same for thinning Spring Boot WAR applications. However, after you thin a Spring Boot WAR application by using the `springBootUtility thin` command, the thin application must run on the Open Liberty server and can no longer run as a stand-alone WAR. Furthermore, any configuration details that are specified in the `server.xml` file must be defined in a config:springBootApplication[] element. The thin WAR application does not read configuration that is specified in a generic `webApplication` element in the `server.xml` file.

1. Configure the thin Spring Boot application JAR or WAR file and the library dependencies.
+
Expand Down

0 comments on commit ff52f78

Please sign in to comment.