When running the Prepare for Publish process, if you elect to perform several of the Prepare for Publish options during the process, the process may fail due to a timeout error. This timeout issue can be avoided by increasing the default transaction timeout value.
-
Using Notepad, open the file:
X:\InSightManager\server\all\deploy\Transaction-jboss-beans.xml.
-
Locate the following section of code:
<bean name="CoordinatorEnvironmentBean"
class="com.arjuna.ats.arjuna.common.CoordinatorEnvironmentBean">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jta:name=CoordinatorEnvironmentBean",
exposedInterface=com.arjuna.ats.arjuna.common.CoordinatorEnvironmentBeanMBean.class,
registerDirectly=true)</annotation>
<constructor
factoryClass="com.arjuna.ats.arjuna.common.arjPropertyManager"
factoryMethod="getCoordinatorEnvironmentBean"/>
<property name="enableStatistics">false</property>
<property name="defaultTimeout">3600</property>
</bean>
-
The
defaultTimeout attribute is set to
3600 seconds (one hour) by default. This value can be increased to avoid transaction timeout issues.
-
Save your change and close Notepad.
-
Restart the
InSight Manager service.
-
Click
Start, type
services.msc, and press Enter.
-
Right-click the
Insight Manager service and choose
Restart.