SlideShare ist ein Scribd-Unternehmen logo
1 von 41
weblogic 11g admin
      Introduction
      Installation of weblogic 11g
      Creation and configuration of Admin server with three managed server
      Creation of And Configuring Machines in Weblogic Server
      Administering Managed Server With Node Manager




Introduction

What is Oracle Weblogic 11g ?

       Oracle WebLogic Server 11g is a component of Oracle Fusion Middleware 11g,

       which consists of several Oracle products that span

          o   business intelligence,
          o   collaboration tools,
          o   content management,
          o   and integration services.



       The underlying application server supporting these middleware applications

       is Oracle WebLogic Server 11g.



       Products such as Oracle SOA Suite and Oracle Fusion applications

       rely on Oracle WebLogic Server 11g to run their code



       3 products as part of the Oracle WebLogic Server 11g family:

       Oracle WebLogic Server Standard Edition (SE)

              full-featured server, but is mainly intended for developers

              to develop enterprise applications quickly.
WebLogic Server SE implements all the Java EE standards

              and offers management capabilities through the Administration Console.



      Oracle WebLogic Server Enterprise Edition (EE)

      Oracle WebLogic Server EE is designed for mission-critical

      applications that require high availability and

      advanced diagnostic capabilities.

              EE version=SE version+ clustering +various diagnostic tools.



      Oracle WebLogic Suite

      Oracle WebLogic Suite offers support for dynamic

      scale-out applications with features such as



      Oracle WebLogic Suite=EE version +

              in-memory data grid technology + comprehensive management capabilities.



      It consists of the following components

                    Oracle WebLogic Server EE
                    Oracle Coherence (provides in-memory caching)
                    Oracle Top Link (provides persistence functionality)
                    Oracle JRockit (for low-latency, high-throughput transactions)



Now lets discuss some common termnologies relation to oracle weblogic

             WL server
             Admin server
             Managed Server
             Cluster
what is Weblogic Server means?

      Note that Weblogic server and Weblogic Server instance is one and the same thing !



      WebLogic Server Instance

             It is JVM process that runs the Java code.



      The instance is the actively working component, receiving client

       requests and sending them on to the appropriate components,

      and sending the processed requests back to the originating clients.



       The server instance manages the resources necessary for applications,

      such as the JTA and JDBC services, to function.



      In each domain, one instance serves as the Administration Server, which

      is your primary means of managing the domain.



       The rest of the WebLogic Server instances are called Managed Servers.



      If you have a domain with just one WebLogic Server instance,

      as is the common case in a development environment,

      the single server instance functions as both the managed server and admin server




      WebLogic Server Domain

             A WL server domain is a set of WebLogic Server instances

      that you manage with the Administration Server (Also an WL instance)
Why to create an domain?



Ease of admin

       Configuration done on domain applied on each managed server ...no need to

       configure managed server separatly...



Each domain has one and only one Admin Server which is

used to configure all the managed server




A domain lets you easily deploy applications across multiple WebLogic

Server instances located on heterogeneous servers and multiple networks,

with varying physical and network descriptions.



Administering a domain makes it easy for you to configure

high availability with the help of multiple WebLogic Server

instances and administer various services spread across heterogeneous host servers



What domain includes?

1 admin server

N managed server

Application components that we deploy

Services required by the all managed server
Domain=1 Admin server

              +

              N managed servers(including those configured into WebLogic clusters)

              +

              machines (servers)

              +

              and all the services necessary to run your applications.




How Admin and Managed server related?



Each Managed Server has local copy of its domain configuration.



Upon startup, it synchronizes its configuration with the Admin Server.



Similarly, when you make domain configuration changes on the Admin Server,

those changes are propagated to the Managed Server’s configuration.



Administration Server

Remember server is an instace of WL server that run in its own JVM



Now Admin server is an special instance of WebLogic Server designed

for managing the domain rather than running applications.

There is a one-to-one relationship between domains and the Admin Server

       an Admin Server belonging to Domain A can’t manage Domain B managed server
Not WE CAN DEPLOY USE APPLICATION ON ADMIN SERVER

IT MUST BE AVOIDED ON PRODUCTION SYSTEM ENVIRONMENT

OK FOR DEVELOPMENT ENVERIONMENT



What is admin consol?



The Admin Server hosts the Administration Console,

which is a web application front end used for configuring, monitoring,

and managing a domain.



You can access the Administration Console with any

supported browser that can access the Admin Server.



All WebLogic system administration tools and

APIs interact with the Admin Server.



Managed Server

A Managed Server hosts your Java EE applications, as well as all related

resources and services such as Java Database Connectivity (JDBC)

connection pools and data sources, Java Transaction API (JTA)

transaction services, and Java Messaging Service (JMS) connection

factories that are necessary to support application deployments.
*Any additional servers you create after

       the creation of the default Admin Server are Managed Servers.



       *The Managed Server contacts the Admin Server, only when you start it up,

       to get the configuration and deployment settings.



               thats why we should always start up the Admin Server

               before you start a Managed Server.



               Once a Managed Server starts running, it operates

               completely independent of the Admin Server.



       Note:

               In Managed Server Independence (MSI) mode we can

               even run an Managed server without starting admin server



WebLogic Server Cluster ?

first need to understand clustering?




       WL server cluster?

               group of WebLogic Server instances consisting of multiple

               Managed Servers that run simultaneously with

               same configuration and same application is deployed?



       clustered application response to http server through a load balancer
Load balancer?

            third party plugin...

     Why?

            To increase reliability and scalability through load distribution and high availability.



     The load balancer handles the HTTP requests after the requests

     pass through a firewall.



     Cluster members pass replicated copies of objects such as HTTP

     sessions among themselves to provide the failover capability for the cluster.

     Each domain consist of own set of resources such as jdbc ,jta, jms that is

     not shared among other domains.......



Node Manager?

     The Node Manager is an optional process that runs

     on a machine and manages the availability of all servers

     that run on that machine.

      Node Managers help you remotely start, stop,

      suspend, and restart Managed Servers.



Machine?

     PC



     What is the context of machine in world of WL server?



     A machine is logical representation of the computer that hosts

     one or more WebLogic Server instances (servers).
A machine could be a physical or virtual server

that hosts an Admin or Managed Server that belongs to a domain.




We must define a machine first if you want the Admin Server to

use the Node Manager service to monitor, start,

and stop the Managed Servers running on a server.




In a sense, a machine in a WebLogic Server environment is more or

less equivalent to an instance of a Node Manager

and this is essentially the concept that a machine represents.



WebLogic clusters make use of the machines you define in

order to decide the optimal way to replicate session data on

a different server that is part of a cluster.
Installation of WL 11g



Installation options

              1. graphical mode

                       which is an interactive mode.

              2. The console mode

                       interactive mode, but is run from the command line.

              3. The silent mode

                       noninteractive mode of installation,

                       where you can use a script or a text file

                       when you need to install WebLogic Server on many hosts.



              We choose option 1 ie. graphical option simple...



              *Download Oracle WebLogic Server 11gR1 (10.3.4) + Coherence + OEPE - Package Installer

              from oracle site.



              Zip installation (small size) but only for development purpose

              Need jrocket jdk seperatly

              need Derby seperatly



              *Double click



              *Welcome screen =====> choose middleware directory(keep default)

                       ====>disable registration



                       ======>installation type custom (we want sample example)
======>check Server Example from the list



                     next...next ...next ...




                     Don't Run Quickstart check Now..



Exploring what has been installed?

*********************************
Exploring the Installation Directories

********************************************
Exploring WebLogic Server Home directory
WebLogic Server Domain Directory




Oracle recommends that you start working with the wl_server domain to
understand the basics of Java EE programming and Oracle WebLogic Server.


 it’s a good idea to check out the Avitek Medical Records and the
Avitek Medical Records (Spring) sample applications.
Both of these present you a realistic example of how to develop
and deploy full-blown Java EE applications.


The two applications also serve as great learning tools for
Java EE developers as well as for WebLogic Server administrators
who wish to understand application deployment concepts



Now starting example server ie admin server for wl_server domain




it start server and dbderby database in seperate console...


check admin console.....
login with UserName: weblogic
              Password: welcome1




Stopping admin server




click stopWeblogic.cmd......
Navigating the Administration Console
open weblogic server admin again...
How?
click startweblogic.cmd....
then login..




Now focus highlighted area...
click server to see confugred server, at this moment only one ie exampleServer(admin)
creating /deleting WL server domain



creating wl server domain



We are going to create one admin server and two managed server

1 admin server

N managed server

go to C:OracleMiddlewarewlserver_10.3commonbin

that contain tools/script to create domain

run config.exe

config wizard pops up...




click next...
choose next...




select an suitable domain name and next....
provide name and password
eg name: weblogic
password: welcome1


click next.......




choose production mode....
Say next.....
click ok...it will create domain.
check directory structure where it create domain.




click start WebLogic.cmd
console start up ..provide un and pw used during installation
http://localhost:7001/console/login/LoginForm.jsp


login screen open ..provide un and pw again.
Now how to delete WL domain
--------------------------------------
Just delete directory where it is installed, no need to uninstalled it.


Also change:
One configuration file where i need to delete entery for WL domain




we just need to delete entry form nodemanager.domains




and that's all domain is deleted...
Now we have two managed server ie rg_ms1 and rg_ms2


lets now configure them


managed server actually host jee applications, ws, have confugraiton of jdbc,jms and jta
resources...while admin conf for management only.


Now under rg_domain i am going to configuration of managed server ie rg_ms1 and rg_ms2
different way to configure managed server in WL
Go to home page--->




Now we can set configuration setting for rg_ms1
click lock and edit button, we obtain an lock on the editiable connection of mbean.
changes donot effect immedetly ...
Now do some R&D lets say changing SSL listnen port to 7004, click save.




Do same with rg_ms2


We can also create managed server now
lets say rg_ms3...do same with it...
now click view changes and restart for summery of changes done...
then activate all changes if all is ok


May /May not need to restart server...


How to manages machine in domain?
Now we have one admin server rg_domain
and three managed server rg_ms1,rg_ms2 and rg_ms3
What is machine?
computer that host wl server instance.


Why we must have configuration of machine?
To understand it lets consider following diagram:




As shown in fig we have configure an domain on two machine(two physical machines)
with one admin server and three managed server in an cluster
now if serverA is down then due to machine failure then it is sure that serverB would also be
down
so if serverC is not configred on seperate machine how we ensure avability of application to
our client?


Session migration form serverA to serverB is useless in case of machine1 failure....


What is WL sever...nothing but JVM process running in our system.


Now lets see how to configure machine on WL server
go to home===>choose machine from left pan======>




Now create new machines
create another machine rg_mach2




Now we have created two machines rg_mach1 and rg_mach2


Now we need to configruation of these machines
=========================================
Now we want to assigned managed server lets say rg_ms1 to rg_mach1 and rg_ms2 and
mg_ms3 to rg_mach2


Now start configuration for rg_mach1
Assigning servers to this machine.....click srevers




assigned rg_ms1 to machine1 as planned.
click finished.


SImlarly configure machine 2 with rg_ms1 and rg_ms2
So finally all changes done...
Admin managed server with the help of Node manager
==============================================
What is node manager?
configuration ?
how to use it to configure manged server?


We have 3 managed server with two machines configured in last excercise


Now We will create two node manager for two machines


What is an node manager
====================
seperate process that can be used to remotely start WL server instance ....
It is not associated with any particular domain
Why we need it
-------------------
         to use admin console to start servers
         Automatic server migration (more latter.....)


Two version of Node manager
-----------------------------------------
         Java based
         Script based: only available for Unix
Node manager must be configure on each machine for management purpose




Now steps to create node manager for each machine
-----------------------------------------------------------------------------




select rg_mach1 ---> then click node manager....
for second Node manager change port to 5557 to avoid conflict
Activate changes


Now We configure node manager


Go to C:OracleMiddlewarewlserver_10.3commonbin
and run wlst.cmd
So it start WLS in offline mode (two modes: offline and online )
Using this tools i can configure Node manager..........


Now run command
connect('weblogic','welcome','t3//localhost:7001')
Now give command:




nmEnroll('C:/Oracle/Middleware/user_projects/domains/rg_domain',
'C:/Oracle/Middleware/wlserver_10.3/common/nodemanager')




nmEnroll(domain_home, nodeManager_home) where domain_home is the root of your domain
and nodemanager home is where your running the nodemanager from.




Running nmEnroll() ensures that the correct Node Manager user and password token are
supplied to each Managed Server. Once these are available for each Managed Server, you can
use nmConnect() in a production environment.


Now we have successful enrol machine with domain directory
Now we need to add classpath to each managed server.............


CLASSPATH=C:OracleMIDDLE~1patch_wls1035profilesdefaultsys_manifest_classpa
thweblogic_patch.jar;C:OracleMIDDLE~1patch_oepe172profilesdefaultsys_mani
fest_classpathweblogic_patch.jar;C:OracleMIDDLE~1patch_ocp360profilesdefau
ltsys_manifest_classpathweblogic_patch.jar;C:OracleMIDDLE~1patch_adfr1111p
rofilesdefaultsys_manifest_classpathweblogic_patch.jar;C:OracleMIDDLE~1JDK
160~1libtools.jar;C:OracleMIDDLE~1WLSERV~1.3serverlibweblogic_sp.jar;C:
OracleMIDDLE~1WLSERV~1.3serverlibweblogic.jar;C:OracleMIDDLE~1modulesfe
aturesweblogic.server.modules_10.3.5.0.jar;C:OracleMIDDLE~1WLSERV~1.3server
libwebservices.jar;C:OracleMIDDLE~1modulesORGAPA~1.1/lib/ant-all.jar;C:Or
acleMIDDLE~1modulesNETSFA~1.0_1/lib/ant-contrib.jar;.;;C:OracleMIDDLE~1uti
lsconfig10.3config-launch.jar;C:OracleMIDDLE~1WLSERV~1.3commonderbylib
derbynet.jar;C:OracleMIDDLE~1WLSERV~1.3commonderbylibderbyclient.jar;C:O
racleMIDDLE~1WLSERV~1.3commonderbylibderbytools.jar;;




Now we have to start each managed server......


go to ......
C:OracleMiddlewareuser_projectsdomainsrg_domainbin
and run


startManagedWebLogic.cmd




Now we need to provide requested informations
startManagedWebLogic.cmd rg_ms1 http://localhost:7001




Enter un and pw that used while installation of Admin server..........


managed server started....do similarly for other managed server.


startManagedWebLogic.cmd rg_ms2 http://localhost:7001
startManagedWebLogic.cmd rg_ms3 http://localhost:7001
Now Question is how to use node manager to start managed server from web console

Now force shut down all the managed server , we will start them using node manager.

Now shutting down rg_ms3

Click rg_ms3




Then click control
Choose force shut down




Do it for all managed server one by one……..



Now open an new console to start Node manager so that we use it to control managed servers.

Go to
C:OracleMiddlewarewlserver_10.3serverbin




And run startNodeManger.cmd

Now start another node manager for rg_ms2 and rg_ms3

Open new console …repeat same procedure
Now try to start managed server from web console.




And finally started message appear.

Weitere ähnliche Inhalte

Was ist angesagt?

Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application serverAnuj Tomar
 
weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseNancy Thomas
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration ISachin Kumar
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningMichel Schildmeijer
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cOracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cfrankmunz
 
An introduction to weblogic console
An introduction to weblogic consoleAn introduction to weblogic console
An introduction to weblogic consolebispsolutions
 
WebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationWebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationSimon Haslam
 
weblogic perfomence tuning
weblogic perfomence tuningweblogic perfomence tuning
weblogic perfomence tuningprathap kumar
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configurationAditya Bhuyan
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOpsFrank Munz
 
JBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionJBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionDimitris Andreadis
 
Changes in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must KnowChanges in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must KnowBruno Borges
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionJames Bayer
 

Was ist angesagt? (20)

Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server course
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
Oracle WebLogic 11g Topology
Oracle WebLogic 11g TopologyOracle WebLogic 11g Topology
Oracle WebLogic 11g Topology
 
Weblogic
WeblogicWeblogic
Weblogic
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cOracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
 
WLS
WLSWLS
WLS
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
 
An introduction to weblogic console
An introduction to weblogic consoleAn introduction to weblogic console
An introduction to weblogic console
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
 
WebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationWebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL Configuration
 
Introduction to weblogic
Introduction to weblogicIntroduction to weblogic
Introduction to weblogic
 
weblogic perfomence tuning
weblogic perfomence tuningweblogic perfomence tuning
weblogic perfomence tuning
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
 
WLST
WLSTWLST
WLST
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
 
JBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionJBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the Union
 
Changes in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must KnowChanges in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must Know
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
 

Ähnlich wie Weblogic 11g admin basic with screencast

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developersMeng He
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dbaOsama Mustafa
 
WebLogic for DBAs 1.0h
WebLogic for DBAs 1.0hWebLogic for DBAs 1.0h
WebLogic for DBAs 1.0hSimon Haslam
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Weblogic Cluster Domain
Weblogic Cluster DomainWeblogic Cluster Domain
Weblogic Cluster DomainAditya Bhuyan
 
Embedding Oracle Weblogic Server 1871199
Embedding Oracle Weblogic Server 1871199Embedding Oracle Weblogic Server 1871199
Embedding Oracle Weblogic Server 1871199cwspeaks
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for WindowsCognizant
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows webservicesm
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questionspraveen_guda
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationGokhan Fazli Celik
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptKalsoomTahir2
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1Д. Ганаа
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02kishore2526
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)slire
 
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECWEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECncodeit123
 
Web sphere liberty2
Web sphere liberty2Web sphere liberty2
Web sphere liberty2JyothirmaiG4
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setupdhrubo kayal
 

Ähnlich wie Weblogic 11g admin basic with screencast (20)

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
WebLogic for DBAs 1.0h
WebLogic for DBAs 1.0hWebLogic for DBAs 1.0h
WebLogic for DBAs 1.0h
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Weblogic Cluster Domain
Weblogic Cluster DomainWeblogic Cluster Domain
Weblogic Cluster Domain
 
Weblogic domain
Weblogic domainWeblogic domain
Weblogic domain
 
Embedding Oracle Weblogic Server 1871199
Embedding Oracle Weblogic Server 1871199Embedding Oracle Weblogic Server 1871199
Embedding Oracle Weblogic Server 1871199
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
Weblogicserveroverviewtopologyconfigurationadministration
 
Weblogic Oracle server aplication - Neos
Weblogic Oracle server aplication - NeosWeblogic Oracle server aplication - Neos
Weblogic Oracle server aplication - Neos
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECWEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
 
Web sphere liberty2
Web sphere liberty2Web sphere liberty2
Web sphere liberty2
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
 

Mehr von Rajiv Gupta

Spring5 hibernate5 security5 lab step by step
Spring5 hibernate5 security5 lab step by stepSpring5 hibernate5 security5 lab step by step
Spring5 hibernate5 security5 lab step by stepRajiv Gupta
 
GOF Design pattern with java
GOF Design pattern with javaGOF Design pattern with java
GOF Design pattern with javaRajiv Gupta
 
1. java script language fundamentals
1. java script language fundamentals1. java script language fundamentals
1. java script language fundamentalsRajiv Gupta
 
Introduction to jsf2
Introduction to jsf2Introduction to jsf2
Introduction to jsf2Rajiv Gupta
 
Lab work servlets and jsp
Lab work servlets and jspLab work servlets and jsp
Lab work servlets and jspRajiv Gupta
 
Spring aop with aspect j
Spring aop with aspect jSpring aop with aspect j
Spring aop with aspect jRajiv Gupta
 
Spring 3.0 dependancy injection
Spring 3.0 dependancy injectionSpring 3.0 dependancy injection
Spring 3.0 dependancy injectionRajiv Gupta
 
Java spring framework
Java spring frameworkJava spring framework
Java spring frameworkRajiv Gupta
 
Java Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jJava Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jRajiv Gupta
 
Advance C++notes
Advance C++notesAdvance C++notes
Advance C++notesRajiv Gupta
 
Core java 5 days workshop stuff
Core java 5 days workshop stuffCore java 5 days workshop stuff
Core java 5 days workshop stuffRajiv Gupta
 

Mehr von Rajiv Gupta (18)

Spring5 hibernate5 security5 lab step by step
Spring5 hibernate5 security5 lab step by stepSpring5 hibernate5 security5 lab step by step
Spring5 hibernate5 security5 lab step by step
 
GOF Design pattern with java
GOF Design pattern with javaGOF Design pattern with java
GOF Design pattern with java
 
1. java script language fundamentals
1. java script language fundamentals1. java script language fundamentals
1. java script language fundamentals
 
Introduction to jsf2
Introduction to jsf2Introduction to jsf2
Introduction to jsf2
 
Hibernate 3
Hibernate 3Hibernate 3
Hibernate 3
 
Struts2
Struts2Struts2
Struts2
 
jsf2 Notes
jsf2 Notesjsf2 Notes
jsf2 Notes
 
Java 7
Java 7Java 7
Java 7
 
Struts2 notes
Struts2 notesStruts2 notes
Struts2 notes
 
Lab work servlets and jsp
Lab work servlets and jspLab work servlets and jsp
Lab work servlets and jsp
 
Java Servlet
Java Servlet Java Servlet
Java Servlet
 
Spring aop with aspect j
Spring aop with aspect jSpring aop with aspect j
Spring aop with aspect j
 
Spring 3.0 dependancy injection
Spring 3.0 dependancy injectionSpring 3.0 dependancy injection
Spring 3.0 dependancy injection
 
Java spring framework
Java spring frameworkJava spring framework
Java spring framework
 
Jsp Notes
Jsp NotesJsp Notes
Jsp Notes
 
Java Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jJava Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4j
 
Advance C++notes
Advance C++notesAdvance C++notes
Advance C++notes
 
Core java 5 days workshop stuff
Core java 5 days workshop stuffCore java 5 days workshop stuff
Core java 5 days workshop stuff
 

Kürzlich hochgeladen

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

Weblogic 11g admin basic with screencast

  • 1. weblogic 11g admin  Introduction  Installation of weblogic 11g  Creation and configuration of Admin server with three managed server  Creation of And Configuring Machines in Weblogic Server  Administering Managed Server With Node Manager Introduction What is Oracle Weblogic 11g ? Oracle WebLogic Server 11g is a component of Oracle Fusion Middleware 11g, which consists of several Oracle products that span o business intelligence, o collaboration tools, o content management, o and integration services. The underlying application server supporting these middleware applications is Oracle WebLogic Server 11g. Products such as Oracle SOA Suite and Oracle Fusion applications rely on Oracle WebLogic Server 11g to run their code 3 products as part of the Oracle WebLogic Server 11g family: Oracle WebLogic Server Standard Edition (SE) full-featured server, but is mainly intended for developers to develop enterprise applications quickly.
  • 2. WebLogic Server SE implements all the Java EE standards and offers management capabilities through the Administration Console. Oracle WebLogic Server Enterprise Edition (EE) Oracle WebLogic Server EE is designed for mission-critical applications that require high availability and advanced diagnostic capabilities. EE version=SE version+ clustering +various diagnostic tools. Oracle WebLogic Suite Oracle WebLogic Suite offers support for dynamic scale-out applications with features such as Oracle WebLogic Suite=EE version + in-memory data grid technology + comprehensive management capabilities. It consists of the following components  Oracle WebLogic Server EE  Oracle Coherence (provides in-memory caching)  Oracle Top Link (provides persistence functionality)  Oracle JRockit (for low-latency, high-throughput transactions) Now lets discuss some common termnologies relation to oracle weblogic  WL server  Admin server  Managed Server  Cluster
  • 3. what is Weblogic Server means? Note that Weblogic server and Weblogic Server instance is one and the same thing ! WebLogic Server Instance It is JVM process that runs the Java code. The instance is the actively working component, receiving client requests and sending them on to the appropriate components, and sending the processed requests back to the originating clients. The server instance manages the resources necessary for applications, such as the JTA and JDBC services, to function. In each domain, one instance serves as the Administration Server, which is your primary means of managing the domain. The rest of the WebLogic Server instances are called Managed Servers. If you have a domain with just one WebLogic Server instance, as is the common case in a development environment, the single server instance functions as both the managed server and admin server WebLogic Server Domain A WL server domain is a set of WebLogic Server instances that you manage with the Administration Server (Also an WL instance)
  • 4. Why to create an domain? Ease of admin Configuration done on domain applied on each managed server ...no need to configure managed server separatly... Each domain has one and only one Admin Server which is used to configure all the managed server A domain lets you easily deploy applications across multiple WebLogic Server instances located on heterogeneous servers and multiple networks, with varying physical and network descriptions. Administering a domain makes it easy for you to configure high availability with the help of multiple WebLogic Server instances and administer various services spread across heterogeneous host servers What domain includes? 1 admin server N managed server Application components that we deploy Services required by the all managed server
  • 5. Domain=1 Admin server + N managed servers(including those configured into WebLogic clusters) + machines (servers) + and all the services necessary to run your applications. How Admin and Managed server related? Each Managed Server has local copy of its domain configuration. Upon startup, it synchronizes its configuration with the Admin Server. Similarly, when you make domain configuration changes on the Admin Server, those changes are propagated to the Managed Server’s configuration. Administration Server Remember server is an instace of WL server that run in its own JVM Now Admin server is an special instance of WebLogic Server designed for managing the domain rather than running applications. There is a one-to-one relationship between domains and the Admin Server an Admin Server belonging to Domain A can’t manage Domain B managed server
  • 6. Not WE CAN DEPLOY USE APPLICATION ON ADMIN SERVER IT MUST BE AVOIDED ON PRODUCTION SYSTEM ENVIRONMENT OK FOR DEVELOPMENT ENVERIONMENT What is admin consol? The Admin Server hosts the Administration Console, which is a web application front end used for configuring, monitoring, and managing a domain. You can access the Administration Console with any supported browser that can access the Admin Server. All WebLogic system administration tools and APIs interact with the Admin Server. Managed Server A Managed Server hosts your Java EE applications, as well as all related resources and services such as Java Database Connectivity (JDBC) connection pools and data sources, Java Transaction API (JTA) transaction services, and Java Messaging Service (JMS) connection factories that are necessary to support application deployments.
  • 7. *Any additional servers you create after the creation of the default Admin Server are Managed Servers. *The Managed Server contacts the Admin Server, only when you start it up, to get the configuration and deployment settings. thats why we should always start up the Admin Server before you start a Managed Server. Once a Managed Server starts running, it operates completely independent of the Admin Server. Note: In Managed Server Independence (MSI) mode we can even run an Managed server without starting admin server WebLogic Server Cluster ? first need to understand clustering? WL server cluster? group of WebLogic Server instances consisting of multiple Managed Servers that run simultaneously with same configuration and same application is deployed? clustered application response to http server through a load balancer
  • 8. Load balancer? third party plugin... Why? To increase reliability and scalability through load distribution and high availability. The load balancer handles the HTTP requests after the requests pass through a firewall. Cluster members pass replicated copies of objects such as HTTP sessions among themselves to provide the failover capability for the cluster. Each domain consist of own set of resources such as jdbc ,jta, jms that is not shared among other domains....... Node Manager? The Node Manager is an optional process that runs on a machine and manages the availability of all servers that run on that machine. Node Managers help you remotely start, stop, suspend, and restart Managed Servers. Machine? PC What is the context of machine in world of WL server? A machine is logical representation of the computer that hosts one or more WebLogic Server instances (servers).
  • 9. A machine could be a physical or virtual server that hosts an Admin or Managed Server that belongs to a domain. We must define a machine first if you want the Admin Server to use the Node Manager service to monitor, start, and stop the Managed Servers running on a server. In a sense, a machine in a WebLogic Server environment is more or less equivalent to an instance of a Node Manager and this is essentially the concept that a machine represents. WebLogic clusters make use of the machines you define in order to decide the optimal way to replicate session data on a different server that is part of a cluster.
  • 10. Installation of WL 11g Installation options 1. graphical mode which is an interactive mode. 2. The console mode interactive mode, but is run from the command line. 3. The silent mode noninteractive mode of installation, where you can use a script or a text file when you need to install WebLogic Server on many hosts. We choose option 1 ie. graphical option simple... *Download Oracle WebLogic Server 11gR1 (10.3.4) + Coherence + OEPE - Package Installer from oracle site. Zip installation (small size) but only for development purpose Need jrocket jdk seperatly need Derby seperatly *Double click *Welcome screen =====> choose middleware directory(keep default) ====>disable registration ======>installation type custom (we want sample example)
  • 11. ======>check Server Example from the list next...next ...next ... Don't Run Quickstart check Now.. Exploring what has been installed? *********************************
  • 12. Exploring the Installation Directories ********************************************
  • 13. Exploring WebLogic Server Home directory
  • 14. WebLogic Server Domain Directory Oracle recommends that you start working with the wl_server domain to understand the basics of Java EE programming and Oracle WebLogic Server. it’s a good idea to check out the Avitek Medical Records and the Avitek Medical Records (Spring) sample applications.
  • 15. Both of these present you a realistic example of how to develop and deploy full-blown Java EE applications. The two applications also serve as great learning tools for Java EE developers as well as for WebLogic Server administrators who wish to understand application deployment concepts Now starting example server ie admin server for wl_server domain it start server and dbderby database in seperate console... check admin console.....
  • 16. login with UserName: weblogic Password: welcome1 Stopping admin server click stopWeblogic.cmd......
  • 17. Navigating the Administration Console open weblogic server admin again... How? click startweblogic.cmd.... then login.. Now focus highlighted area... click server to see confugred server, at this moment only one ie exampleServer(admin)
  • 18. creating /deleting WL server domain creating wl server domain We are going to create one admin server and two managed server 1 admin server N managed server go to C:OracleMiddlewarewlserver_10.3commonbin that contain tools/script to create domain run config.exe config wizard pops up... click next...
  • 19. choose next... select an suitable domain name and next....
  • 20. provide name and password eg name: weblogic password: welcome1 click next....... choose production mode....
  • 22. click ok...it will create domain. check directory structure where it create domain. click start WebLogic.cmd
  • 23. console start up ..provide un and pw used during installation http://localhost:7001/console/login/LoginForm.jsp login screen open ..provide un and pw again.
  • 24. Now how to delete WL domain -------------------------------------- Just delete directory where it is installed, no need to uninstalled it. Also change: One configuration file where i need to delete entery for WL domain we just need to delete entry form nodemanager.domains and that's all domain is deleted...
  • 25. Now we have two managed server ie rg_ms1 and rg_ms2 lets now configure them managed server actually host jee applications, ws, have confugraiton of jdbc,jms and jta resources...while admin conf for management only. Now under rg_domain i am going to configuration of managed server ie rg_ms1 and rg_ms2 different way to configure managed server in WL Go to home page---> Now we can set configuration setting for rg_ms1
  • 26. click lock and edit button, we obtain an lock on the editiable connection of mbean. changes donot effect immedetly ... Now do some R&D lets say changing SSL listnen port to 7004, click save. Do same with rg_ms2 We can also create managed server now lets say rg_ms3...do same with it...
  • 27. now click view changes and restart for summery of changes done... then activate all changes if all is ok May /May not need to restart server... How to manages machine in domain? Now we have one admin server rg_domain and three managed server rg_ms1,rg_ms2 and rg_ms3 What is machine? computer that host wl server instance. Why we must have configuration of machine? To understand it lets consider following diagram: As shown in fig we have configure an domain on two machine(two physical machines)
  • 28. with one admin server and three managed server in an cluster now if serverA is down then due to machine failure then it is sure that serverB would also be down so if serverC is not configred on seperate machine how we ensure avability of application to our client? Session migration form serverA to serverB is useless in case of machine1 failure.... What is WL sever...nothing but JVM process running in our system. Now lets see how to configure machine on WL server go to home===>choose machine from left pan======> Now create new machines
  • 29. create another machine rg_mach2 Now we have created two machines rg_mach1 and rg_mach2 Now we need to configruation of these machines ========================================= Now we want to assigned managed server lets say rg_ms1 to rg_mach1 and rg_ms2 and mg_ms3 to rg_mach2 Now start configuration for rg_mach1
  • 30. Assigning servers to this machine.....click srevers assigned rg_ms1 to machine1 as planned. click finished. SImlarly configure machine 2 with rg_ms1 and rg_ms2
  • 31. So finally all changes done...
  • 32. Admin managed server with the help of Node manager ============================================== What is node manager? configuration ? how to use it to configure manged server? We have 3 managed server with two machines configured in last excercise Now We will create two node manager for two machines What is an node manager ==================== seperate process that can be used to remotely start WL server instance .... It is not associated with any particular domain Why we need it ------------------- to use admin console to start servers Automatic server migration (more latter.....) Two version of Node manager ----------------------------------------- Java based Script based: only available for Unix
  • 33. Node manager must be configure on each machine for management purpose Now steps to create node manager for each machine ----------------------------------------------------------------------------- select rg_mach1 ---> then click node manager....
  • 34. for second Node manager change port to 5557 to avoid conflict Activate changes Now We configure node manager Go to C:OracleMiddlewarewlserver_10.3commonbin and run wlst.cmd
  • 35. So it start WLS in offline mode (two modes: offline and online ) Using this tools i can configure Node manager.......... Now run command connect('weblogic','welcome','t3//localhost:7001')
  • 36. Now give command: nmEnroll('C:/Oracle/Middleware/user_projects/domains/rg_domain', 'C:/Oracle/Middleware/wlserver_10.3/common/nodemanager') nmEnroll(domain_home, nodeManager_home) where domain_home is the root of your domain and nodemanager home is where your running the nodemanager from. Running nmEnroll() ensures that the correct Node Manager user and password token are supplied to each Managed Server. Once these are available for each Managed Server, you can use nmConnect() in a production environment. Now we have successful enrol machine with domain directory Now we need to add classpath to each managed server............. CLASSPATH=C:OracleMIDDLE~1patch_wls1035profilesdefaultsys_manifest_classpa thweblogic_patch.jar;C:OracleMIDDLE~1patch_oepe172profilesdefaultsys_mani fest_classpathweblogic_patch.jar;C:OracleMIDDLE~1patch_ocp360profilesdefau ltsys_manifest_classpathweblogic_patch.jar;C:OracleMIDDLE~1patch_adfr1111p rofilesdefaultsys_manifest_classpathweblogic_patch.jar;C:OracleMIDDLE~1JDK 160~1libtools.jar;C:OracleMIDDLE~1WLSERV~1.3serverlibweblogic_sp.jar;C: OracleMIDDLE~1WLSERV~1.3serverlibweblogic.jar;C:OracleMIDDLE~1modulesfe aturesweblogic.server.modules_10.3.5.0.jar;C:OracleMIDDLE~1WLSERV~1.3server libwebservices.jar;C:OracleMIDDLE~1modulesORGAPA~1.1/lib/ant-all.jar;C:Or acleMIDDLE~1modulesNETSFA~1.0_1/lib/ant-contrib.jar;.;;C:OracleMIDDLE~1uti
  • 37. lsconfig10.3config-launch.jar;C:OracleMIDDLE~1WLSERV~1.3commonderbylib derbynet.jar;C:OracleMIDDLE~1WLSERV~1.3commonderbylibderbyclient.jar;C:O racleMIDDLE~1WLSERV~1.3commonderbylibderbytools.jar;; Now we have to start each managed server...... go to ...... C:OracleMiddlewareuser_projectsdomainsrg_domainbin and run startManagedWebLogic.cmd Now we need to provide requested informations
  • 38. startManagedWebLogic.cmd rg_ms1 http://localhost:7001 Enter un and pw that used while installation of Admin server.......... managed server started....do similarly for other managed server. startManagedWebLogic.cmd rg_ms2 http://localhost:7001 startManagedWebLogic.cmd rg_ms3 http://localhost:7001
  • 39. Now Question is how to use node manager to start managed server from web console Now force shut down all the managed server , we will start them using node manager. Now shutting down rg_ms3 Click rg_ms3 Then click control
  • 40. Choose force shut down Do it for all managed server one by one…….. Now open an new console to start Node manager so that we use it to control managed servers. Go to C:OracleMiddlewarewlserver_10.3serverbin And run startNodeManger.cmd Now start another node manager for rg_ms2 and rg_ms3 Open new console …repeat same procedure
  • 41. Now try to start managed server from web console. And finally started message appear.