THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you wish to extend tomcat using your own Valve, Realm, or anything else ... those discussions belong in tomcat-user. You might be using Tomcat's internal API but unless your changes are going back into the official source tree, the question belongs on the user list.
...