Guys, My enterprise application, packaged into an ear-file uses a Properties file (server.properties) for various configuration data --- both for EJBs and the web application. The EJBs pick up server.properties via a classpath entry in their respetive manifest files. No probs.
For the web application, I've copied server.properties into WEB-INF/classes. However, Jetty can't see it
As an experiment, I deploy the same war-file separately, i.e. not as part of the ear-file. WEB-INF/classes/server.properties is then picked up by the ClassLoader. Why is that? And more importantly, why is it not picked up when I package my war-file in the above mentioned ear-file?