Chapter 15. ORB Configuration
15.1. About Common Object Request Broker Architecture (CORBA)
Common Object Request Broker Architecture (CORBA) is a standard that enables applications and services to work together even when they are written in multiple, otherwise-incompatible, languages or hosted on separate platforms. CORBA requests are brokered by a server-side component called an Object Request Broker (ORB). JBoss EAP provides an ORB instance, by means of the Open JDK ORB component.
The ORB is used internally for Java Transaction Service (JTS) transactions, and is also available for use by your own applications.
15.2. Configure the ORB for JTS Transactions
In a default installation of JBoss EAP, the ORB support for transactions is disabled. You can configure ORB settings in the iiop-openjdk
subsystem using the management CLI or the management console.
The iiop-openjdk
subsystem is available when using the full or full-ha profile in a managed domain, or the standalone-full.xml
or standalone-full-ha.xml
configuration file for a standalone server.
For a listing of the available configuration options for the iiop-openjdk
subsystem, see IIOP Subsystem Attributes.
Configure the ORB Using the Management CLI
You can configure each aspect of the ORB using the management CLI. This is the minimum configuration for the ORB to be used with JTS.
The following management CLI commands are configured for a managed domain using the full
profile. If necessary, change the profile to suit the one you need to configure. If you are using a standalone server, omit the /profile=full
portion of the commands.
Enable the Security Interceptors
Enable the security
attribute by setting the value to identity
.
/profile=full/subsystem=iiop-openjdk:write-attribute(name=security,value=identity)
Enable Transactions in the IIOP Subsystem
To enable the ORB for JTS, set the value of transactions
attribute to full
, rather than the default spec
.
/profile=full/subsystem=iiop-openjdk:write-attribute(name=transactions, value=full)
Enable JTS in the Transactions Subsystem
/profile=full/subsystem=transactions:write-attribute(name=jts,value=true)
For JTS activation, the server must be restarted as reload is not enough.
Configure the ORB Using the Management Console
- Select the Configuration tab from the top of the management console.
- Select Subsystems. In a managed domain, you will need to select the appropriate profile first.
- Select the IIOP subsystem and click View.
- Click the Edit button and modify the attributes as needed. Click on the Need Help? link for detailed explanations of each field.
- Click Save to save the changes.