|
From: Ronald v. K. <rv...@ab...> - 2003-11-06 03:42:43
|
I got it working in tomcat 4.1.29LE as well. I'll draw up a little how-to regarding the connection pool tomorrow and will post a new DbConnectionPool as well since there is a small change for jndi lookups. btw. Can somebody explain why there is a normal and a raw connection? Ronald Ronald van Kuijk wrote: > As promised: > > Connectionpools on tomcat : > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html > > > Connectionpools on Jetty: > http://jetty.mortbay.org/jetty/plus/index.html > > Connectionpools on JBoss: > http://prdownloads.sourceforge.net/jboss/JCAConfig322.pdf?download > > Attached you wil find a DbConnectioPool.java that is a real > stripped-down version of the original hermes DbConnectioPool class. > It's really stripped even the comment is gone ;-). I think 90% of the > code is now logging and error handling. > > It works on JBoss 3.2.2 with the attached mysql-ds.xml datasource and > the web.xml. > > I'll try to install Tomcat 4.1.x and 4.0.x in a moment and try to get > it working there as wel. > > Ronald > > Tripathi, Ajit (GXS) wrote: > >> Ronald, >> >> I too am unfamiliar with administered db connections pools on tomcat >> 4.x. How does that work? >> >> If Hermes can use connection pools on app servers/weblogic, that >> would help the eventual scalability objective. >> >> BTW... why can't authentication also be managed by the server using >> JAAS? Consider that. >> >> However, in that case, the db connection pool will need to be >> configurable in the deployment descriptor for hermes... wherever. >> >> regards, >> Ajit >> >> > |