<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<small>I have a problem when changing the transaction timeout via
transaction-jboss-beans.xml. Here's what I have (AS 5.0.1GA):<br>
<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
&lt;deployment xmlns="urn:jboss:bean-deployer:2.0"&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;bean name="TransactionManager"
class="com.arjuna.ats.jbossatx.jta.TransactionManagerService"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;annotation&gt;@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=TransactionManager",
exposedInterface=com.arjuna.ats.jbossatx.jta.TransactionManagerServiceMBean.class,
registerDirectly=true)&lt;/annotation&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="transactionTimeout"&gt;10800&lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property
name="objectStoreDir"&gt;${jboss.server.data.dir}/tx-object-store&lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="mbeanServer"&gt;&lt;inject bean="JMXKernel"
property="mbeanServer"/&gt;&lt;/property&gt;<br>
<br>
...<br>
<br>
I'm trying to set it to 3 hours. I changed it months ago in the same
codebase from the default 5 minutes to 60 minutes and that worked. All
I had to do was set "transactionTimeout" to 3600. Now in our production
environment, we realize 60 min is not enough and want to extend it
again. Now the change is not taking effect anymore!!<br>
<br>
I verified in the jmx-console that the value is getting set, but it's
still timing out after EXACTLY one hour. I've done the obvious like
bounce the server, try different timeout values, and nothing.<br>
<br>
Is there somewhere this is cached outside of memory or using
environment variables or something overriding my change and keeping it
at 3600?<br>
<br>
TIA,<br>
Mike Saavedra<br>
</small>
</body>
</html>