My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web application and once for application XYZ). How can I read some external values into server.xml? For example:
<Resource name="jdbc/MyDB" username="${user}" password="${pwd}" url="${url}" ...