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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ Sign in to the [Azure portal](https://portal.azure.com/) and follow these steps
128
128
:::row:::
129
129
:::column span="2":::
130
130
**Step 1:** In the Azure portal:
131
-
1. Enter "app service" in the search bar at the top of the Azure portal.
131
+
1. In the top search bar, type *app service*.
132
132
1. Select the item labeled **App Service** under the **Services** heading.
133
133
1. Select **Create** > **Web App**.
134
134
You can also navigate to the [creation wizard](https://portal.azure.com/#create/Microsoft.WebSite) directly.
@@ -146,7 +146,7 @@ Sign in to the [Azure portal](https://portal.azure.com/) and follow these steps
146
146
1. *Region*: Any Azure region near you.
147
147
1. *Linux Plan*: **Create new** and use the name **msdocs-jboss-mysql**.
148
148
1. *Pricing plan*: **Premium V3 P0V3**. When you're ready, you can [scale up](manage-scale-up.md) to a different pricing tier.
149
-
1. *Deploy with your app*: Select **Database**. Azure Database for MySQL - Flexible Servier is selected for you by default. It's a fully managed MySQL database as a service on Azure, compatible with the latest community editions.
149
+
1. *Deploy with your app*: Select **Database**. Azure Database for MySQL - Flexible Server is selected for you by default. It's a fully managed MySQL database as a service on Azure, compatible with the latest community editions.
150
150
1. Select **Review + create**.
151
151
1. After validation completes, select **Create**.
152
152
:::column-end:::
@@ -179,11 +179,11 @@ 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. Enter "manageed identity" in the search bar at the top of the Azure portal.
182
+
1. In the top search bar, type *manageed 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**.
186
-
1. In **Region**, select the same region thaty you used for your web app.
186
+
1. In **Region**, select the same region that you used for your web app.
187
187
1. In **Name**, type **msdocs-jboss-mysql-serveri-identity**.
188
188
1. Select **Review + create**.
189
189
1. Select **Create**.
@@ -195,18 +195,18 @@ In this step, you generate a managed identity based service connection, which yo
195
195
:::row:::
196
196
:::column span="2":::
197
197
**Step 2: Enable Microsoft Entra authentication in the MySQL server.**
198
-
1. In the top search bar, type "msdocs-jboss-mysql-server".
198
+
1. In the top search bar, type *msdocs-jboss-mysql-server*.
199
199
1. Select the Azure Database for MySQL flexible server resource called **msdocs-jboss-mysql-server**.
200
200
1. From the left menu, select **Security** > **Authentication**.
201
201
1. In **Assign access to**, select **Microsoft Entra authentication only**.
202
202
1. In **User assigned managed identity**, select **Select**.
203
203
1. Select **msdocs-jboss-mysql-server-identity**, then select **Add**. It takes a moment for the identity to be assigned to the MySQL server.
204
204
1. In **Microsoft Entra Admin Name**, select **Select**.
205
-
1. Find your Azure login and select it, then select **Select**.
205
+
1. Find your Azure account and select it, then select **Select**.
206
206
1. Select **Save** and wait for the operation to complete.
207
207
:::column-end:::
208
208
:::column:::
209
-
:::image type="content" source="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-2.png" alt-text="A screenshot showing how to configure Microsft Entra authentication for Azure Database for MySQL flexible server." lightbox="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-2.png":::
209
+
:::image type="content" source="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-2.png" alt-text="A screenshot showing how to configure Microsoft Entra authentication for Azure Database for MySQL flexible server." lightbox="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-2.png":::
210
210
:::column-end:::
211
211
:::row-end:::
212
212
:::row:::
@@ -226,7 +226,7 @@ In this step, you generate a managed identity based service connection, which yo
226
226
1. Select the **Review + Create** tab.
227
227
1. When validation completes, select **Create on Cloud Shell** and wait for the operation to complete in the Cloud Shell.
228
228
1. When you see the output JSON, you can close the Cloud Shell. Also, close the **Create connection** dialog.
229
-
1. Click**Refresh** to show the new service connector.
229
+
1. Select**Refresh** to show the new service connector.
230
230
:::column-end:::
231
231
:::column:::
232
232
:::image type="content" source="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-3.png" alt-text="A screenshot showing a completely configured service connector, ready to be created with cloud shell." lightbox="./media/tutorial-java-jboss-mysql-app/azure-portal-create-passwordless-connection-3.png":::
@@ -266,8 +266,8 @@ If you add an app setting that contains a valid JDBC connection string for Oracl
266
266
:::column span="2":::
267
267
**Step 2:** In the SSH terminal:
268
268
1. Run `$JBOSS_HOME/bin/jboss-cli.sh --connect`.
269
-
1. In the JBoss CLI connection, run `ls subsystem=datasources/data-source`. You should see the automaically generated data source called `AZURE_MYSQL_CONNECTIONSTRING_DS`.
270
-
1. Get the JDNI name of the data source with `/subsystem=datasources/data-source=AZURE_MYSQL_CONNECTIONSTRING_DS:read-attribute(name=jndi-name)`.
269
+
1. In the JBoss CLI connection, run `ls subsystem=datasources/data-source`. You should see the automatically generated data source called `AZURE_MYSQL_CONNECTIONSTRING_DS`.
270
+
1. Get the JNDI name of the data source with `/subsystem=datasources/data-source=AZURE_MYSQL_CONNECTIONSTRING_DS:read-attribute(name=jndi-name)`.
271
271
You now have a JNDI name `java:jboss/env/jdbc/AZURE_MYSQL_CONNECTIONSTRING_DS`, which you can use in your application code later.
272
272
:::column-end:::
273
273
:::column:::
@@ -687,7 +687,7 @@ This error is most likely because you haven't added the passwordless authenticat
687
687
688
688
#### I see an "Table 'Task' already exists" error in the diagnostic logs.
689
689
690
-
You can ignore this Hibernate error because it demontrates 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.
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