tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik \(mailing lists\)" <devli...@hanik.com>
Subject RE: pooledconnection & tccl?
Date Wed, 22 Aug 2012 13:12:16 GMT
I've thought about this, you see if it is using TCCL it will cause a memory
leak on app reload as the app wont be unloaded due to the pool holding it.
But I think we should make it an option

Best
Filip

> -----Original Message-----
> From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> Sent: Wednesday, August 22, 2012 3:14 AM
> To: Tomcat Developers List
> Subject: Re: pooledconnection & tccl?
> 
> if the resource is an app resource it should be closed with the stop()
> and
> recreated with the start
> 
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau*
> *Blog: http://rmannibucau.wordpress.com*
> 
> 
> 
> 
> 2012/8/22 Pid * <pid@pidster.com>
> 
> > On 19 Aug 2012, at 19:11, Romain Manni-Bucau <rmannibucau@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > org.apache.tomcat.jdbc.pool.PooledConnection#connectUsingDriver uses
> > tomcat
> > > classloader to create the driver, couldn't it be the TCCL?
> > >
> > > this way it could allow to provide the driver in the webapp.
> >
> > What would happen if the app is reloaded?
> >
> >
> > p
> >
> >
> >
> >
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau*
> > > *Blog: http://rmannibucau.wordpress.com*
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message