I've got this to work after a bit of fiddling : the bit that got me was the repository.xml where you specify the jdbc connection - i put the jndi version and *didn't* remove the rest of the statndard connection info which seemed to break it - when iremoved the info e.g. the username and password for the db (generally stuff which should be in the resource entry) it worked.
it seems that when you specify a jndi DS in the repository.xml - you just specify the jndi name and nothing else. I haven't got mine to hand otherwise i'd show you. HTH Jin ----- Original Message ----- From: "C F" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 9:33 PM Subject: Will OJB work with Tomcat connection pool? > > Has anyone gotten OJB to use Tomcat JNDI connection pools? There have been a few queries in the OJB mailing list, but no resolution. So I just thought I'd throw it out there again. If anyone has gotten this to work, please let us know and what the trick was. I really want to reuse my existing connection pooling mechanism instead of maintaing one for Tomcat and one for OJB. > > (using latest versions of both) > > Thanks > > > > --------------------------------- > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site -- To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
