Reading properties file from $TOMCAT_HOME\lib
<p>We have a tiny Web Application using Tomcat server. All the database details are in a properties file as key value pairs for the <code>hibernate.cfg.xml</code> to read.<br><br>
To make it easily managable for the server team, the properties file needs to go to <code>$TOMCAT_HOME/lib</code> folder. The Hibernate config file is in: <code>APP_HOME\src\main\resources\hibernate.cfg.xml</code> 
<br>
and it can be accessed by the application classes. <br>
The hibernate config file doesn't seem to read <code>$TOMCAT_HOME/lib/myapp.properties</code>.<br>
My prime requirement is that the properties file should reside in $TOMCAT_HOME/lib.<br>
Can anyone please suggest me the right thing to do.</p>

<p>Thanks in advance..!</p>