|
Hi,
I am using Jonas with Oracle, all my beans have
container managed transactions, transactions are required. In order to get a
connection I use the following code:
InitialContext ictx = new
InitialContext();
ds =
(DataSource)ictx.lookup("jdbc_1");
con = ds.getConnection();
The problem is that at random intervals
ds.getConnection never returns.
Anyone has experienced a similar problem, the issue
also happens when I use MySQL (beta release that supports
transactions).
I wander if there is a deadlock with the
transactions.
Thanks
Hector
|
