Oracle WebLogic Server 12c Advanced Administration Cookbook
()
About this ebook
Related to Oracle WebLogic Server 12c Advanced Administration Cookbook
Related ebooks
Oracle Goldengate 11g Complete Cookbook Rating: 5 out of 5 stars5/5Microsoft Team Foundation Server 2015 Cookbook Rating: 0 out of 5 stars0 ratingsOracle Database 12c Security Cookbook Rating: 0 out of 5 stars0 ratingsOracle BPM Suite 11g Developer's cookbook Rating: 0 out of 5 stars0 ratingsHigh Availability MySQL Cookbook Rating: 0 out of 5 stars0 ratingsOracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook Rating: 0 out of 5 stars0 ratingsVMware vRealize Orchestrator Cookbook Rating: 0 out of 5 stars0 ratingsInfrastructure as Code (IAC) Cookbook Rating: 0 out of 5 stars0 ratingsMicrosoft SQL Server 2012 Performance Tuning Cookbook Rating: 0 out of 5 stars0 ratingsVMware vRealize Orchestrator Cookbook - Second Edition Rating: 5 out of 5 stars5/5OData Programming Cookbook for .NET Developers Rating: 0 out of 5 stars0 ratingsOpenShift Cookbook Rating: 0 out of 5 stars0 ratingsPostgreSQL 9 High Availability Cookbook Rating: 5 out of 5 stars5/5VMware Horizon View 6 Desktop Virtualization Cookbook Rating: 0 out of 5 stars0 ratingsOracle SOA Suite 12c Administrator's Guide Rating: 0 out of 5 stars0 ratingsOracle API Management 12c Implementation Rating: 0 out of 5 stars0 ratingsOracle GoldenGate 11g Implementer's guide Rating: 5 out of 5 stars5/5Getting Started with Oracle WebLogic Server 12c: Developer’s Guide Rating: 0 out of 5 stars0 ratingsSecuring WebLogic Server 12c Rating: 0 out of 5 stars0 ratingsGetting Started with Oracle Data Integrator 11g: A Hands-On Tutorial Rating: 5 out of 5 stars5/5Oracle Database 12c Release 2 New Features Rating: 0 out of 5 stars0 ratingsOracle Database 12c Release 2 Testing Tools and Techniques for Performance and Scalability Rating: 5 out of 5 stars5/5Oracle Database A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsOracle GoldenGate With Microservices: Real-Time Scenarios with Oracle GoldenGate Rating: 0 out of 5 stars0 ratingsOracle 11g R1/R2 Real Application Clusters Essentials Rating: 5 out of 5 stars5/5Modern Oracle Enterprise Architecture: Discover Oracle's Hidden Gems for Next Generation Database and Application Migrations Rating: 0 out of 5 stars0 ratingsOracle Data Guard 11gR2 Administration Beginner's Guide Rating: 0 out of 5 stars0 ratingsMicrosoft SQL Azure Enterprise Application Development Rating: 0 out of 5 stars0 ratingsOracle Fusion Middleware Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsSOA Made Simple Rating: 0 out of 5 stars0 ratings
Internet & Web For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Podcasting For Dummies Rating: 4 out of 5 stars4/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsHow to Be Invisible: Protect Your Home, Your Children, Your Assets, and Your Life Rating: 4 out of 5 stars4/5Coding For Dummies Rating: 5 out of 5 stars5/5No Place to Hide: Edward Snowden, the NSA, and the U.S. Surveillance State Rating: 4 out of 5 stars4/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5Six Figure Blogging Blueprint Rating: 5 out of 5 stars5/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Get Rich or Lie Trying: Ambition and Deceit in the New Influencer Economy Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Cybersecurity For Dummies Rating: 4 out of 5 stars4/5Hacking : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Ethical Hacking Rating: 5 out of 5 stars5/5Remote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5The Gothic Novel Collection Rating: 5 out of 5 stars5/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 5 out of 5 stars5/5The Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5How To Start A Profitable Authority Blog In Under One Hour Rating: 5 out of 5 stars5/5Mike Meyers' CompTIA Security+ Certification Guide, Third Edition (Exam SY0-601) Rating: 5 out of 5 stars5/5Stop Asking Questions: How to Lead High-Impact Interviews and Learn Anything from Anyone Rating: 5 out of 5 stars5/5How To Start A Podcast Rating: 4 out of 5 stars4/5Beginner's Guide To Starting An Etsy Print-On-Demand Shop Rating: 0 out of 5 stars0 ratingsWeb Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5
Reviews for Oracle WebLogic Server 12c Advanced Administration Cookbook
0 ratings0 reviews
Book preview
Oracle WebLogic Server 12c Advanced Administration Cookbook - Dalton Iwazaki
Table of Contents
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Install, Configure, and Run
Introduction
Installing WebLogic Server 12c
Getting ready
How to do it...
How it works...
See also
Creating the WebLogic domain
Getting ready
How to do it...
How it works...
There's more...
See also
Distributing the domain files to remote machines
Getting ready
How to do it...
How it works...
There's more...
Distributing WebLogic domain files manually
See also
Starting the Node Manager
Getting ready
How to do it...
How it works...
There's more...
Shutting down the Node Manager
See also
Starting the Administration Server
Getting ready
How to do it...
How it works...
There's more...
Creating the boot.properties file
Starting the Administration Server in the background
Accessing the Administration Console
See also
Saving and activating changes in the Administration Console
Getting ready
How to do it...
How it works...
There's more...
Making changes using the WLST
See also
Protecting changes in the Administration Console
Getting ready
How to do it...
How it works...
There's more...
Protecting changes using WLST
See also
Extending and customizing the Administration Console
Getting ready
How to do it...
How it works...
There's more...
Removing the console extension from the Administration Console
Adding pages and content to the Administration Console
See also
Enabling RESTful Management Services
Getting ready
How to do it...
How it works...
There's more...
Enabling RESTful using WLST
See also
Starting/Stopping the WebLogic Managed Server
Getting ready
How to do it...
How it works...
There's more...
Starting/stopping the Managed Servers with WLST and the Node Manager
Starting/stopping with the provided shell script
See also
Deploying applications
Getting ready
How to do it...
How it works...
There's more...
Deploying using the weblogic.Deployer tool
Deploying applications using WLST
2. High Availability with WebLogic Clusters
Introduction
Creating a WebLogic cluster
Getting ready
How to do it...
How it works...
There's more...
Creating a WebLogic cluster using WLST
See also
Defining a Hostname/Alias for the Listen Address value
Getting ready
How to do it...
How it works...
There's more...
Defining the Listen Address value using WLST
See also
Configuring HA WebLogic cluster parameters
Getting ready
How to do it...
How it works...
There's more...
Changing the cluster settings using WLST
Using Unicast for cluster communications
Getting ready
How to do it...
How it works...
See also
Using Multicast for cluster communications
Getting ready
How to do it...
How it works...
There's more...
Configuring Multicast using WLST
See also
Installing Apache HTTP Server for the Web tier
Getting ready
How to do it...
How it works...
See also
Using the Web Server Plug-in to load balance HTTP Requests to WebLogic cluster
Getting ready
How to do it...
How it works...
There's more...
Proxying requests to other WebLogic clusters
See also
Defining a network channel for cluster communications
Getting ready
How to do it...
How it works...
There's more...
Defining the cluster channel using WLST
See also
Configuring high availability for Administration Server
Getting ready
How to do it...
How it works...
There's more...
Changing the start/stop scripts
See also
3. Configuring JDBC Resources for High Availability
Introduction
Creating a JDBC data source
Getting ready
How to do it...
How it works...
There's more...
Creating the JDBC data source using WLST
See also
Creating a multi data source
Getting ready
How to do it...
How it works...
There's more...
Creating the multi data source using WLST
See also
Defining the multi data source HA Strategy
Getting ready
How to do it...
How it works...
There's more...
Changing the multi data source algorithm type using WLST
See also
Creating a GridLink data source
Getting ready
How to do it...
How it works...
There's more...
Creating a GridLink data source using WLST
See also
Managing JDBC data sources
Getting ready
How to do it...
How it works...
See also
Tuning data sources for reliable connections
Getting ready
How to do it...
How it works...
There's more...
Tuning the data sources using WLST
See also
Tuning multi data sources – surviving RAC node failures
Getting ready
How to do it...
How it works...
There's more...
Tuning the multi data sources using WLST
See also
Updating the Oracle JDBC driver
Getting ready
How to do it...
How it works...
There's more...
Verify the driver version
See also
4. Configuring JMS Resources for Clustering and High Availability
Introduction
Creating the file stores
Getting ready
How to do it...
How it works...
There's more...
Creating the file store using WLST
See also
Creating the JDBC stores
Getting ready
How to do it...
How it works...
There's more...
Creating the JDBC store using WLST
See also
Creating the JMS servers
Getting ready
How to do it...
How it works...
There's more...
Creating the JMS servers using WLST
Creating the JMS servers with JDBC stores using WLST
See also
Creating the JMS module
Getting ready
How to do it...
How it works...
There's more...
Creating the JMS module using WLST
See also
Configuring the subdeployment target
Getting ready
How to do it...
How it works...
There's more...
Configuring the subdeployment using WLST
See also
Creating the distributed queue destination and the connection factory
Getting ready
How to do it...
How it works...
There's more...
Creating the distributed queue and connection factory using WLST
See also
Starting/stopping consumers for a JMS destination
Getting ready
How to do it...
How it works...
There's more...
Pausing the consumers using WLST
Resuming the consumers using WLST
See also
Using the Server affinity to tune the distributed destinations' load balance
Getting ready
How to do it...
How it works...
There's more...
Changing the server affinity using WLST
See also
Creating a pinned queue with clustering and HA with service migration
Getting ready
How to do it...
How it works...
See also
Configuring messaging bridge with source and target distributed destinations
Getting ready
How to do it...
How it works...
There's more...
Configuring the message bridge using WLST:
See also
Relying on SAF to transfer JMS messages to another WebLogic domain
Getting ready
How to do it...
How it works...
There's more...
Configuring the SAF agents and SAF resources using WLST
See also
5. Monitoring WebLogic Server 12c
Introduction
Customizing the Administration Console tables
Getting ready
How to do it...
How it works...
Using the JRockit Mission Control Management Console
Getting ready
How to do it...
How it works...
Monitoring Linux with SAR
Getting ready
How to do it...
How it works...
There's more...
Collecting SAR data every minute
Sending e-mail notifications with WLDF
Getting ready
How to do it...
How it works...
See also
Generating an SNMP trap
Getting ready
How to do it...
How it works...
There's more...
Creating the SNMP Agent by using WLST
See also
Creating a Monitoring Dashboard custom view
Getting ready
How to do it...
How it works...
See also
Viewing historical data in the monitoring dashboard using a database
Getting ready
How to do it...
How it works...
See also
6. Troubleshooting WebLogic Server 12c
Introduction
Changing log levels to debug
Getting ready
How to do it...
How it works...
There's more...
Changing the log levels using WLST
See also
Including the time taken field in access.log
Getting ready
How to do it...
How it works...
There's more...
Adding the time taken field using WLST
See also
Enabling verbose garbage collection logging
Getting ready
How to do it...
How it works...
There's more...
Enabling the verbose GC with jrcmd
See also
Taking thread dumps
Getting ready
How to do it...
How it works...
See also
Enabling the JRockit Mission Control Flight Recorder
Getting ready
How to do it...
How it works...
See also
Analyzing a heap dump
Getting ready
How to do it...
How it works...
There's more...
Generating the heap dump automatically on OOM conditions
Recovering the WebLogic admin password
Getting ready
How to do it...
How it works...
See also
Recovering the data source password
Getting ready
How to do it...
How it works...
See also
7. Stability and Performance
Introduction
Limiting the log disk usage
Getting ready
How to do it...
How it works...
There's more...
Limiting the log disk usage by using WLST
See also
Rotating the STDOUT logfile
Getting ready
How to do it...
How it works...
See also
Turning off domain logging
Getting ready
How to do it...
How it works...
There's more...
Disabling the domain log by using WLST
See also
Enabling Linux HugePages
Getting ready
How to do it...
How it works...
Configuring the transaction (JTA) timeouts
Getting ready
How to do it...
How it works...
There's more...
Configuring the transaction timeout by using WLST
Choosing the JRockit garbage collection mode
Getting ready
How to do it...
How it works...
Tuning thread concurrency with the default work manager
Getting ready
How to do it...
How it works...
There's more...
Creating the default work manager by using WLST
See also
Tuning the application thread concurrency with custom work managers
Getting ready
How to do it...
How it works...
There's more...
Creating the custom work manager by using WLST
See also
Limiting the JMS Queue consumers
Getting ready
How to do it...
How it works...
See also
8. Security
Introduction
Setting up SSL for production environments
Getting ready
How to do it...
How it works...
See also
Creating a new SQL authentication provider
Getting ready
How to do it...
How it works...
See also
Assigning a user to a group
Getting ready
How to do it...
See also
Securing a web application with basic authentication
Getting ready
How to do it...
How it works...
See also
Enabling the Administration Port
Getting ready
How to do it...
How it works...
There's more...
Enabling the Administration Port by using WLST
See also
Index
Oracle WebLogic Server 12c Advanced Administration Cookbook
Oracle WebLogic Server 12c Advanced Administration Cookbook
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2013
Production Reference: 1110613
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-684-6
www.packtpub.com
Cover Image by Abhishek Pandey (<abhishek.pandey1210@gmail.com>)
Credits
Author
Dalton Iwazaki
Reviewers
Vivek Acharya
Daniel Amadei
Wickes Potgieter
Acquisition Editor
Martin Bell
Lead Technical Editor
Azharuddin Sheikh
Technical Editors
Vrinda Nitesh Bhosale
Saijul Shah
Copy Editors
Brandt D'Mello
Insiya Morbiwala
Laxmi Subramanian
Project Coordinator
Anurag Banerjee
Proofreaders
Cecere Mario
Lindsey Thomas
Indexer
Monica Ajmera Mehta
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa
About the Author
Dalton Iwazaki lives in Sao Paulo, Brazil and started working with technology in 1994 in a school lab, at the age of 17. As a system administrator, Dalton configured and maintained the network (Novel 3.12), the computers (Window 3.11, Windows NT 4.0, Windows 95), and the Internet. He also took his first steps in programming by building the school website in ASP and a computer voting system to simulate the election process in Delphi.
In 1999, Dalton moved to a new company and started working with Java development. During this period, he worked on many Java server-side applications and dug deep to understand the use of JDBC, JMS, JMX, XML, and multithreaded applications. He built some frameworks from scratch to help the development, and started working on the Application Server world with IBM Websphere, Resin, Tomcat, JBoss, and BEA WebLogic. Until 2004, Dalton moved around to other companies working either as a Java developer or Java Architect.
In 2004 and 2005, Dalton worked as a Software Development Manager; he lead 10 developers to build the entire website, provisioning and back office operations of a new ISP Provider with a variety of integrations and languages, such as Java, VB, C#, Perl, and PHP. Dalton then moved to a large international bank to work as a project manager in 2005 and 2006. His role was to manage the Internet Banking and Credit Card portals and integrate the business clients and the development team. From 2006 to 2008, Dalton started and worked on his own company, a design agency focused on the delivery of web solutions.
In 2008, Dalton started working in partnership with Oracle Consulting on the infrastructure level of the WebLogic Server. In the following year, Dalton started a new company named VN Tecnologia, an IT professional services provider and Oracle Partner Network member. Working together with Oracle's clients and projects, Dalton's solid expertise in infrastructure and Java development are a rare combination used in his specializations - WebLogic Server configuration, administration, troubleshooting, and tuning. You can reach Dalton Iwazaki at <dalton.iwazaki@gmail.com>.
I want to thank my family for their support and patience. To my lovely wife Cibele, my son Ian, and my daughter Lia.
About the Reviewers
Vivek Acharya is an Oracle Consultant working as a professional freelancer. He has been a part of the design, development, consulting, and architect world for approximately 7 years, working in Oracle Practice at GE, IBM, HP. He is an Oracle Certified Expert as Oracle Fusion—SOA 11g Implementation Specialist and Oracle BPM 11g Implementation Specialist. He has experience and expertise in Oracle Fusion—SOA, BPM, BAM, Mediator, B2B, BI, AIA, WebLogic, workflow, Rules, WebCenter, ECM, IDM, Oracle fusion applications, SaaS, On Demand, and so on. He loves all things to do with Oracle Fusion Applications, Oracle SOA, Oracle BPM, cloud computing, salesforce, SaaS, and BSM.
He has authored a couple of books on distributed systems, Oracle BPM, and many others. He likes to play Synthesizer and loves travelling. You can add him to your LinkedIn list by going to the link http://www.linkedin.com/pub/vivek-acharya/15/377/26a, write to him on
Daniel Amadei is a Senior Principal Consultant working for Oracle Consulting Services in Brazil and has more than 10 years of experience in IT market being a specialized consultant and solutions architect for SOA and Enterprise Applications. He has strong analytical and problem-solving abilities with solid experience in development and architecture of applications.
He is a specialist in SOA and EAI Oracle middleware products, web services and related technologies and the Java Platform, especially Java EE. He has been working with Java since 1999 and SOA/EAI since 2007 and has, at the time of this book' s writing, 8 certifications related to his specialties, including Oracle Certified SOA Architect, Oracle SOA Foundation Practitioner and Sun Certified Enterprise Architect for J2EE.
You can write to him on <daniel.amadei@gmail.com>, and read about his works at http://www.amadei.com.br.
I'd like to thank the author, Dalton, for writing this great book and for giving me the chance to learn a lot by reviewing it. I'm mainly a developer, and getting my hands in this infrastructure book gave me lots of valuable information.
Wickes Potgieter has worked as a product specialist for over 12 years. His main focus was on the BEA WebLogic suite of products, and after the Oracle acquisition of BEA Systems, focused on the Oracle Fusion Middleware suite of products. His experience ranges from Solution Architecture, Infrastructure Design, administration, development,