-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jens,
On 11/19/2009 2:59 PM, Jens Greven wrote: > is there a way of having a writeable JNDI context in Tomcat? I need one > to place dataSources in it, because I have a perfectly running > DataSourceFactory that is used in other applications as well, so I'd > prefer to use this one above everything else to avoid database > configurations in multiple places. Or is there a way of telling > hibernate to get connections from my DataSourceFactory, thus avoiding > the JNDI hassle? What about using Tomcat's <Resource> configuration in context.xml which results in putting a DataSource into the JNDI context. Is there a compelling reason to use your own DataSourceFactory? If so, I believe you can configure <Resource> to use that. See http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html for more information. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksFv+YACgkQ9CaO5/Lv0PAJIgCgvrT1QD3g46pgYAuQitD5sc1t dUQAn1xoH+KeZSe+SROKPVEMExtE/nHp =bgnL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org