Hi @CHANG Caleb ,
App Service will automatically run your artifact if it's named app.jar
. However, if your deployed app is named something else, you can set Startup Command to java -jar /home/site/wwwroot/myapp.jar
under Configuration | General Settings blade. Configure Java Apps provides information on configuration like JAVA_OPTS
, troubleshooting, as well as pinning your Java version.
You already enabled logging on your App Service and not much was revealed. Feel free to post any snippets and OS type for another set of eyes. Another place to check is the Diagnose and solve problems, specifically check Web App Down. Also check the deployment logs for anything that may have gone wrong. For Java, those are logs are at D:\home\LogFiles\Application.