Book Image

Oracle Weblogic Server 11gR1 PS2: Administration Essentials

By : Michel Schildmeijer
Book Image

Oracle Weblogic Server 11gR1 PS2: Administration Essentials

By: Michel Schildmeijer

Overview of this book

<p>Oracle's WebLogic 11g Server is an application server for building and deploying enterprise Java EE applications. WebLogic's infrastructure supports the deployment of many types of distributed applications and is an ideal foundation for building applications based on a Service Oriented Architecture. This book will guide you through the important administration aspects of WebLogic server.</p> <p><i>Oracle WebLogic Server 11gR1 PS2: Administration Essentials</i> is a focused step-by-step tutorial that provides an overview of the important administrative tasks performed by WebLogic Server administrators.</p> <p>This book will teach administrators the techniques for installing and configuring Oracle WebLogic Server and how to deploy Java EE applications using the Administration Console, command-line interface, and scripting tools such as WLST. It starts with a good overview of the techniques needed in the middleware world of today. Clear explanations of definitions and concepts of JEE and how Oracle WebLogic fits into this picture are also provided. The book then dives into performing routine Oracle WebLogic server administration functions, and how to deploy different types of Java EE applications to WebLogic server.</p>
Table of Contents (20 chapters)
Oracle WebLogic Server 11gR1 PS2: Administration Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
3
Oracle WebLogic Software Installed; What's Next?
6
Deploy Your Applications in Oracle WebLogic
7
Connecting to the Outside World: JDBC and JMS
8
Making your WebLogic Mission-Critical: Clustering
Index

Preface

Oracle's WebLogic 11g Server is an application server for building and deploying enterprise Java EE applications. WebLogic's infrastructure supports the deployment of many types of distributed applications and is an ideal foundation for building applications based on a Service Oriented Architecture. This book will guide you through the important administration aspects of WebLogic Server.

This book will teach administrators the techniques for installing and configuring Oracle WebLogic Server and how to deploy Java EE applications using the Administration Console, command-line interface, and scripting tools such as WLST. This book starts with a good overview of the needed techniques in the middleware world of today. Clear explanations of definitions and concepts of JEE and how Oracle WebLogic fits into that are also provided. The book then dives into performing routine Oracle WebLogic Server administration functions, and how to deploy different types of Java EE applications to WebLogic Server.

What this book covers

Chapter 1, Oracle WebLogic: Your First Step into a Middleware World! will give you an overview of Oracle WebLogic Architecture, WebLogic Domain concept, WebLogic Managed Servers, different tier architectures, and software architecture of the Oracle WebLogic Server.

Chapter 2, The Beginning: Planning and Installation focuses on installing the WebLogic software. This chapter will teach you the various aspects of the Oracle WebLogic software. Also the reader will learn the different default locations where the software has been placed.

Chapter 3, Oracle WebLogic Software Installed; What's Next? covers the planning strategy and configuration of a domain, the different options to choose and different modes such as graphical- and console-based. By the end of the chapter we will understand what a domain is and how to create a basic domain, know the different templates, and what to configure during domain creation.

Chapter 4, Getting in Control: Operation Basics will guide you through the different tools an administrator can use to manage the WebLogic Server Domain, such as starting/stopping, use of the Administration Console, and command line tools.

Chapter 5, Managed Servers and the Node Manager; here you will learn the basic terms and techniques of Managed Server Instances and the Node Manager. You will learn how to create and configure your Managed Server Instance, and also how to set up a proper Node Manager configuration.

Chapter 6, Deploy your Applications in Oracle WebLogic; here you will learn the very basics of deployment, how WebLogic handles deployments, which tools an administrator can use for deployment, and some strategies about how to approach the deployment process.

Chapter 7, Connecting to the Outside World: JDBC and JMS will teach you how to set up your WebLogic Domain using additional resources when communicating with databases (JDBC) or Messaging Systems (JMS).

Chapter 8, Making your WebLogic Mission-Critical: Clustering; you will learn how in this 24/7 economy, systems have to be highly available and performing at the top of their capabilities. In this chapter, you will also learn all about clustering best practices.

Chapter 9, The Heart of Oracle WebLogic Server: The JVM will explain the Java Virtual Machine, an important component in the WebLogic Domain, along with some best practices about how to gain an optimal configuration for your WebLogic Domain.

Chapter 10, What if Something Goes Wrong? will give you a start in the areas you could begin to troubleshoot. Although there are many possible scenarios, in real life often the same issues will appear and can be easily tackled.

Chapter 11, Configuring and Analyzing Logging, will help you to determine the possible failures, which is an important administrator's task, and it will also help you to make a start to configure it to your needs.

Chapter 12, Keeping your WebLogic Secure: Security and Protection you will encounter the many aspects of being secure in your software environment.

Chapter 13, WLST: Makes an Administrator's Life Easier;here you will become familiar with the strong capabilities of the WLST, customizing WLST, and custom MBeans features.

What you need for this book

A Linux environment (such as Oracle Enterprise Linux) and the Oracle WebLogic installer package which can be downloaded from Oracle Technet.

Who this book is for

If you are a middleware administrator looking for a quick guide for performing routine and important WebLogic Server administration functions, including configuring WebLogic Server and deploying Java EE applications, then this is the perfect book for you. It could be helpful if you already have some experience as an Oracle or JAVA developer, or as an OS, Web server, or middleware administrator. Also database administrators who want to learn more about Oracle WebLogic can use this book for guidance.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "JVMs trigger java.lang.OutOfMemoryError when there is insufficient memory to perform some task".

A block of code is set as follows:

connect("username","password")
edit()
startEdit()
cmo.setConsoleEnabled(true)
save()

Any command-line input or output is written as follows:

unpack-template=path_of_jar_file-domain=path_of_domain_to_be_created [-user_name=username] [-password=password] [-app_dir=application_directory] [-java_home=java_home_directory] [-server_start_mode=dev|prod] [-log=log_file] [-log_priority=log_priority]

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The SSL tab for the specified Server Instance is used to configure the BEA Hostname Verifier".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or e-mail .

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.