Changing runtime for AppService from Python to Java

Venkatachalam, Rohit (Partner) 26 Reputation points

We have an Appservice which was created to run Python application. This has Windows as the operating system. This was unused as Python and windows was not good combination. Later as part of re-architecture. we decided to repurpose this app service. We changed the runtime stack to Java 11. We deployed a spring-boot application.
We have successfully deployed the application. I can see the process is running on the port 8080.
However I cannot access the application.
https://<appservicename> gives me the default home page of Python application

I deleted all the residue python files from c:\home\wwwroot. However on deploy these reappear with the app.jar

If I try java -jar app.jar it says there is a process already running on port 8080

Is there any simple fix. Only option I see is to delete and recreate the app

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