Issue
I would like to edit the <Connector connectionTimeout="xx" />
property in the server.xml of my Tomcat 9 Server.
However the app was deployed to an Azure WebApp (Serverless Instance) Directly from the Eclipse IDE and I am unable to find or edit that file.
Is there anyway to do this within the Azure Portal?
Is it possible to define the connectionTimout property another way?
Any help would be most appreciated.
This thread did not answer any questions : Increase azure web app request timeout
Solution
Tomcat 9 Azure Webapp - Edit the Connection in Server.xml
Server.xml: This file includes general configuration of Tomcat server. For each Tomcat server, we can only find one $CATALINA_BASE/conf/server.xml
file.
- You can edit the Server.xml file in KUDU Console
- Path to KUDU Console Portal => Your Web App => Advanced Settings => Go => Debug Console => CMD You can access KUDU Console at the below link
https://YourWebAppName.scm.azurewebsites.net/
- Go to
\tomcat\conf
directory in kudu
- Edit the file server.xml by clicking on the Pencil icon and save it
Please refer Editing the Tomcat server.xml File and Customize Tomcat configuration for more information
Answered By - HarshithaVeeramalla-MT
Answer Checked By - Clifford M. (JavaFixing Volunteer)