Hi ,
This occurs because the Jboss Transaction Manger time out the underlying 
connection if your database transactions are longer. One way to prevent is, 
first find the piece of code i <mbean 
code="org.jboss.tm.TransactionManagerService"
      name="jboss:service=TransactionManager"
      xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
      300
      <!-- set to false to disable transaction demarcation over IIOP -->
      true
      <depends optional-attribute-name="XidFactory">jboss:service=XidFactory
   
in the file jboss-service.xml  and change the

< attribute name="TransactionTimeout" >300< /attribute >   

to some larger value so that your transaction does not time out. 
Hope this helps.

Regards
Sriram


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to