Skip to content

Commit 4570170

Browse files
cephalinCephas Lin
authored andcommitted
add 404 troubleshooting
1 parent b3b4b1f commit 4570170

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

articles/app-service/tutorial-java-tomcat-mysql-app.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -529,17 +529,14 @@ azd down
529529
## Troubleshooting
530530

531531
- [I see many \<Class> scanned from multiple locations warnings with mvn jetty:run](#i-see-many-class-scanned-from-multiple-locations-warnings-with-mvn-jettyrun)
532-
- [The deployed sample app doesn't show the tasks list app](#the-deployed-sample-app-doesnt-show-the-tasks-list-app)
533532
- [The portal deployment view for Azure Database for MySQL Flexible Server shows a Conflict status](#the-portal-deployment-view-for-azure-database-for-mysql-flexible-server-shows-a-conflict-status)
533+
- [The deployed sample app doesn't show the tasks list app](#the-deployed-sample-app-doesnt-show-the-tasks-list-app)
534+
- [I see a 404 Page Not Found error in the deployed sample app](#i-see-a-404-page-not-found-error-in-the-deployed-sample-app)
534535
535536
#### I see many \<Class> scanned from multiple locations warnings with mvn jetty:run
536537
537538
You can ignore the warnings. The Maven Jetty plugin shows the warnings because the app's *pom.xml* contains the dependency for `jakarta.servlet.jsp.jstl`, which the Jetty already provides out of the box. You need the dependency for Tomcat.
538539

539-
#### The deployed sample app doesn't show the tasks list app
540-
541-
If you see a `Hey, Java developers!` page instead of the tasks list app, it's most likely still loading the updated container from your most recent code deployment. Wait a few minutes and try again.
542-
543540
#### The portal deployment view for Azure Database for MySQL Flexible Server shows a Conflict status
544541

545542
Depending on your subscription and the region you select, you may see the deployment status for Azure Database for MySQL Flexible Server to be `Conflict`, with the following message in Operation details:
@@ -548,6 +545,14 @@ Depending on your subscription and the region you select, you may see the deploy
548545
549546
This is most likely because there's a limit on your subscription for the region you select. Try choosing a different region for your deployment.
550547
548+
#### The deployed sample app doesn't show the tasks list app
549+
550+
If you see a `Hey, Java developers!` page instead of the tasks list app, App Service is most likely still loading the updated container from your most recent code deployment. Wait a few minutes and refresh the page.
551+
552+
#### I see a 404 Page Not Found error in the deployed sample app
553+
554+
Make sure that you made the code changes to use the `java:comp/env/jdbc/AZURE_MYSQL_CONNECTIONSTRING_DS` data source. If you have made the changes and have redeployed your code, App Service is most likely still loading the updated container. Wait a few minutes and refresh the page.
555+
551556
## Frequently asked questions
552557
553558
- [How much does this setup cost?](#how-much-does-this-setup-cost)

0 commit comments

Comments
 (0)