Showing posts with label domain. Show all posts
Showing posts with label domain. Show all posts

Monday, December 17, 2012

Difference between Development Mode and Production Mode in Weblogic server

During domain creation you can specify the start up mode for your domain either as development mode of production mode. 

Most of you who work with WebLogic Server for the past few releases should know that there are few differences between a development domain and production domain.
(http://e-docs.bea.com/common/docs103/confgwiz/newdom.html#wp1097267) 

Development Mode
The default JDK for development domain is Sun Hotspot
You can use the demo certificates for SSL
Auto deployment is enabled
Server instances rotate their log files on startup
Admin Server uses an automatically created boot.properties during startup
The default maximum capacity for JDBC Datasource is 15
The debugFlag which is used to start the WebLogic Workshop Debugger is enabled

Production Mode
The default JDK for production domain is JRockit
If you use the demo certificates for SSL a warning is displayed
Auto deployment is disabled
Server instances rotate their log files when it reaches 5MB
Admin Server prompts for username and password during startup
The default maximum capacity for JDBC Datasource is 25
The debugFlag which is used to start the WebLogic Workshop Debugger is disabled

In addition to the above WebLogic Server 10gR3 adds a few more default configurations depending on whether the domain is started in development or production mode.



WEBLOGIC COMMON


Managed Weblogic Server


Weblogic Managed Servers:

In this post I will be providing some basic idea about the Weblogic Domain and its component called Managed Weblogic Server.

What is Weblogic Domain?

A domain is the basic administration unit for WebLogic Server instances. A domain consists of one or more WebLogic Server instances (and their associated resources such as JDBC resource or JMS resource) that can be managed with a single Administration Server.
A minimal domain can contain only one WebLogic Server instance, which functions both as an Administration Server, and as a Managed server. This instance is called as Weblogic Administration Server or Weblogic Admin Sever.
As it is the only instance present in domain so this Weblogic Admin Server can also be used as Managed Weblogic Server.
Below figure Fig.1 , shows a minimal Weblogic domain containing only one Admin Server.
Fig.1 Weblogic domain with Admin Server only.

Till now I hope, the concept of Weblogic Domain is clear.
As terms Weblogic Admin Server and Weblogic Managed Server has been used, let me explain each of them separately.

Weblogic Admin Server OR Weblogic Administration Server:

The minimum requirement for a Weblogic Domain to exist is that it must contain one Administration Server. This Weblogic Server Instance is basically used for the Administrative purpose of complete Weblogic domain.
This Admin Server can also be used for the purpose of deployment of applications along with Administrative purpose and in that case the Admin Server is acting as Managed Weblogic Server instance.

Managed Weblogic Server:

Any other server instance other than Administrative Server of a Weblogic domain is called as Managed Weblogic Server. Managed Servers host the components and associated resources that constitute the applications—for example, JSPs and EJBs.
Below figure Fig. 2 Shows A Weblogic Domain with 1 Admin Server and 1 Managed Server on a Single Machine.
Weblogic domain with Admin Server and one Managed Server.
Fig.2 Weblogic domain with Admin Server and one Managed Server.

Thursday, November 8, 2012

DOMAIN_HOME Structure

Hi Guys...

After configuring your domain 
The Directory structure is like


The structure After Instalation of  weblogic server Bea_HOME will Create and later .... Inside the Bea_Home directory we have no of directories are created like WL_Home and JDK_Home...

After configuring your  Domain  the user_projets and inside the directory domains ....... these directories will create ...

Weblogic Server Architecture topology


Weblogic Architecture
Weblogic Architecture perfectly matches with the map of any country.
                 The capital ( New Delhi )  -- Admin Server
                  The states   ( any state   )  -- “Managed Server”
        All the “Managed Servers” are managed by “Admin Server

Domain Architecture
Domain ( config.xml)





Process Communication in a LAN
How do processes communicate in a LAN ?
Each process in any OS ( Unix or Windows) listens on a port.
When another process wants to send a message to the first process it will use theIP:PORT ( called socket) to communicate.The same way each weblogic server process ( its just an other java process) will bind  to one IP:PORT and listens for requests.
This IP:PORT combination for any process is unique in the entire network. 

Important points about a Domain
“Admin server” or “Managed Server” is nothing but a JVM which can run any java program.
Admin & Managed servers are same in terms of capability.
They differ in terms of functionality.
                 Admin Server – Administers the Domain
                 Managed Servers – Usually hosts the application & servers the user requests.
Admin Server” & “Managed Servers” all have physical presence. They can be seen on the unix server as processes.
A Domain is just logical group of Admin Server & Managed server + Files related to them.
If a Domain has only one server, it is called Admin Server. In such case, application will be hosted on this admin server.