Azure tomcat application does not start. The process "5384" did not start. Port = 21220, Error Code = '-2147023829'

I have a tomcat application on azure for several months. It works well, but the last couple of hours I can’t relocate. My .war file is in the correct location inside webapps , but the ROOT directory has not been created and the application is not available.

In Event Log I see that the application does not start. Any idea how to fix this?

This is a complete log (there are several such entries in the log, one for each reboot attempt):

 <Event> <System> <Provider Name="HttpPlatformHandler"/> <EventID>1000</EventID> <Level>0</Level> <Task>0</Task> <Keywords>Keywords</Keywords> <TimeCreated SystemTime="2016-03-27T15:30:56Z"/> <EventRecordID>1368052437</EventRecordID> <Channel>Application</Channel> <Computer>RD000D3A61018F</Computer> <Security/> </System> <EventData> <Data> Process '5384' failed to start. Port = 21220, Error Code = '-2147023829'. </Data> 

+5
source share
1 answer

This is caused by a misconfiguration of the web.config file in the wwwroot directory.

In my case, the problem was that I set the JAVA_OPTS environment variable too fast. After trial and error with different values, I found that for my application service max the permissible Xmx was 768m and max PermSize should be 64m.

0
source

Source: https://habr.com/ru/post/1245861/


All Articles