Hi,
Server is WLS5.1
I'm design a session bean,inside the SB(SB1),invoved 2 EB(EB1 and EB2),they are all CMB,my processing like :
in SB1:
doSome() //Tx is required
{
EB1.doSome01(); //use informixPool1
EB2.doSome2(); //use informixPool2
}
catch (Exception e)
{
System.out.println("ERROR HAPPEN,ROLLBACK IN ROCESSPRSCLASS!");
_context.setRollbackOnly();
e.printStackTrace();
}
When I call the doSome() in my client(servlet)
it give a message like:
java.sql.SQLException: Connection has already been created in this tx context for pool named informixPool1. Illegal attempt to create connection from another pool: informixPool2
Can anybody tell me how can I deal with the problem?
Thank you very much!
David
-
HELP! Can a transaction across the connection pools? (0 messages)
- Posted by: David Daw
- Posted on: April 06 2001 04:26 EDT