Placing Database.xml outside the webapps working folder

beedee
New Contributor III

Anyone know of any mechanism to keep the desired copy of Database.xml outside the exploded war working folder?

Ideally, we'd like to just drop in the updated ROOT.war and be done with it. In practise - this mightn't always be possible (we've found that we had to restart Tomcat anyway).

Right now, we have to wait till it explodes, and then be on standby to replace the file in a timely manner.

1 REPLY 1

beedee
New Contributor III

I was hoping something could be achieved as described here ( Apache Tomcat Virtual webapp configuration ), but I guess that would be heavily dependent on how the Jamf Pro code located the file.