[Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting transaction timeout in JBoss 5.0.1.GA
by prasanthreddy
Please ignore the above post.
The file I modified is jboss-4.0.5.GA/server/default/conf/jboss-service.xml
| <mbean code="org.jboss.tm.TransactionManagerService"
| name="jboss:service=TransactionManager"
| xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
| <attribute name="TransactionTimeout">1800</attribute>
| <!-- set to false to disable transaction demarcation over IIOP -->
| <attribute name="GlobalIdsEnabled">true</attribute>
| <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
|
| <!-- Transaction Integrity Checking -->
| <!-- Force a rollback if another thread is associated with the transaction at commit -->
| <!--depends optional-attribute-name="TransactionIntegrityFactory"
| proxy-type="org.jboss.tm.integrity.TransactionIntegrityFactory">
| <mbean code="org.jboss.tm.integrity.FailIncompleteTransaction"
| name="jboss:service=TransactionManager,plugin=TransactionIntegrity"/>
| </depends-->
| </mbean>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225479#4225479
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225479
17 years
[Persistence, JBoss/CMP, Hibernate, Database] - Setting transaction timeout in JBoss 5.0.1.GA
by prasanthreddy
I have been using 4.0.5 and I have modified /jboss4.0.5.GA/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml to set the transaction timeout.
<mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="Configuration">
| <config>
| <invoker transport="socket">
| <attribute name="numAcceptThreads">1</attribute>
| <attribute name="maxPoolSize">300</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| <attribute name="socketTimeout" isParam="true">600000</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">3873</attribute>
| <attribute name="backlog">200</attribute>
| </invoker>
How do I accomplish the same in JBoss 5.0.1 GA?
Appreciate your help.
-Prasanth.anonymous wrote : anonymous wrote :
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225475#4225475
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225475
17 years