I'm posting this here because from what I understand with JCA the container is 
responsible for transactions and pooling.

Updating/inserting a large number of records from within a stateless session bean 
causes one of the items to randomly fail with the following messages:

Warning that showed up in JBoss output immediately before exception: 15:41:01,225 WARN 
 [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, 
GlobalId=rick//124, BranchQual=] timed out. status=STATUS_ACTIVE

Error and State from SQLException:
error code=0 SQL state=HY000

Exception that I threw:
com.rxstrategies.dao.DAOSystemException: Can't connect:Problem getting connection: 
javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, 
invocation time: 1090525261246
        at 
com.rxstrategies.dao.AbstractDAOFactory.getConnection(AbstractDAOFactory.java:42)

Previous exception:
Caused by: org.firebirdsql.jdbc.FBSQLException: Problem getting connection: 
javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, 
invocation time: 1090525261246 at 
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:82)
at com.rxstrategies.dao.AbstractDAOFactory.getConnection(AbstractDAOFactory.java:27)

JDBC bindings:
[jdbc/FirebirdDS] Bound connection factory for resource adapter for ConnectionManager 
'jboss.jca:service=NoTxCM,name=jdbc/FirebirdDS to JNDI name 'java:/jdbc/FirebirdDS'
[jdbc/XA-Firebird-Rxs] Bound connection factory for resource adapter for 
ConnectionManager 'jboss.jca:service=TxCM,name=jdbc/XA-Firebird-Rxs to JNDI name 
'java:/jdbc/XA-Firebird-Rxs'
[DefaultDS] Bound connection factory for resource adapter for ConnectionManager 
'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'

This is with Jaybird RC3, Firebird 1.5.1, and JBoss 3.2.5.  I don't have a 
reproducible scenario I can send, but I can cause it to fail consistently.

Rick DeBay

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843028#3843028

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843028


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to