author | ms.author | ms.reviewer | ms.date |
---|---|---|---|
KarlErickson |
karler |
givermei |
03/11/2024 |
The following sections show you how to deploy the sample to Azure App Service.
[!INCLUDE deploy-app-service-intro.md]
[!INCLUDE deploy-tomcat-app-service-configure-maven.md]
[!INCLUDE deploy-app-service-prepare-deploy.md]
[!INCLUDE deploy-tomcat-app-service-secret-note.md]
[!INCLUDE deploy-app-service-update-registration.md]
[!INCLUDE deploy-app-service-deploy.md]
To run the sample on Tomcat, use the following steps:
-
In your Tomcat installation, ensure that there's an entry in tomcat/conf/server.xml for the address you want to host your application on.
By default, the samples just expect to connect to
http://localhost:8080 or https://localhost:8443
, as defined in theapp.homePage
value in the authentication.properties file. -
Copy the .war file you generated with Maven to the /webapps/ directory in your Tomcat installation, and start the Tomcat server.
-
After Tomcat starts, open your browser and navigate to whatever URL you defined in step 1 and you should be able to access the application.