-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David,
On 12/26/2010 2:59 PM, David Wall wrote: > On 12/26/2010 2:04 AM, Mark Thomas wrote: >> Yes. You'll need to extend BaseDirContext in >> org.apache.naming.resources. For some examples, see FileDirContext and >> WarDirContext in the same package. > > Thanks for the pointers, Mark. From what you are saying, this would be > a Tomcat-specific solution. I was hoping for something that would work > in standard way so it would be portable. I'm not sure there is going to be a pure-Java, container-agnostic solution. There is certainly nothing in the servlet spec that will help you with this, so your solution is likely to be either container-specific, or not a container-related solution (like using a db-based filesystem mounted at the OS level). > While we use Tomcat ourselves, > we've had users who run on other containers. I'll take a look though > since maybe it's something that can be plugged into other containers, too. Good luck. In either case, a DataSourceDirContext would be a nice addition to Tomcat. ;) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0ZAcAACgkQ9CaO5/Lv0PCAdACfVaje7D7FMa7/k8IMZAHVXwwl 4LAAoJwSNa97Ejk8wwnfOl/s6hH19roE =7Bbl -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org