Bugs item #593625, was opened at 2002-08-11 03:35 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=593625&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Frank Langelage (lafr) Assigned to: Nobody/Anonymous (nobody) Summary: informix-XA: Transaction-Handling Initial Comment: My application works well with LocalTxDS but not with XATxDS. When using the informix-xa-service.xml file, the tables get created but the DB-Session stays in transaction. BTW, I thougt DDL-Statements should not run in transaction ? Creation of Entities is nearly impossible. When using informix-service.xml all works fine. An extract from server.log is attached. (JBoss-3.0.2RC1, JDK 1.3.1, Reliant-Unix 5.45) ---------------------------------------------------------------------- >Comment By: Larry Sanderson (lsanders) Date: 2002-08-12 10:05 Message: Logged In: YES user_id=379453 We encountered XAER_OUTSIDE exceptions when we tried to intermingle Local and Global transactions. The problem turned out to be an Informix bug: Local transactions are not explicitly committed or rolledback when the connection is closed. This leaves a pooled XA connection still in the scope of a local transaction. The next use of that XA connection that attempts to enlist it within a global transaction causes this error. We wrote several wrappers around the Informix drivers that fix this and several other Informix XA bugs. (We have also filed each of these bugs with Informix/IBM). The fix for this particular bug involved intercepting calls to close() and making sure that any local transactions have committed successfully. I have attached the wrapped datasource if you are interested. Just compile it and change the "XADataSourceClass" config property in your Informix service.xml. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=593625&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
