Posted on

Creating a Weblogic domain template

oracle weblogic book oracle weblogic books

To create a new Oracle WebLogic Server domain template you can use the Domain Template Builder. Follow these steps in order to launch it:

1.       From the terminal window, navigate to the location of the Domain Template Builder tool. It is found under <MIDDLEWARE_HOME>/wlserver/common/bin.

2.       Run the tool by entering the following command (config_builder.bat for Windows users):

$ ./

The Domain Template wizard will start. In the “Create a New Template” window of the builder, select “Create a Domain Template as shown by the following snapshot:

Continue reading Creating a Weblogic domain template

Posted on

Installing Oracle Weblogic using the ZIP distribution

Installing Oracle WLS using the zip distribution is not carried out using an Installer Wizard; however, if you have no prejudices about using operating system’s shells, this installation can be a real time saver (and disk space saver as well!). As a matter of fact, this distribution is supported on Windows, Linux and Mac OS X systems and contains the necessary artifacts required to setup a basic installation of Oracle WebLogic Server. 

An optional supplemental zip ( is available as a separate download. The supplemental zip contains samples, evaluation database (Derby) and L10N console help files.

Here are the steps to perform installation of the Zip distribution:

1. Unzip the file

Extract the contents of the zip to a directory. This directory is referred to as MW_HOME (eg: /home/myhome/mywls).

2. Setup OS variables

Setup JAVA_HOMEMW_HOME and JAVA_VENDOR (Windows users only) variables in the current shell as required for the target platform.


$ export JAVA_HOME=/home/myhome/myjavahome  $ export MW_HOME=/home/myhome/mywls


set JAVA_HOME=C:\home\myhome\myjavahome  set MW_HOME=C:\home\myhome\mywls  set JAVA_VENDOR=[Sun|Oracle]

3. Run the installation script

Launch the installation configuration script in the MW_HOME. This step is required to be run only once. If you move the installation to another location/machine, you need to rerun this step. On a Linux machine execute:   

$ . ./   

  On a Windows platform execute instead:


Now the configure command will start unpacking the archived distribution as you can see from the following snapshot:

oracle weblogic book oracle weblogic books

It might take a while to complete but then you are done with the application server installation.

4. Set the WLS environment variables

Now execute the setWLSEnv script which is located in the bin folder of your server distribution. This will set a proper environment configuration for executing Oracle WLS shell commands:


$ . $MW_HOME/wlserver/server/bin/  



Once completed, you can move to the next step, that is creating a new WLS domain and start WLS.

Posted on

Installing Oracle Weblogic using the Generic Installer

Installing the Generic Installer distribution

The generic installer distribution can be used to install Oracle WLS on any supported 32 or 64 bit platform. The installation process is essentially the same as the full installer but you need to be aware of a few things before getting started:

  • This distribution does not include a JDK therefore it’s your duty to check that you have a correctly installed JDK. You should set as well the JAVA_HOME pointing to the folder where Java is installed and update the System PATH accordingly.
  • This distribution can be installed by using a terminal Window.


Here’s how to proceed with the installation:

Linux users:

$ export JAVA_HOME=/home/myhome/myjavahome   $ export PATH=$JAVA_HOME/bin:$PATH

Windows users:

set JAVA_HOME=yourJavaInstallPath   set PATH=%JAVA_HOME%/bin;%PATH% 

Now you can move on with the installation by executing:

java –jar wls_121200.jar

Once uncompressed the archive, you can follow the same steps depicted in the Full Installer distribution.

Posted on

Installing Oracle Weblogic

oracle weblogic book oracle weblogic books

Oracle Weblogic products are available at:

From the download area, you can access to the Oracle Fusion Middleware software.

These distributions are intended to use for development only. If you are a licensed customer you can obtain Oracle Weblogic server at Oracle Software Delivery cloud at (


Continue reading Installing Oracle Weblogic

Posted on

What is Weblogic?

Oracle WebLogic Server is a Java EE 6 compatible application server that is part of Oracle Fusion Middleware suite of products. The WebLogic Server complete implementation of the Java EE 6 specification provides a standard set of APIs for creating distributed Java applications that can access a wide variety of services, such as databases, messaging services and connections to external Enterprise systems. End-user clients can access these applications using Web browser or standalone Java clients. It also supports the Spring Framework, a programming model for Java applications which delivers an alternative to many aspects of the Java EE model.

WebLogic Server provides the core application server runtime as part of the integrated OracleWebLogic Suite Java infrastructure. This integrated infrastructure enhances application performance, improves application availability and enables predictable and reliable application scalability with high quality of service.

WebLogic Suite contains the following server-side components:

  • Oracle WebLogic Server: the core Java EE 6 application server which is discussed in this book.
  • Oracle JRockit: this is a high performance JVM that optimizes performance of your Java applications on either the Windows or Linux operating system platforms with either 32-bit or 64-bit architectures. Oracle JRockit JVM is included with your WebLogic Server installation.
  • Oracle Coherence: Oracle Coherence is a component of Oracle Fusion Middleware that enables organizations to predictably scale mission-critical applications by providing fast and reliable access to frequently used data. By automatically and dynamically partitioning data in memory across multiple servers, Oracle Coherence enables continuous data availability and transactional integrity, even in the event of a server failure.
  • Oracle TopLink: is an advanced, object-persistence and object-transformation framework that provides development tools and run time capabilities that reduce development and maintenance efforts while increasing Enterprise application functionality.