Skip to content

Commit a78892a

Browse files
authored
Update configure-language-java.md
Added CLI commands to alter Connector Values if desired.
1 parent b396bcb commit a78892a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/app-service/configure-language-java.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,19 @@ Please note that the latest versions of Tomcat will have these server.xml. (8.5.
11131113
11141114
> [!NOTE]
11151115
> The connectionTimeout, maxThreads and maxConnections settings can be tuned with app settings
1116+
1117+
Following are example CLI commands that you may use to alter the values of conectionTimeout, maxThreads, or maxConnections:
1118+
1119+
```azurecli-interactive
1120+
az webapp config appsettings set --resource-group myResourceGroup --name myApp --settings WEBSITE_TOMCAT_CONNECTION_TIMEOUT=120000
1121+
```
1122+
```azurecli-interactive
1123+
az webapp config appsettings set --resource-group myResourceGroup --name myApp --settings WEBSITE_CATALINA_MAXTHREADS=100
1124+
```
1125+
```azurecli-interactive
1126+
az webapp config appsettings set --resource-group myResourceGroup --name myApp --settings WEBSITE_CATALINA_MAXCONNECTIONS=5000
1127+
```
1128+
* Connector uses the address of the container instead of 127.0.0.1
11161129
11171130
### Host
11181131
@@ -1150,7 +1163,6 @@ On Linux, it has all of the same customization, plus:
11501163
<xsl:value-of select="'${catalina.valves.showServerInfo}'"/>
11511164
</xsl:attribute>
11521165
```
1153-
* Connector uses the address of the container instead of 127.0.0.1
11541166
11551167
11561168
::: zone-end

0 commit comments

Comments
 (0)