Search

Chapter 3. OTS and J2EE Transaction Service management

download PDF

3.1. Starting the Run-time System

Run-time support for the JBoss Transaction Service consists of run-time packages and the OTS Transaction Manager server. By default JBoss Transaction Service does not use a separate Transaction Manager server. Instead, transaction managers are co-located with each application process. This improves performance and application fault-tolerance by removing external dependencies of applications upon other services for proper function.
If your application requires a separate transaction manager, set the com.arjuna.ats.jts.transactionManager environment variable to yes. The system locates the transaction manager using an ORB-specific mechanism. It might be registered with a name server, added to the ORB’s initial references, listed in a references file specific to JBoss Transaction Service, or located by the ORB’s specific location mechanism.
You can override the default registration mechanism by setting the com.arjuna.orbportability.resolveService environment variable to one of the following values:
CONFIGURATION_FILE, the default value
causes the system to use the CosServices.cfg file.
NAME_SERVICE
JBoss Transaction Service attempts to use a name service to register the transaction factory. If this is not supported by the ORB, an exception will be thrown.
BIND_CONNECT
JBoss Transaction Service uses the ORB-specific bind mechanism. If this is not supported by the ORB, an exception will be thrown.
RESOLVE_INITIAL_REFERENCES
JBoss Transaction Service attempts to register the transaction service with the ORB's initial service references.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.