9 Configuring Services
Use WebLogic Remote Console to manage services in a WebLogic Server domain.
Data Sources
You can connect WebLogic Server to databases by adding JDBC data sources to your domain. A data source is a Java EE standard method of configuring connectivity to a database.
Each WebLogic data source contains a pool of database connections. Applications look up the data source on the JNDI tree or in the local application context and then use a database connection from the pool of connections. Data sources and their connection pools provide connection management processes that help keep your system running efficiently.
You can manage the following JDBC data source types from WebLogic Remote Console:
-
JDBC Generic Data Sources
-
JDBC Multi Data Sources
-
Active GridLink Multi Data Sources
-
Universal Connection Pool (UCP) Data Sources
For more information on using data sources with WebLogic Server, see Understanding JDBC Data Sources in Understanding Oracle WebLogic Server and Configure Database Connectivityin Administering JDBC Data Sources for Oracle WebLogic Server.
JDBC Drivers
Data sources require the use of JDBC drivers to gain access to various databases. WebLogic Server comes with a default set of JDBC drivers but you can also install third-party JDBC drivers.
For the types of JDBC drivers supported in WebLogic Server, see Types of JDBC Driver in Administering JDBC Data Sources for Oracle WebLogic Server.
For a list of the JDBC drivers installed in WebLogic Server, see JDBC Drivers Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
For instructions on how to install third-party JDBC drivers, see Adding Third-Party JDBC Drivers Not Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
Create a Generic Data Source
A generic data source provides database access and database connection management. Generic data sources and their connection pools provide connection management processes that help keep your system running efficiently.
For more information on generic data sources, see Using JDBC Generic Data Sources in Administering JDBC Data Sources for Oracle WebLogic Server.
Note:
Generic is the term used to distinguish a simple data source from a Multi Data Source or Active GridLink data source.
If you need a JDBC driver that is not installed with WebLogic Server, you must install it before you can set up a data source. See Adding Third-Party JDBC Drivers Not Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
Create a Multi Data Source
A multi data source is an abstraction around a group of generic data sources. It provides failover and load balancing for connection requests between two or more data sources.
For more information on multi data sources, see Using JDBC Multi Data Sources in Administering JDBC Data Sources for Oracle WebLogic Server.
Before you create a multi data source, you should create the generic data sources that the multi data source will manage, and ensure they are deployed to same targets as where you plan to deploy the multi data source. See Create a Generic Data Source.
Add or Remove Data Sources in a Multi Data Source
You can add or remove data sources to a multi data source while the data source is deployed (referred to as dynamically changing the data source list in the multi data source).
The data sources that you add to a multi data source must be deployed on the same targets on which you intend to deploy the multi data source. You cannot include data sources in a multi data source that are deployed on different servers or clusters. See Target Data Sources.
Create an Active GridLink Data Source
An Active GridLink data source provides connectivity between WebLogic Server and an Oracle database.
For more information on GridLink data sources, see Using Active GridLink Data Sources in Administering JDBC Data Sources for Oracle WebLogic Server.
If you need a JDBC driver that is not installed with WebLogic Server, you must install it before you can set up a data source. See Adding Third-Party JDBC Drivers Not Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
Create a UCP Data Source
A Universal Connection Pool (UCP) data source provides an option for users who want to use Oracle Universal Connection Pooling to connect to Oracle databases. UCP provides an alternative connection pooling technology to Oracle WebLogic Server connection pooling.
For more information on UCP data sources, see Using Universal Connection Pool Data Sources in Administering JDBC Data Sources for Oracle WebLogic Server.
If you need a JDBC driver that is not installed with WebLogic Server, you must install it before you can set up a data source. See Adding Third-Party JDBC Drivers Not Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
Control JDBC Data Sources
After you create a JDBC data source, you can perform administrative tasks on instances of the data source in WebLogic Remote Console.
- In the Monitoring Tree, go to Services, then Data Sources, then JDBC Data Source Runtime MBeans.
- Select the data source that you want to manage and then choose the control operation that you want to perform on the data source.
Table 9-1 describes the control operations that you can perform on a JDBC data source.
Table 9-1 Control Operations for JDBC Data Sources
Operation | Description |
---|---|
Start |
Use Start to start an individual instance of a data source. For more information, see Starting a Data Source in Administering JDBC Data Sources for Oracle WebLogic Server. |
Resume |
Use Resume to resume individual data sources that are in a For more information, see Resuming a Connection Pool in Administering JDBC Data Sources for Oracle WebLogic Server. |
Suspend |
Use Suspend to pause individual instances of a data source. When you suspend a data source, applications can no longer get a database connection from the data source. You can choose how to handle active connections:
For more information, see Suspending a Connection Pool in Administering JDBC Data Sources for Oracle WebLogic Server. |
Shutdown |
Use Shutdown to shut down individual instances of a data source. You can choose how to handle active connections:
For more information, see Shutting Down a Data Source in Administering JDBC Data Sources for Oracle WebLogic Server. |
Shrink |
Use Shrink to shrink the pool of database connections in individual instances of a data source to the minimum capacity or the current number of connections in use, whichever is greater. For more information, see Shrinking a Connection Pool in Administering JDBC Data Sources for Oracle WebLogic Server. |
Reset |
Use Reset to reset the database connections in a JDBC data source by closing and then recreating all available database connections in the pool of connections in the data source. For more information, see Resetting a Connection Pool in Administering JDBC Data Sources for Oracle WebLogic Server. |
Clear cache |
Use Clear cache to clear the statement cache for all connections in the instance of the data source. Statement caching must be enabled for the data source for WebLogic Server to cache prepared and callable statements that are used in each connection in the data source. Each connection has its own cache, but the caches for each connection are configured and managed as a group. For more information, see Managing the Statement Cache for a Data Source and Increasing Performance with the Statement Cache in Administering JDBC Data Sources for Oracle WebLogic Server. |
Monitor Statistics for JDBC Data Sources
You can monitor a variety of statistics for each data source instance in your domain, such as the current number of database connections in the connection pool, current number of connections in use, and the longest wait time for a database connection.
By default, this data source page will display all of the statistics that are available for the selected data source. To refine the information, customize the table to show only relevant statistics. See Customize a Table.
Target Data Sources
When you target a JDBC data source, a new instance of the data source is created on the target. When you select a server as a target, an instance of the data source is created on the server. When you select a cluster as a target, an instance of the data source is created on all servers in the cluster.
Make sure that the JDBC drivers that you want to use to create database connections are installed on all servers on which you want to deploy the data source. See Using JDBC Drivers with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.
- In the Edit Tree, go to Services, then Data Sources.
- Select the data source whose targets you want to edit.
- On the Targets tab, select each server or cluster where you want to deploy the data source and move them under Chosen. Move unwanted servers or clusters under Available.
- Click Save.
Test JDBC Data Sources
You can manually test individual instances of a data source. When you test a data source, WebLogic Server reserves a connection from the data source, tests it using the standard testing query or the query specified in Test Table Name, and then returns the database connection to the pool of connections.
The test will occur immediately. Test results are shown on the Test tab page.
Specify RMI JDBC Security
You can secure RMI JDBC communication with a data source using a check for administrator authentication.
For more information about using JDBC over RMI, see Using the WebLogic RMI Driver (Deprecated) in Developing JDBC Applications for Oracle WebLogic Server.
Messaging
WebLogic Server provides an enterprise-class messaging system that fully supports the Java Messaging Service (JMS) specification and which also provides numerous extensions that go beyond the standard JMS APIs.
It is tightly integrated into the WebLogic Server platform, allowing you to build highly secure Java EE applications that can be easily monitored and administered through WebLogic Remote Console. In addition to fully supporting XA transactions, WebLogic Server messaging also features high availability through its clustering and service migration features while also providing seamless interoperability with other versions of WebLogic Server and third-party messaging vendors.
WebLogic Server messaging is comprised of these areas:
- JMS Servers: act as management containers for JMS queue and topic destinations in a JMS module that are targeted to them. A JMS server's primary responsibility for its destinations is to maintain information on which persistent store is used for any persistent messages that arrive on the destinations, and to maintain the states of durable subscribers created on the destinations.
- Store-and-Forward Agents: provide a mechanism for reliably delivering messages between applications that are distributed across WebLogic Server subsystems, in particular the WebLogic JMS and Web Services subsystems. Using the highly available SAF service, an application can send messages to a remote endpoint that is not available at the moment when the messages are sent, either because of network problems or system failures.
- JMS System Modules: contain global configuration JMS resources, such as queues, topics, templates, connections factories, and JMS store-and-forward (SAF) destinations, and are defined by XML documents that conform to the
weblogic-jmsmd.xsd
schema. JMS system modules are stored inDOMAIN_HOME/config/jms
and a reference to the module is added in the domain's configuration file as aJMSSystemResource
element. System modules are globally available for targeting to servers and clusters configured in the domain, and therefore are available to all applications deployed on the same targets and to client applications. - Messaging Bridges: provide a forwarding mechanism between any two messaging products that support the JMS API. Use a messaging bridge to provide interoperability between separate implementations of WebLogic JMS, or between WebLogic JMS and another messaging product.
Related Content
For more information, see:
- Understanding JMS Resource Configuration in Administering JMS Resources for Oracle WebLogic Server
- Understanding the Store-and-Forward Service in Administering the Store-and-Forward Service for Oracle WebLogic Server
- Understanding the Messaging Bridge in Administering the WebLogic Messaging Bridge for Oracle WebLogic Server
- The WebLogic Persistent Store in Administering the WebLogic Persistent Store
Create a JMS Server
JMS servers are environment-related configuration entities that act as management containers for the queues and topics in JMS modules that are targeted to them.
The primary responsibility of a JMS server for its destinations is to maintain information on which persistent store is used for any persistent messages that arrive on the destinations, and to maintain the states of durable subscribers created on the destinations.
JMS servers also manage message paging on destinations, and optionally, can manage message and byte thresholds, as well as server-level quota for its targeted destinations. As a container for targeted destinations, any configuration or run-time changes to a JMS server can affect all the destinations that it hosts.
For more information, see Overview of JMS Servers and Configure JMS Servers and Persistent Stores in Administering JMS Resources for Oracle WebLogic Server.
Monitor a JMS Server
You can monitor runtime statistics for an active JMS server. You can also access runtime information for a JMS server's destinations, transactions, connections, and server session pools.
For more information, see Monitoring JMS Statistics and Managing Messages in Administering JMS Resources for Oracle WebLogic Server.
Create a JMS System Module
JMS resources are configured and stored as modules similar to standard Java EE modules. Such resources include queues, topics, connection factories, templates, destination keys, quota, distributed queues, distributed topics, foreign servers, and JMS store-and-forward (SAF) parameters.
System modules are globally available for targeting to servers and clusters configured in the domain, and therefore are available to all applications deployed on the same targets and to client applications.
JMS configuration resources can also be managed as deployable application modules, either with a Java EE application as a packaged module, which is available only to the enclosing application, or as a stand-alone module that provides global access to the resources defined in that module.
For more information, see Overview of JMS Modules in Administering JMS Resources for Oracle WebLogic Server.
Configure Resources for JMS System Modules
After creating a JMS system module, you can configure resources for the module, including stand-alone queues and topics, distributed queues and topics, connection factories, JMS templates, destination sort keys, destination quota, foreign servers, and JMS SAF (store-and-forward) parameters.
For more information, see Configurable JMS Resources in Modules in Administering JMS Resources for Oracle WebLogic Server.
Create a Store-and-Forward Agent
The Store-and-Forward (SAF) service enables WebLogic Server to deliver messages reliably between applications that are distributed across WebLogic Server instances.
If the destination is not available at the moment the messages are sent, either because of network problems or system failures, then the messages are saved on a local server instance, and are forwarded to the remote destination once it becomes available.
SAF agents are responsible for store-and-forwarding messages between local sending and remote receiving endpoints. A SAF agent can be configured to have only sending capabilities, receiving capabilities, or both. JMS SAF only requires a sending agent on the sending side for JMS messages. Web Services Reliable Messaging (WSRM) SAF requires both a sending agent and a receiving agent.
For more information, see SAF Service Agents in Administering the Store-and-Forward Service for Oracle WebLogic Server.
Monitor an SAF Agent
You can view runtime information for an active SAF agent .
For more information, see Monitoring SAF Agents in Administering the Store-and-Forward Service for Oracle WebLogic Server.
Create a JMS Bridge Destination
A JMS bridge destination instance defines the actual source and target JMS bridge destinations for a bridge instance.
You need to configure a JMS bridge destination instance for each source and each target destination to be mapped to a messaging bridge instance. Therefore, when you finish defining attributes for a source JMS bridge destination, repeat these steps to configure a target JMS bridge destination.
Create a Messaging Bridge Instance
The WebLogic messaging bridge allows you to configure a forwarding mechanism between any two messaging products. You can use the messaging bridge to integrate your messaging applications. A messaging bridge instance communicates with the configured source and target bridge destinations.
For each mapping of a source destination to a target destination, whether it is another WebLogic JMS implementation, or a third-party JMS provider, you must configure a messaging bridge instance.
Each instance defines the source and target destination for the mapping, a message filtering selector, a quality of service (QOS), transaction semantics, and reconnection parameters.
For more information, see Understanding the Messaging Bridge in Administering the WebLogic Messaging Bridge for Oracle WebLogic Server.
- If you haven't already, create and configure source and target JMS bridge destinations as described in Create a JMS Bridge Destination.
- In the Edit Tree, go to Services, then Messaging Bridge.
- Click New.
- Enter a name for the new messaging bridge instance and click Create.
- From the Source Bridge Destination drop-down list, select a source destination.
- From the Target Bridge Destination drop-down list, select a target destination.
- Configure any additional attributes that are applicable to your environment.
- Click Save.
If you plan to use the messaging bridge to access destinations on different releases of WebLogic Server, or in remote WebLogic domains, then you may need to manually implement some of the interoperability guidelines described at Interoperating with Different WebLogic Server Releases or Foreign Providers in Administering the WebLogic Messaging Bridge for Oracle WebLogic Server.
Create a File Store
A file store is a file-based repository for storing subsystem data, such as persistent JMS messages or durable subscriber information.
A persistent store provides a built-in, high-performance storage solution for WebLogic Server subsystems and services that require persistence. For example, it can store persistent JMS messages or durable subscriber information, as well as temporarily store messages sent to an unavailable destination using the store-and-forward feature.
The persistent store also supports persistence to a JDBC-enabled database (JDBC store). See Create a JDBC Store instead.
Create a JDBC Store
A JDBC store is a JDBC-accessible database for storing subsystem data, such as persistent JMS messages and durable subscriber information.
A persistent store provides a built-in, high-performance storage solution for WebLogic Server subsystems and services that require persistence. For example, it can store persistent JMS messages or durable subscriber information, as well as temporarily store messages sent to an unavailable destination using the store-and-forward feature.
The persistent store also supports persistence to a file-based store (file store). See Create a File Store instead.
Create a Path Service
A path service is persistent map that can be used to store the mapping of a group of messages to a messaging resource, such as a member of a distributed destination or a store-and-forward agent.
Path services provide a way to enforce message ordering by pinning messages to a member of a cluster hosting servlets, distributed queue members, or store-and-forward agents.
For more information, see Using the WebLogic Path Service in Administering JMS Resources for Oracle WebLogic Server.
Manage JMS Messages
You can manage JMS messages that are available on the standalone queue, distributed queue, or durable topic subscriber that you are monitoring.
Note:
This functionality is only available on domains running WebLogic Server 14.1.2.0.0 or later. If you want to manage JMS messages for an older release, you must use an alternative administration tool.
- In the Monitoring Tree, go to Environment, then Servers and select the server hosting the messages that you want to move.
- Under the selected server, go to Services, then Messaging, then JMS Runtime, then JMS Servers, then myJMSServer, then Destinations and select the JMS destination that currently hosts the messages that you want to move.
- On the Messages tab, select all of the messages on which you want to perform the action and then click the action's button. See Table 9-2.
Table 9-2 JMS Message Actions
Action | Description |
---|---|
Delete |
Deletes the selected JMS messages from the current queue. See Deleting Messages in Administering JMS Resources for Oracle WebLogic Server. |
Export |
Exports the selected messages from the current queue, which results in a JMS message that is converted to either XML or serialized format. See Exporting Messages in Administering JMS Resources for Oracle WebLogic Server. |
Import |
Imports the selected messages in XML format, which results in the creation or replacement of a message on the current queue. See Importing Messages in Administering JMS Resources for Oracle WebLogic Server. |
Move |
Transfers selected JMS messages from the current queue to another destination, including a destination on a different JMS server. The message identifier does not change when you move a message. If the message being moved already exists on the target destination, a duplicate message with the same identifier is added to the destination. See Moving Messages in Administering JMS Resources for Oracle WebLogic Server. |
View Objects in the JNDI Table
You can use WebLogic Remote Console to view objects in the Java Naming and Directory Interface (JNDI) table.
WebLogic Server implements the JNDI of the Java EE platform as a means to provide a standard, unified interface to multiple naming and directory services in an enterprise. See Understanding WebLogic JNDI in Developing JNDI Applications for Oracle WebLogic Server.
You can load WebLogic Server Java EE services and components, such as RMI, JMS, EJBs, and JDBC Data Sources, in the JNDI table. Typically, these objects are bound in the JNDI table when you configure their JNDI Name attribute and deploy them to the server.
Create a Foreign JNDI Provider
A foreign JNDI provider represents a JNDI tree that resides outside of a WebLogic Server environment. This could be a JNDI tree in a different server environment or within an external Java program.
By setting up a foreign JNDI provider, you can look up and use a remote object with the same ease as using an object bound in your WebLogic Server instance. In other words, you can access local and remote objects using a single WebLogic Server connection.
Next, you should create foreign JNDI object links which set up a relationship between a name in your local JNDI table and the object in the foreign (remote) table.
XML Resources
You can configure two different types of XML resources for WebLogic Server.
- XML registries, which you can use to specify alternative server-wide XML parsers and transformers for WebLogic Server to use when it parses and transforms XML documents. You can also use the XML registry to specify local copies of external entities and caching instructions for these entities. See Create an XML registry.
- XML entity caches, which you can use to configure the cache that WebLogic Server uses to cache external entities. See Create an XML Entity Cache.
You can create as many XML registries and entity caches as you like. However, you can only associate one of each type with a particular server instance of WebLogic Server.
For more information on how XML resources are used in WebLogic Server, see Developing XML Applications for Oracle WebLogic Server.
Create an XML registry
An XML Registry is a facility for configuring and administering the XML resources of WebLogic Server. XML resources include the default parser, transformer factories, and external entity resolution.
In particular, use an XML registry to specify:
- An alternative, server-wide XML parser, used by default when parsing XML documents, instead of the parser that is installed by default. You do this by specifying the names of the classes that implement the
javax.xml.parsers.DocumentBuilderFactory
andjavax.xml.parsers.SaxParserFactory
interfaces; these implementing classes are used to parse XML in DOM and SAX mode, respectively. - A specific XML parser that should be used to parse a particular document type.
- An alternative server-wide transformer instead of the default transformer. You do this by specifying the name of the class that implements the
javax.xml.transform.TransformerFactory
interface, used to transform XML documents. - External entities that are to be resolved by using local copies of the entities. After you specify these entities, the Administration Server stores local copies of them in the file system and automatically distributes them to the server’s parser at parse time. This feature eliminates the need to construct and set SAX EntityResolvers.
- External entities to be cached by WebLogic Server after retrieval from the Web. Specify how long these external entities should be cached before WebLogic Server re-retrieves them and when WebLogic should first retrieve the entities, either at application run time or when WebLogic Server starts.
You can create as many XML Registries as you like; however, you can associate only one XML registry with a particular instance of WebLogic Server.
If an instance of WebLogic Server does not have an XML registry associated with it, then the default parser and transformer are used when parsing or transforming documents. The default parser and transformer are those included in the JDK.
Once you associate an XML registry with an instance of WebLogic Server, all its configuration options are available for XML applications that use that server.
- In the Edit Tree, go to Services, then XML Registries.
- Click New.
- Enter a name for the XML registry and click Create.
- Optional: If you don't plan to use the default parser and transformer, you must specify your alternative settings.
- In the Document Builder Factory field, enter the fully qualified name of the class that implements the
javax.xml.parsers.DocumentBuilderFactory
interface. - In the SAX Parser Factory field, enter the fully qualified name of the class that implements the
javax.xml.parsers.SaxParserFactory
interface. - In the Transformer Factory field, enter the fully qualified name of the class that implements the
javax.xml.transform.TransformerFactory
interface. - Click Save.
- In the Document Builder Factory field, enter the fully qualified name of the class that implements the
Next, you must associate the XML registry with a WebLogic Server instance. See Target an XML Registry to a Server.
Target an XML Registry to a Server
A WebLogic Server can only have one XML registry associated with it. However, you can target the same XML registry to multiple WebLogic Server instances.
- If you haven't done so already, create an XML registry. See Create an XML registry.
- In the Edit Tree, go to Environment, then Servers.
- Choose the server to which you want the XML registry.
- Enable Show Advanced Fields and then from the XML Registry drop-down list, select the XML registry that you want to target to this server.
- Click Save.
Create an XML Entity Cache
You can specify that WebLogic Server should cache external entities that are referenced with a URL or a pathname relative to the main directory of the EAR archive, either at server startup or when the entity is first referenced. You specify this by first creating an XML entity cache and then specifying when it should be cached for the particular entity.
Caching the external entity saves the remote access time and provides a local backup in the event that the Administration Server cannot be accessed while an XML document is being parsed, due to the network or the Administration Server being down.
- In the Edit Tree, go to Services, then XML Entity Caches.
- Click New.
- Enter a name for the XML entity cache and click Create.
- Update the configuration options for the new XML entity cache as needed.
- Click Save.
Next, you must associate the XML entity cache with a WebLogic Server instance. See Target an XML Entity Cache to a Server.
Target an XML Entity Cache to a Server
A WebLogic Server instance can only have one XML entity cache associated with it.
- If you haven't already done so, create an XML entity cache. See Create an XML Entity Cache.
- In the Edit Tree, go to Environment, then Servers.
- Choose the server to which you want the XML entity cache.
- Enable Show Advanced Fields and then from the XML Entity Cache drop-down list, select the XML entity cache that you want to target to this server.
- Click Save.
Configure Access to JavaMail
You can configure a mail server or establish user credentials for an existing mail server. Mail sessions and the JavaMail API do not provide mail server functions. They merely enable applications to send and receive data from an existing mail server.
JavaMail APIs provide applications and other Java EE modules with access to Internet Message Access Protocol (IMAP) and Simple Mail Transfer Protocol (SMTP) capable mail servers on your network or the internet.
In the reference implementation of JavaMail, applications must instantiate javax.mail.Session
objects, which designate mail hosts, transport and store protocols, and a default mail user for connecting to a mail server. You can use WebLogic Remote Console to create a mail session, which configures a javax.mail.Session
object and registers it in the WebLogic Server JNDI table. Applications access the mail session through JNDI instead of instantiating their own javax.mail.Session
object.
Configure Domain JTA Options
In WebLogic Server, you can set many options that affect transaction processing at the domain level so that they apply to all servers in the domain.
- In the Edit Tree, go to Services, then JTA.
- Specify new values for any or all of the available options. Click Show Advanced Fields to show all of the options.
- Click Save.
View Transaction Statistics
You can monitor transactions and transaction statistics.
For more information, see Monitoring Transactions in Developing JTA Applications for Oracle WebLogic Server.
- In the Monitoring Tree, go to Services, then Transactions, then JTA Runtime to see statistics for all transactions coordinated by server.
- Optional: If you want to see the transaction statistics for only one server, click the server row in the table.
- You can also expand the child nodes under JTA Runtime to view transaction details by transaction name or by resource, details about current transactions, or details about transaction recovery performed by the server.
View Current Transactions
You can view in-progress transactions coordinated by the selected server.
- In the Monitoring Tree, go to Environment, then Servers, then choose the server whose transactions you want to view.
- Under the server node, go to Services, then Transactions, then JTA Runtime.
- Click the Transactions tab to see current transactions for the selected server.
Enable Local Domain Security for JTA Communication
Local domain security for JTA establishes trust between servers within a domain so that global transactions may occur across secure communication channels.
Note:
Local domain security extends the cross-domain protocol and its terminology and configuration reflect that origin. Nevertheless, local domain security is only applicable to local (intra-) domain communication.
If you need to secure JTA communication across separate domains, you should configure cross-domain security or the security interoperability mode. See How to Determine the Communication to Use for Inter-Domain Transactions in Developing JTA Applications for Oracle WebLogic Server.
Local domain security is now enabled for JTA communication.
Specify the JTA Security Interoperability Mode
The security interoperability (interop) mode determines the security subject for JTA communication between servers.
Note:
If local- or cross-domain security are enabled, they supersede the security interop mode.
- In the Edit Tree, go to Services, then JTA.
- Click Show Advanced Controls.
- From the Security Interoperability Mode drop-down list, select a mode:
- Default: Messages are forwarded using kernel identity if the Admin channel is also configured. Otherwise, it behaves like
performance
mode. See Configure the Domain-Wide Administration Port. - Performance: Messages are forwarded using an anonymous user.
- Default: Messages are forwarded using kernel identity if the Admin channel is also configured. Otherwise, it behaves like
- Click Save.