[jboss-user] [JBoss Portal] - Re: workaround to deploy many objects

julien@jboss.com do-not-reply at jboss.com
Sun Jan 28 14:08:21 EST 2007


jeez : 1000 ?

the issue may come from the fact that the portal creates a transaction when it insert the objects (in order to ensure atomicity among other things), too many objects could lead to have a processing time larget than the transaction timeout value, leading to an automatic rollback of the transaction.

you could try and increase the default value of the transaction timeout :

1/ edit the file server/default/conf/jboss-service.xml
2/ locate the mbean jboss:service=TransactionManager
3/ increase the attribute TransactionTimeout from 300 to a larger value


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

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



More information about the jboss-user mailing list