Oracle WebLogic Server 12c Advanced Administration Cookbook

Book description

If you want to extend your capabilities in administering Oracle WebLogic Server, this is the helping hand you’ve been looking for. With 70 recipes covering both basic and advanced topics, it will provide a new level of expertise.

  • Learn how to set a WebLogic environment with stability, high availability and performance
  • Premature optmization is the root of all evil. Configure and tune only what really matters.
  • Understand what are you doing and why. Every recipe covers the theory behind the practice.

In Detail

Oracle WebLogic Server is the core application server product of the Oracle Fusion Middleware platform.

It is the premier application server for enterprise applications and has now been updated to 12C.

If your company or client uses Oracle technology then you must know how to administer the Oracle WebLogic Server

Oracle WebLogic Server 12c Advanced Administration Cookbook guides you through 70 recipes covering from the basics of WebLogic 12c installation, and passing through JDBC, JMS, cluster configuration and tuning. The book covers the day-by-day tasks of a WebLogic Administrator, enhanced with a lot of tips to build a WebLogic production environment focused on stability, high availability and performance.

The best place to start with any book is at the beginning so the first thing that is covered is the basics. This quick refresher should get you back up to speed with WebLogic server and get you in the right frame of mind to get stuck into the more complex techniques.

Each chapter then covers a specific topic with complex solutions simplified and explained. This is not only a book that guides you through complex techniques but also ensure you have a solid understanding of the theory behind the techniques.

We dive into high availability clusters, configuring JMS and JDBC, and then moving on to more general WebLogic Server aspects. Monitor, troubleshoot, and tune the performance of your WebLogic server with time tested solutions.

If you want to take your WebLogic server to the next level of performance and security or simply just want to be more in control this book is full of solutions that will allow you to achieve that aim.

Table of contents

  1. Oracle WebLogic Server 12c Advanced Administration Cookbook
    1. Table of Contents
    2. Oracle WebLogic Server 12c Advanced Administration Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
        3. Instant Updates on New Packt Books
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    8. 1. Install, Configure, and Run
      1. Introduction
      2. Installing WebLogic Server 12c
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      3. Creating the WebLogic domain
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Distributing the domain files to remote machines
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Distributing WebLogic domain files manually
        5. See also
      5. Starting the Node Manager
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Shutting down the Node Manager
        5. See also
      6. Starting the Administration Server
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the boot.properties file
          2. Starting the Administration Server in the background
          3. Accessing the Administration Console
        5. See also
      7. Saving and activating changes in the Administration Console
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Making changes using the WLST
        5. See also
      8. Protecting changes in the Administration Console
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Protecting changes using WLST
        5. See also
      9. Extending and customizing the Administration Console
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Removing the console extension from the Administration Console
          2. Adding pages and content to the Administration Console
        5. See also
      10. Enabling RESTful Management Services
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Enabling RESTful using WLST
        5. See also
      11. Starting/Stopping the WebLogic Managed Server
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Starting/stopping the Managed Servers with WLST and the Node Manager
          2. Starting/stopping with the provided shell script
        5. See also
      12. Deploying applications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Deploying using the weblogic.Deployer tool
          2. Deploying applications using WLST
    9. 2. High Availability with WebLogic Clusters
      1. Introduction
      2. Creating a WebLogic cluster
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating a WebLogic cluster using WLST
        5. See also
      3. Defining a Hostname/Alias for the Listen Address value
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Defining the Listen Address value using WLST
        5. See also
      4. Configuring HA WebLogic cluster parameters
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the cluster settings using WLST
      5. Using Unicast for cluster communications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Using Multicast for cluster communications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Configuring Multicast using WLST
        5. See also
      7. Installing Apache HTTP Server for the Web tier
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      8. Using the Web Server Plug-in to load balance HTTP Requests to WebLogic cluster
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Proxying requests to other WebLogic clusters
        5. See also
      9. Defining a network channel for cluster communications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Defining the cluster channel using WLST
        5. See also
      10. Configuring high availability for Administration Server
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the start/stop scripts
        5. See also
    10. 3. Configuring JDBC Resources for High Availability
      1. Introduction
      2. Creating a JDBC data source
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the JDBC data source using WLST
        5. See also
      3. Creating a multi data source
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the multi data source using WLST
        5. See also
      4. Defining the multi data source HA Strategy
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the multi data source algorithm type using WLST
        5. See also
      5. Creating a GridLink data source
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating a GridLink data source using WLST
        5. See also
      6. Managing JDBC data sources
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      7. Tuning data sources for reliable connections
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Tuning the data sources using WLST
        5. See also
      8. Tuning multi data sources – surviving RAC node failures
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Tuning the multi data sources using WLST
        5. See also
      9. Updating the Oracle JDBC driver
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Verify the driver version
        5. See also
    11. 4. Configuring JMS Resources for Clustering and High Availability
      1. Introduction
      2. Creating the file stores
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the file store using WLST
        5. See also
      3. Creating the JDBC stores
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the JDBC store using WLST
        5. See also
      4. Creating the JMS servers
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the JMS servers using WLST
          2. Creating the JMS servers with JDBC stores using WLST
        5. See also
      5. Creating the JMS module
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the JMS module using WLST
        5. See also
      6. Configuring the subdeployment target
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Configuring the subdeployment using WLST
        5. See also
      7. Creating the distributed queue destination and the connection factory
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the distributed queue and connection factory using WLST
        5. See also
      8. Starting/stopping consumers for a JMS destination
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Pausing the consumers using WLST
          2. Resuming the consumers using WLST
        5. See also
      9. Using the Server affinity to tune the distributed destinations' load balance
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the server affinity using WLST
        5. See also
      10. Creating a pinned queue with clustering and HA with service migration
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      11. Configuring messaging bridge with source and target distributed destinations
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Configuring the message bridge using WLST:
        5. See also
      12. Relying on SAF to transfer JMS messages to another WebLogic domain
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Configuring the SAF agents and SAF resources using WLST
        5. See also
    12. 5. Monitoring WebLogic Server 12c
      1. Introduction
      2. Customizing the Administration Console tables
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Using the JRockit Mission Control Management Console
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Monitoring Linux with SAR
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Collecting SAR data every minute
      5. Sending e-mail notifications with WLDF
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Generating an SNMP trap
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the SNMP Agent by using WLST
        5. See also
      7. Creating a Monitoring Dashboard custom view
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      8. Viewing historical data in the monitoring dashboard using a database
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    13. 6. Troubleshooting WebLogic Server 12c
      1. Introduction
      2. Changing log levels to debug
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the log levels using WLST
        5. See also
      3. Including the time taken field in access.log
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Adding the time taken field using WLST
        5. See also
      4. Enabling verbose garbage collection logging
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Enabling the verbose GC with jrcmd
        5. See also
      5. Taking thread dumps
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Enabling the JRockit Mission Control Flight Recorder
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      7. Analyzing a heap dump
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Generating the heap dump automatically on OOM conditions
      8. Recovering the WebLogic admin password
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      9. Recovering the data source password
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    14. 7. Stability and Performance
      1. Introduction
      2. Limiting the log disk usage
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Limiting the log disk usage by using WLST
        5. See also
      3. Rotating the STDOUT logfile
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Turning off domain logging
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Disabling the domain log by using WLST
        5. See also
      5. Enabling Linux HugePages
        1. Getting ready
        2. How to do it...
        3. How it works...
      6. Configuring the transaction (JTA) timeouts
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Configuring the transaction timeout by using WLST
      7. Choosing the JRockit garbage collection mode
        1. Getting ready
        2. How to do it...
        3. How it works...
      8. Tuning thread concurrency with the default work manager
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the default work manager by using WLST
        5. See also
      9. Tuning the application thread concurrency with custom work managers
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating the custom work manager by using WLST
        5. See also
      10. Limiting the JMS Queue consumers
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    15. 8. Security
      1. Introduction
      2. Setting up SSL for production environments
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      3. Creating a new SQL authentication provider
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Assigning a user to a group
        1. Getting ready
        2. How to do it...
        3. See also
      5. Securing a web application with basic authentication
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Enabling the Administration Port
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Enabling the Administration Port by using WLST
        5. See also
    16. Index

Product information

  • Title: Oracle WebLogic Server 12c Advanced Administration Cookbook
  • Author(s): Dalton Iwazaki
  • Release date: June 2013
  • Publisher(s): Packt Publishing
  • ISBN: 9781849686846