Search Engine: Elastic

Article ID: 130501, created on Mar 23, 2017, last review on Jan 8, 2019

  • Applies to:
  • Operations Automation
  • Odin Automation Essentials 7.0

Resolution

OA Any version

  1. Substitute wildfly-11.0.0.Final for the corresponding for your OA version WildFly rootfolder (pick the path from the sections below):

    export JBOSS_HOME=/usr/local/pem/wildfly-11.0.0.Final/
    
  2. Read the currect timeout value:

    [root@mn bin]#  bash ./jboss-cli.sh -c "/subsystem=transactions:read-attribute(name=default-timeout)"
    {
        "outcome" => "success",
        "result" => 300
    }
    [root@mn bin]#
    
  3. Change it to bigger value:

    [root@mn bin]#  bash ./jboss-cli.sh -c "/subsystem=transactions:write-attribute(name=default-timeout,value=900)"
    {"outcome" => "success"}
    [root@mn bin]#
    

NOTE: This action does not require PAU restart, changes will be applied immediately. NOTE 2: write-attribute will also write the timeout configuration to standalone-full-ha.xml.

OA 7.4 and 8.0 (in case of MN HA, perform the steps below on both nodes):

  1. Open /usr/local/pem/wildfly-11.0.0.Final/standalone/configuration/standalone-full-ha.xml for editing.
  2. Find the urn:jboss:domain:transactions:4.0 section and add the following line (900 is for 15 minutes):

  3. The resulting section should look like:

       <subsystem xmlns="urn:jboss:domain:transactions:4.0">
            <core-environment>
                <process-id>
                    <uuid/>
                </process-id>
            </core-environment>
            <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
            <coordinator-environment default-timeout="900"/>
        </subsystem>
    
  4. Restart OA services:

    # service pa-agent stop
    # service pau stop
    # service pau start
    # service pa-agent start
    

OA 7.2 and 7.3 (in case of MN HA, perform the steps below on both nodes):

  1. Open /usr/local/pem/wildfly-10.1.0.Final/standalone/configuration/standalone-full-ha.xml for editing.
  2. Find the urn:jboss:domain:transactions:3.0 section and add the following line (900 is for 15 minutes):

  3. The resulting section should look like:

       <subsystem xmlns="urn:jboss:domain:transactions:3.0">
            <core-environment>
                <process-id>
                    <uuid/>
                </process-id>
            </core-environment>
            <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
            <coordinator-environment default-timeout="900"/>
        </subsystem>
    
  4. Restart OA services:

    # service pa-agent stop
    # service pau stop
    # service pau start
    # service pa-agent start
    

OA 7.1:

  1. Open /usr/local/pem/wildfly-10.1.0.Final/standalone/configuration/standalone-full.xml for editing
  2. Find the urn:jboss:domain:transactions:3.0 section and add the following line (900 is for 15 minutes):

  3. The resulting section should look like:

       <subsystem xmlns="urn:jboss:domain:transactions:3.0">
            <core-environment>
                <process-id>
                    <uuid/>
                </process-id>
            </core-environment>
            <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
            <coordinator-environment default-timeout="900"/>
        </subsystem>
    
  4. Restart OA services:

    # service pa-agent stop
    # service pau stop
    # service pau start
    # service pa-agent start
    

OA 7.0:

  1. Open /usr/local/pem/wildfly-8.2.0.Final/standalone/configuration/standalone-full.xml for editing

  2. Find the urn:jboss:domain:transactions:2.0 section and add the following line (900 is for 15 minutes):

    <coordinator-environment default-timeout="900"/>
    
  3. The resulting section should look like:

       <subsystem xmlns="urn:jboss:domain:transactions:2.0">
            <core-environment>
                <process-id>
                    <uuid/>
                </process-id>
            </core-environment>
            <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
            <coordinator-environment default-timeout="900"/>
        </subsystem>
    
  4. Restart OA services:

    # service pa-agent stop
    # service pau stop
    # service pau start
    # service pa-agent start
    

OA 6.0:

  1. Open /usr/local/pem/jboss-eap-6.2/standalone/configuration/standalone-full.xml for editing.

  2. Find the line:

    <coordinator-environment default-timeout="300"/>
    
  3. Change the value to the desired one (900 for 15 minutes):

    <coordinator-environment default-timeout="900"/>
    
  4. Restart OA services:

    # service pem stop
    # service pau stop
    # service pau start
    # service pem start
    

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae d29f8259a7236d291b08be8147a45abd e85b979727650a1e29bac2090e87efa0 3ef1f5f998c0dc182718a7fe4376f875

Email subscription for changes to this article
Save as PDF