Hi Thomas,

I am using a connection-limited driver as well (Sprinta2000 driver
for MS SQL Server) and the following works for me:

(in $JBOSS_HOME/conf/default/jboss.jcml)

 <mbean
name="DefaultDomain:service=XADataSource,name=SqlSvrConnectionPool">
   <attribute name="MaxSize">2</attribute>
   <attribute name="Blocking">true</attribute>
   ...
 </mbean>

The 'Blocking' setting was what did it for me -- before that I had
problems like yours.

HTH

Chris

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 3:29 PM
Subject: Re: [jBoss-User] Connection Problem


>
> Terry,
>
> I think it is the same problem. My program is waiting for any of
the
> connections in use to be released. I specified a maximum of 3
connections
> for the connection pool. My program starts hanging exactly when it
needs
> the 4th connection. Do you know of any work-arounds?
>
> Thanks
>
> Thomas




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to