| | 1 | = i2b2 Gotchas Timeout on Complex Exports |
| | 2 | |
| | 3 | Tags: [[i2b2]] [[Gotchas]] [[JBOSS]] |
| | 4 | |
| | 5 | It seems that the ‘JBOSS transaction timeout’ is being reached when a complex set of requirements is passed to hibernate for building the export data set. |
| | 6 | |
| | 7 | In `jboss/server/default/conf/jboss-service.xml`, there is a stanza devoted to the transaction manager: |
| | 8 | |
| | 9 | {{{ |
| | 10 | <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService?" name="jboss:service=TransactionManager"> |
| | 11 | <attribute name="TransactionTimeout?">300</attribute> |
| | 12 | <attribute name="ObjectStoreDir?">${jboss.server.data.dir}/tx-object-store</attribute> |
| | 13 | </mbean> |
| | 14 | }}} |
| | 15 | |
| | 16 | 300 seconds is 5 minutes. I’ve set it on uhlbriccsapp03 to be 1200 seconds, or 20 minutes, and as a result the query I ran today was able to complete successfully. |
| | 17 | |
| | 18 | [[BackLinks]] |