You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/tutorial-java-jboss-mysql-app.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ In this step, you generate a managed identity based service connection, which yo
179
179
:::row:::
180
180
:::column span="2":::
181
181
**Step 1: Create a managed identity.**
182
-
1. In the top search bar, type *manageed identity*.
182
+
1. In the top search bar, type *managed identity*.
183
183
1. Select the item labeled **Managed Identities** under the **Services** heading.
184
184
1. Select **Create**.
185
185
1. In **Resource group**, select **msdocs-jboss-mysql_group**.
@@ -325,7 +325,7 @@ Like the JBoss convention, if you want to deploy to the root context of JBoss, n
325
325
**Step 4 (Option 1: with GitHub Copilot):**
326
326
1. Start a new chat session by clicking the **Chat** view, then clicking **+**.
327
327
1. Ask, "*@workspace How does the app connect to the database?*" Copilot might give you some explanation about the `java:jboss/MySQLDS` data source and how it's configured.
328
-
1. Say, "*The data source in JBoss in Azure will use the JNDI name java:jboss/env/jdbc/AZURE_MYSQL_CONNECTIONSTRING_DS.*" Copilot might give you a code suggestion similar to the one in the **Option 2: without GitHub Copilot** steps below and even tell you to make the change in the class.
328
+
1. Say, "*The data source in JBoss in Azure uses the JNDI name java:jboss/env/jdbc/AZURE_MYSQL_CONNECTIONSTRING_DS.*" Copilot might give you a code suggestion similar to the one in the **Option 2: without GitHub Copilot** steps below and even tell you to make the change in the class.
329
329
GitHub Copilot doesn't give you the same response every time, you might need to ask more questions to fine-tune its response. For tips, see [What can I do with GitHub Copilot in my codespace?](#what-can-i-do-with-github-copilot-in-my-codespace).
330
330
:::column-end:::
331
331
:::column:::
@@ -655,7 +655,7 @@ azd down
655
655
-[The Create connection dialog shows a Create On Cloud Shell button but it's not enabled.](#the-create-connection-dialog-shows-a-create-on-cloud-shell-button-but-its-not-enabled)
656
656
-[My app failed to start, and I see 'Access denied for user... (using password: NO)' in the logs.](#my-app-failed-to-start-and-i-see-access-denied-for-user-using-password-no-in-the-logs)
657
657
-[The deployed sample app doesn't show the tasks list app.](#the-deployed-sample-app-doesnt-show-the-tasks-list-app)
658
-
-[I see an "Table 'Task' already exists" error in the diagnostic logs.](#i-see-an-table-task-already-exists-error-in-the-diagnostic-logs)
658
+
-[I see a "Table 'Task' already exists" error in the diagnostic logs.](#i-see-a-table-task-already-exists-error-in-the-diagnostic-logs)
659
659
660
660
#### I see the error 'not entitled to use the Bring Your Own License feature' in the creation wizard.
661
661
@@ -675,17 +675,17 @@ You might also see an error message in the dialog: `The database server is in Vi
675
675
676
676
The service connector automation needs network access to the MySQL server. Look in the networking settings of your MySQL server resource and make sure **Allow public access to this resource through the internet using a public IP address** is selected at a minimum. Service Connector can take it from there.
677
677
678
-
If you don't see this checkbox, you might have created the deployment using the [Web App + Database wizard](https://portal.azure.com/?feature.customportal=false#create/Microsoft.AppServiceWebAppDatabaseV3) instead, and the deployment has locked down all public network access to the MySQL server. There's no way to modify the configuration. Since app's Linux container can access MySQL through the virtual network integration, you could install Azure CLI in the app's SSH session and run the supplied Cloud Shell commands there.
678
+
If you don't see this checkbox, you might have created the deployment using the [Web App + Database wizard](https://portal.azure.com/?feature.customportal=false#create/Microsoft.AppServiceWebAppDatabaseV3) instead, and the deployment locks down all public network access to the MySQL server. There's no way to modify the configuration. Since app's Linux container can access MySQL through the virtual network integration, you could install Azure CLI in the app's SSH session and run the supplied Cloud Shell commands there.
679
679
680
680
#### The deployed sample app doesn't show the tasks list app.
681
681
682
682
If you see the JBoss splash 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.
683
683
684
684
#### My app failed to start, and I see 'Access denied for user... (using password: NO)' in the logs.
685
685
686
-
This error is most likely because you haven't added the passwordless authentication plugin to the connection string (see the Java sample code for [Integrate Azure Database for MySQL with Service Connector](../service-connector/how-to-integrate-mysql?tabs=java#default-environment-variable-names-or-application-properties-and-sample-code)). Change the MySQL connection string by following the instructions in [3. Create a passwordless connection](#3-create-a-passwordless-connection).
686
+
This error is most likely because you didn't add the passwordless authentication plugin to the connection string (see the Java sample code for [Integrate Azure Database for MySQL with Service Connector](../service-connector/how-to-integrate-mysql.md?tabs=java#default-environment-variable-names-or-application-properties-and-sample-code)). Change the MySQL connection string by following the instructions in [3. Create a passwordless connection](#3-create-a-passwordless-connection).
687
687
688
-
#### I see an "Table 'Task' already exists" error in the diagnostic logs.
688
+
#### I see a "Table 'Task' already exists" error in the diagnostic logs.
689
689
690
690
You can ignore this Hibernate error because it indicates that the application code is connected to the MySQL database. The application is configured to create the necessary tables when it starts (see *src/main/resources/META-INF/persistence.xml*). When the application starts the first time, it should create the tables successfully, but on subsequent restarts, you would see this error because the tables already exist.
0 commit comments