Search

Chapter 9. ORB specific configurations

download PDF
JacORB

For JacORB to function correctly, ensure there is a valid jacorb.properties or .jacorb_properties file in one of the following places:

  • The CLASSPATH.
  • The home directory of the user running the JBoss Transaction Service. The home directory is retrieved using System.getProperty( “user.home” );
  • The current directory.
  • The lib directory of the JDK used to run your application. This is retrieved using System.getProperty( “java.home” );
The above places are searched in the order given. A template jacorb.properties file can be found in the JacORB installation directory.
The JacORB properties file contains two important properties which must be configured appropriately for your application, they are:
  • jacorb.poa.thread_pool_max
  • jacorb.poa.thread_pool_min
These properties specify the minimum and maximum number of request processing threads that JacORB will use in its thread pool. If too few threads are available, the application may become deadlocked. For more information on configuring JacORB please reference the JacORB documentation.

Note

JacORB comes with its own implementation of the classes defined in the CosTransactions.idl file. Unfortunately these are incompatible with the version shipped with JBoss Transaction Service. Therefore, the JBoss Transaction Service JAR files must appear in the CLASSPATH before any JacORB JARs.
The recovery manager must always use the same well-known port for each machine on which it runs. You should not use the OAPort property provided by JacORB unless the recovery manager has its own jacorb.properties file or the port is provided on the command line when starting the recovery manager. If the recovery manager and other components of JBoss Transaction Service share the same jacorb.properties file, then you should use the com.arjuna.ats.jts.recoveryManagerPort and com.arjuna.ats.jts.recoveryManagerAddress properties.
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.