What do you mean by "add a new connection to the pool"?  Each pool contains
a set of connections to a single datasource.  You do not explicitly add
connections to this pool.  The connection manager does that as necessary
when you issue getConnection() calls.  This happens dynamically - no need to
restart JBoss.

What you may be asking is if it is possible to add an additional pool,
containing a set of connections to a new datasource.  Each pool is managed
by an MBean, so your question becomes "can I add new mbeans without
restarting JBoss?"  I don't think so, but check the archives - this topic
has been discussed recently.

----- Original Message -----
From: "Nicolai P Guba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 4:45 AM
Subject: Re: [JBoss-user] DB pool without specified username/password.


> >>>>> "GR" == Guy Rouillier <[EMAIL PROTECTED]> writes:
>
> [snip]
>
> GR> you'll get a null pointer exception.  Second, we know the changes
> GR> required to make the pool use userids and passwords properly.  One
> GR> of the motivations for forking the minerva implementation into the
> GR> JBossPool implementation was so that we could incorporate some of
> GR> these fixes.
>
> GR> My employer went out of business last week, so I should have
> GR> plenty of time next week to coordinate with Toby to get these
> GR> changes into JBossPool.
>
> Very sorry to hear that your employer's business went belly-up.
>
> Talking about JBossPool features.... Is it possible to add a new
> connection to the pool without having to restart the server?
>
> --
>   Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
>                     mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
>                     GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to