3 WebLogic Servers
When you create a domain, you also create an Administration Server, which distributes configuration changes to other servers in the domain. In a typical production environment, you create one or more Managed Servers in the domain to host business applications and use the Administration Server only to configure and monitor the Managed Servers.
This chapter includes the following sections:
Create servers
To create a new server instance:
Parent topic: WebLogic Servers
Server Properties
On the Server Properties page, you can define general configuration settings for your new server instance:
-
Name: enter the desired name for your new server instance.
-
Server Listen Address: if you want to limit the valid addresses for a server instance, enter an IP address or DNS name. Otherwise, URLs to the server can specify any of the host computer's IP address, any DNS name that maps to one of the IP addresses, or the
localhost
string. -
Server Listen Port: enter the port number from which you want to access the server instance.
-
Cluster Membership: specify whether or not this server will be a stand alone server or will belong to a cluster. If this server is not part of a cluster, then select No, this is a stand-alone server.
If this server is part of a cluster, then select Yes, make this server a member of an existing cluster. Select the desired cluster from the Select a cluster menu or click Create a new cluster. For more information on creating a new cluster, see Create clusters.
For more information about these fields, see Configuration Options.
Parent topic: Create servers
Machine Binding
On the Machine Binding page, you can optionally select a machine to associate your new server with. Use the Select a machine menu or click Create a machine. For more information on creating machines, see Create machines.
For more information about this field, see Configuration Options.
Parent topic: Create servers
Review
On the Review page, review the configuration for this server instance.
For more information about these fields, see Configuration Options.
Parent topic: Create servers
Monitor servers
This section describes how to monitor server instances. This section includes the following tasks:
- Monitor status of all server instances
- Monitor server environment
- Monitor server health
- Monitor server transactions
- Monitor server JDBC data sources
- Monitor server messaging
- Monitor server deployments
- Monitor server performance summary
- Monitor server resource performance
- Monitor server JVM performance
- Monitor server asynchronous tasks
Parent topic: WebLogic Servers
Monitor status of all server instances
To monitor the runtime status of all server instances in a domain:
Parent topic: Monitor servers
Monitor server environment
To monitor the status of a specific server instance:
Parent topic: Monitor servers
Monitor channel information
To monitor channel connection information for a server instance:
Parent topic: Monitor server environment
Monitor server transactions
To monitor the JTA transactions of a specific server instance:
Parent topic: Monitor servers
Monitor server JDBC data sources
To monitor the JDBC data sources associated with a specific server instance:
Parent topic: Monitor servers
Monitor server messaging
To monitor the status of JMS servers associated with a server instance:
Parent topic: Monitor servers
Monitor server deployments
To monitor all deployments on a server instance:
Parent topic: Monitor servers
Monitor server performance summary
To monitor the performance summary of a server instance:
Parent topic: Monitor servers
Monitor server resource performance
To monitor the resource performance of a server instance:
Parent topic: Monitor servers
Monitor server JVM performance
To monitor the JVM performance of a server instance:
Parent topic: Monitor servers
Monitor server asynchronous tasks
Because some administrative tasks (such as deployments, service migrations, and attempts to start or stop Managed Servers) are completed immediately and others take varying amounts of time to complete, the Asynchronous Tasks summary page allows you to monitor the completion status of all tasks.
To monitor the status of asynchronous tasks in a server instance:
Parent topic: Monitor servers
Control servers
This section describes how to control server instances. You can start, resume,
suspend, or shutdown the server instances in a domain. For information on how the server
transitions from STANDBY
or ADMIN
to the
RUNNING
state, see Understanding Server Life Cycle in Managing Server
Startup and Shutdown for Oracle WebLogic Server.
Before you begin
Control operations on Managed Servers require starting the Node Manager. Starting Managed Servers in Standby mode requires the domain-wide administration port.
This section includes the following tasks:
- Control server state
- Control server JTA transactions
- Control clustered server migration
- Control clustered server job scheduling
Parent topic: WebLogic Servers
Control server JTA transactions
To control transactions coordinated by a server instance:
Parent topic: Control servers
Control clustered server migration
To migrate a clustered server instance:
Parent topic: Control servers
Control clustered server job scheduling
To control job scheduling for a clustered server instance:
Parent topic: Control servers
Configure servers
This section describes how to configure servers. This section includes the following tasks:
- Define general server configuration
- Configure cluster settings
- Configure server services
- Configure server keystores
- Configure server SSL settings
- Configure server SAML Federation Services
- Configure server deployment staging
- Configure server migration
- Configure server tuning
- Configure server overload
- Configure server health monitoring
- Configure server startup
- Configure server startup and shutdown settings
- Configure server Web Services
- Configure server Coherence cluster settings
- Configure server protocol settings
- Create server notes
- Configure the server template for a dynamic server
Parent topic: WebLogic Servers
Define general server configuration
To configure general settings for a specific server instance:
- Change server template
- Specify a startup mode
- Configure listen addresses
- Configure listen ports
- Change server compiler options
Parent topic: Configure servers
Change server template
To change the server template associated with a server instance:
Parent topic: Define general server configuration
Specify a startup mode
The startup mode specifies the state in which a server instance should be started. The default is to start in the RUNNING
state.
To specify the startup mode for a specific server instance:
Parent topic: Define general server configuration
Configure listen addresses
To configure the listen address of a specific server instance:
Parent topic: Define general server configuration
Configure listen ports
To configure the listen ports of a specific server instance:
Parent topic: Define general server configuration
Change server compiler options
To change the standard Java compiler values for a specific server instance:
Parent topic: Define general server configuration
Configure cluster settings
A WebLogic Server cluster is a group of servers that work together to provide a scalable and reliable application platform.
To configure cluster settings for a specific server instance:
Parent topic: Configure servers
Configure server services
To configure WebLogic service settings for a specific server instance:
Parent topic: Configure servers
Configure server keystores
Keystores ensure the secure storage and management of private keys and trusted certificate authorities (CAs). You can view and define various keystore configurations which help you manage the security of message transmissions.
To configure keystore settings for a specific server instance:
-
From the WebLogic Domain menu, select Environment, then select Servers.
-
In the Servers table, select the name of the server instance you want to configure.
An overview page displays information related to the server instance.
-
From the WebLogic Server menu, select Administration, then select Keystores.
-
To change your keystore configuration:
-
Click Change.
-
From the Keystores menu, select the keystore configuration you want to use.
-
Click Save.
-
-
From the Keystore page, you can define other keystore configuration settings for this server instance, such as:
-
Keystores
-
Demo Identity Keystore
-
Demo Identity Keystore Type
-
Demo Identity Keystore Passphrase
-
Demo Trust Keystore
-
Demo Trust Keystore Type
-
Demo Trust Keystore Passphrase
-
Java Standard Trust Keystore
-
Java Standard Trust Keystore Type
-
Java Standard Trust Keystore Passphrase
For more information about these fields, see Configuration Options.
-
-
Click Save.
Parent topic: Configure servers
Configure server SSL settings
You can view and define various Secure Sockets Layer (SSL) settings for a server instance, which help you manage the security of message transmissions.
To configure SSL settings for a specific server instance:
Parent topic: Configure servers
Configure server SAML Federation Services
You can configure a WebLogic Server instance to function as a producer or as a consumer of SAML assertions that can be used for the following:
-
Web single sign-on between online business partners
-
Exchange of identity information in Web services security
The general process of configuring Federation Services depends upon the version of SAML you are using. WebLogic Server supports both SAML 1.1 and SAML 2.0.
To configure WebLogic Server to serve as a SAML 1.1 federated partner, see the respective following sections.
To configure WebLogic Server to serve as a SAML 2.0 federated partner, see the respective following sections.
- Configure SAML 1.1 source services
- Configure SAML 1.1 destination services
- Configure SAML 2.0 general services
- Configure SAML 2.0 Identity Provider services
- Configure SAML 2.0 Service Provider services
Parent topic: Configure servers
Configure SAML 1.1 source services
Before you begin
You must first configure a SAML Credential Mapper V2 security provider in the server's security realm.
You can configure a WebLogic Server instance to function as a SAML source site. A SAML source site is a site that provides an Intersite Transfer Service (ITS). A source site generates assertions that are conveyed to a destination site using one of the single sign-on profiles.
To configure a server as a SAML source site:
Parent topic: Configure server SAML Federation Services
Configure SAML 1.1 destination services
Before you begin
You must first configure a SAML Identity Asserter V2 security provider in the server's security realm.
You can configure a WebLogic Server instance to function as a SAML destination site. A destination site can receive SAML assertions and use them to authenticate local subjects.
To configure a server as a SAML destination site:
Parent topic: Configure server SAML Federation Services
Configure SAML 2.0 general services
You can configure general SAML 2.0 services for a server. If you are configuring SAML 2.0 Web single sign-on services with your federated partners, then the site information you configure is published in a metadata file that you send to your federated partners.
To configure the general SAML 2.0 properties of this server:
After you finish
After you have configured this server's general SAML 2.0 services, select the SAML 2.0 Identity Provider page or the SAML 2.0 Service Provider page to configure this server as an Identity Provider or Service Provider, respectively.
See Configure SAML 2.0 Identity Provider services and Configure SAML 2.0 Service Provider services.
Parent topic: Configure server SAML Federation Services
Configure SAML 2.0 Identity Provider services
You can configure a server instance in the role of SAML 2.0 Identity Provider. A SAML 2.0 Identity Provider creates, maintains, and manages identity information for principals, and provides principal authentication to other Service Provider partners within a federation by generating SAML 2.0 assertions for those partners.
To configure a server as a SAML 2.0 Identity Provider:
After you finish
Coordinate with your federated partners to ensure that the SAML bindings you have enabled for this SAML authority, as well as your requirements for signed documents, are compatible with your partners.
Parent topic: Configure server SAML Federation Services
Configure SAML 2.0 Service Provider services
You can configure a WebLogic Server instances as a SAML 2.0 Service Provider. A Service Provider is a SAML authority that can receive SAML assertions and extract identity information from those assertions. The identity information can then be mapped to local Subjects, and optionally groups as well, that can be authenticated.
To configure a server as a SAML 2.0 Service Provider:
After you finish
Coordinate with your federated partners to ensure that the SAML bindings you have enabled for this SAML authority, as well as your requirements for signed documents, are compatible with your partners.
Parent topic: Configure server SAML Federation Services
Configure server deployment staging
To configure the default deployment staging on a specific server instance:
Parent topic: Configure servers
Configure server migration
To configure migration settings for clustered servers:
Parent topic: Configure servers
Configure server tuning
You can tune the performance and functionality of a server instance by configuring the tuning settings.
To configure tuning settings for a specific server instance:
- Enable native IO
- Enable NIOSocketMuxer
- Tune connection backlog buffering
- Tune stuck thread detection behavior
- Replicate domain configuration files for Managed Server independence
Parent topic: Configure servers
Enable native IO
To enable native IO for a specific server instance:
Parent topic: Configure server tuning
Enable NIOSocketMuxer
To enable non-blocking IO for a specific server instance:
Parent topic: Configure server tuning
Tune connection backlog buffering
You can tune the number of connection requests that a WebLogic Server instance will accept before refusing additional requests.
To tune connection backlog buffering for a specific server instance:
Parent topic: Configure server tuning
Tune stuck thread detection behavior
WebLogic Server diagnoses a thread as stuck if it is continually working (not idle) for a set period of time. You can tune a server's thread detection behavior by changing the length of time before a thread is diagnosed as stuck, and by changing the frequency with which the server checks for stuck threads.
To configure stuck thread detection behavior for a specific server instance:
Parent topic: Configure server tuning
Replicate domain configuration files for Managed Server independence
The server instance for which you configure Managed Server Independence (MSI) replication does not need to be running.
To configure a Managed Server to replicate a domain's configuration files:
After you finish
If the Managed Server is running, then restart it.
Parent topic: Configure server tuning
Configure server overload
You can configure how WebLogic Server should react in the case of an overload or failure condition.
To configure overload settings for a specific server instance:
Parent topic: Configure servers
Configure server health monitoring
WebLogic Server provides a self-health monitoring capability to improve the reliability and availability of servers in a WebLogic Server domain. Selected subsystems within each server monitor their health status based on criteria specific to the subsystem.
You can configure the frequency of a server's automated health checks and the frequency with which the Node Manager application (optional) checks the server's health state. You can also use this page to specify whether Node Manager automatically stops and restarts the server if the server reaches the "failed" health state.
To configure health monitoring settings for a specific server instance:
Parent topic: Configure servers
Configure server startup
Node Manager is a WebLogic Server utility that you can use to start, suspend, shut down, and restart servers in normal or unexpected conditions. You can configure the startup settings that Node Manager will use to start this server on a remote machine.
To configure the startup options that Node Manager uses to start a specific server instance:
Parent topic: Configure servers
Configure server startup and shutdown settings
To configure the startup and shutdown settings for a server instance:
Parent topic: Configure servers
Configure server Web Services
You must install a Web service before you can view and modify its configuration. This section includes the following tasks:
- Configure message buffering for Web services
- Configure Web service reliable messaging
- View logical stores
Parent topic: Configure servers
Configure message buffering for Web services
To configure message buffering for Web services:
Parent topic: Configure server Web Services
Configure Web service reliable messaging
Web service reliable messaging is a framework that enables an application running on one application server to reliably invoke a Web service running on another application server, assuming that both servers implement the WS-Reliable Messaging specification. Reliable is defined as the ability to guarantee message delivery between the two Web services. Use this page to customize reliable messaging configuration on the Web service endpoint.
To configure reliable messaging for Web services:
Parent topic: Configure server Web Services
View logical stores
A logical store is a named unit of storage that provides the business configuration requirements and connects the Web service to the physical store and buffering queue.
To view the logical stores configured for this server instance:
Parent topic: Configure server Web Services
Configure server Coherence cluster settings
To configure Coherence for a specific server instance:
Parent topic: Configure servers
Configure server protocol settings
This section describes how to configure server protocols.
This section includes the following tasks:
- Configure server protocol general settings
- Configure server HTTP settings
- Configure server IIOP settings
- Monitor server network channel settings
- Monitor a specific network channel
- Configure server network channel settings
Parent topic: Configure servers
Configure server protocol general settings
To configure general protocol settings for a server instance:
Parent topic: Configure server protocol settings
Configure server HTTP settings
To configure HTTP protocol settings for a server instance:
Parent topic: Configure server protocol settings
Configure server IIOP settings
To configure Internet Inter-ORB Protocol (IIOP) settings for a server instance:
Parent topic: Configure server protocol settings
Monitor server network channel settings
To monitor network channel protocol settings for a server instance:
Parent topic: Configure server protocol settings
Monitor a specific network channel
To monitor a specific network channel:
Parent topic: Configure server protocol settings
Configure server network channel settings
To configure network channel protocol settings for a server instance:
Note:
For information about configuring server template network channel settings, see Configure server template network channel settings.
Parent topic: Configure server protocol settings
Configure the server template for a dynamic server
To view or change the server template configuration for a dynamic server:
Parent topic: Configure servers
View the JNDI tree
The JNDI browser is a central location where you can find the JNDI names of all the WebLogic Server resources. Typically, while writing WLS client programs, you would search the JNDI browser for JNDI names. The JNDI browser displays a tree of resources in the domain or a server. Selecting a node or an object in the tree, displays JNDI information including Binding Name, Object Class, Object Hash Code, and Object to String Results entries.
To view objects in a server's JNDI tree:
For more information about JNDI, see Understanding WebLogic JNDI in Developing JNDI Applications for Oracle WebLogic Server.
Parent topic: WebLogic Servers