I'm having trouble deploying a Java web app. It centers on our application config file (myapp.properties). In certain situations, having this file external to the WAR seems to work fine, but whenever I try to deploy it properly (Docker, proper JBoss deployment, etc.) the deployments inevitably fail due to being unable to find/read from myapp.properties. I've seen a few references here and elsewhere to packaging these files inside the WAR archive, but I can't find any information on how to actually do that. So, my questions is: What is the proper way to include an application config file in a WAR archive and/or deployment? Continue reading...