How to fix tomcat issue on Azure Portal?

farrukh izhar 0 Reputation points
2025-03-10T08:01:00.16+00:00

I developed a Java JSP web application that includes:

Servlets

JSP Pages

Models and Controllers

The web application runs successfully on a local environment with a local database.

To deploy the application on Azure, I followed the steps outlined below:

Created a Resource Group.

Configured the Web App by specifying details such as the app name, stack, and server.

Set Up the Database by providing the server name, username, and password.

Configured Networking, allowing public access by adding client addresses and IP addresses.

Enabled FTPS Authentication for secure file transfer.

Reviewed and created the Web App.

Once the Azure Web App was set up, I verified the database connection using MySQL Workbench. I created a database and uploaded the tables and data into the database.

I successfully ran the application on a local Tomcat server, and the login functionality worked as expected.

Next, I deployed the application by uploading the WAR file using FTPS credentials via FileZilla. After restarting the application on Azure, the web app ran successfully. However, when attempting to log in, the application crashed, giving a 400 error.1

2

3

4

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.