Hello,

On Wed, Aug 8, 2012 at 9:19 AM, Daniel Mikusa <dmik...@vmware.com> wrote:

> > (...)
> >
>
> Have you looked at the method "parsePoolProperties" on the
> DataSourceFactory class?
>
>   public static PoolConfiguration parsePoolProperties(Properties
> properties)
>
> You could load your configuration into a Properties object, create you
> first pool configuration with "parsePoolProperties", alter the Properties
> object and then call "parsePoolProperties" on the modified Properties
> object to create your second pool configuration.
>
> Dan
>
>
>
Thank you, I had not looked that method. I guess it's a valid option in my
case because I could add or change some parameter to pass the Properties
object. Anyway it would be good to find a way to create a copy of the
DataSource directly.

Regards,
Germán



>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to