I found the problem.  I ran out of connections with blocking enabled on the
pool.

Anh

----- Original Message -----
From: "Phan Anh Tran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 20, 2001 11:32 PM
Subject: [JBoss-user] Database connection pool hangs...


> OS: Windows 2K.
> J2SDK1.3.0_02 and  and J2EE 1.3 beta.
> JBOSS 2.2.1 and Tomcat 3.2.1
> MySQL 3.23.36
> mm driver 2.0.4
>
> This code is running in the context of a stateless session bean:
>
>     Context initCtx = new InitialContext();
>     DataSource ds = (DataSource)initCtx.lookup("java:/" +
aDataSourceName);
>     Connection conn = ds.getConnection();
>
> The code hangs some where in the ds.getConnection() after 5-6 iterations
> (calls to the bean's one and only method).  Is this a jboss or a mm driver
> problem?
>
> Thanks,
> Anh
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to