> So, in light of this, could you give me a hint on how > to instantiate the datasources manually ? I guess tyrex is the package to use. > Unfortunately its documentation is rather poor.
The problem is that you can't instantiate a DataSource in a generic way, and it's a lot better to rely on JNDI ENC and its factories (which are provided by Tomcat here) to do that. OTOH, if you're not afraid to tweak the code a bit, some DS are easy to work with, like Tyrex. You can look at the TyrexDataSourceFactory code in the Catalina sources (package org.apache.naming.factory). I've started trying to make the global ENC of TC 4.1 available to the internal Catalina components (it's needed by Tomcat itself to clean up the code a bit anyway). Hopefully, I'll have it work soon. I really can't think of a way to make the J2EE store work with TC 4.0, except when Slide is used in "webapp mode" :-( Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
