managing jndi credentials for tomcat server.xml

I don't like the idea of having the db credential files in our subversion
repository.

Is there a better way of storing/managing the db credentials?

One popular way to do it -- If you include it via "vars_files", you
can keep your passwords in a different file outside of the tree.

You can either path this relatively or absolutely.

Some people keep more restricted access repos for this.