Hi all,
I have a persistent problem and I really don't know how to resolve it.
I use JBoss 2.4.3 with tomcat and I get a transaction timeout after several
hours of use.

[ACToolsStoreBean] Transaction XidImpl [FormatId=257,
GlobalId=arcadcustomer//3039, BranchQual=] timed out. status=STATUS_ACTIVE

Here is the portion of code which causes the bug :

            javax.sql.DataSource ds = (javax.sql.DataSource)
getContext().lookup("java:comp/env/jdbc/" + newName);
            java.sql.Connection connection = ds.getConnection();
            java.sql.PreparedStatement ps =
connection.prepareStatement(statement);
            .....

When the bean session (stateless) calls ds.getConnection(), Jboss locks and
causes a transaction timeout. Why ?
Thanks a lot for your help ...

Val.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to