PacktLib: Oracle WebLogic Server 12c Advanced Administration Cookbook

Oracle WebLogic Server 12c Advanced Administration Cookbook


About the Author

About the Reviewers


Install, Configure, and Run


Installing WebLogic Server 12c

Creating the WebLogic domain

Distributing the domain files to remote machines

Starting the Node Manager

Starting the Administration Server

Saving and activating changes in the Administration Console

Protecting changes in the Administration Console

Extending and customizing the Administration Console

Enabling RESTful Management Services

Starting/Stopping the WebLogic Managed Server

Deploying applications

High Availability with WebLogic Clusters


Creating a WebLogic cluster

Defining a Hostname/Alias for the Listen Address value

Configuring HA WebLogic cluster parameters

Using Unicast for cluster communications

Using Multicast for cluster communications

Installing Apache HTTP Server for the Web tier

Using the Web Server Plug-in to load balance HTTP Requests to WebLogic cluster

Defining a network channel for cluster communications

Configuring high availability for Administration Server

Configuring JDBC Resources for High Availability


Creating a JDBC data source

Creating a multi data source

Defining the multi data source HA Strategy

Creating a GridLink data source

Managing JDBC data sources

Tuning data sources for reliable connections

Tuning multi data sources – surviving RAC node failures

Updating the Oracle JDBC driver

Configuring JMS Resources for Clustering and High Availability


Creating the file stores

Creating the JDBC stores

Creating the JMS servers

Creating the JMS module

Configuring the subdeployment target

Creating the distributed queue destination and the connection factory

Starting/stopping consumers for a JMS destination

Using the Server affinity to tune the distributed destinations' load balance

Creating a pinned queue with clustering and HA with service migration

Configuring messaging bridge with source and target distributed destinations

Relying on SAF to transfer JMS messages to another WebLogic domain

Monitoring WebLogic Server 12c


Customizing the Administration Console tables

Using the JRockit Mission Control Management Console

Monitoring Linux with SAR

Sending e-mail notifications with WLDF

Generating an SNMP trap

Creating a Monitoring Dashboard custom view

Viewing historical data in the monitoring dashboard using a database

Troubleshooting WebLogic Server 12c


Changing log levels to debug

Including the time taken field in access.log

Enabling verbose garbage collection logging

Taking thread dumps

Enabling the JRockit Mission Control Flight Recorder

Analyzing a heap dump

Recovering the WebLogic admin password

Recovering the data source password

Stability and Performance


Limiting the log disk usage

Rotating the STDOUT logfile

Turning off domain logging

Enabling Linux HugePages

Configuring the transaction (JTA) timeouts

Choosing the JRockit garbage collection mode

Tuning thread concurrency with the default work manager

Tuning the application thread concurrency with custom work managers

Limiting the JMS Queue consumers



Setting up SSL for production environments

Creating a new SQL authentication provider

Assigning a user to a group

Securing a web application with basic authentication

Enabling the Administration Port