Weblogic Administration 2015
Weblogic Administration 2015
Rakesh kumar
DAY 1
Agenda
Introduction
Types of servers
JDK Installation
Types of server
Game server, a server that video game clients connect to in order to play online together
Proxy server, acts as an intermediary for requests from clients seeking resources from
other servers
Web server, a server that HTTP clients connect to in order to send commands and receive
responses along with data contents
Web Server is designed to serve HTTP Content. App Server can also serve HTTP Content but is
not limited to just HTTP. It can be provided other protocol support such as RMI/RPC
Web Server is mostly designed to serve static content, though most Web Servers have
plugins to support scripting languages like Perl, PHP, ASP, JSP etc. through which these servers
can generate dynamic HTTP content.
Most of the application servers have Web Server as integral part of them, that means App
Server can do whatever Web Server is capable of. Additionally App Server have components and
features to support Application level services such as Connection Pooling, Object Pooling,
Transaction Support, Messaging services etc.
As web servers are well suited for static content and app servers for dynamic content, most of
the production environments have web server acting as reverse proxy to app server. That
means while servicing a page request, static contents (such as images/Static HTML) are served
by web server that interprets the request. Using some kind of filtering technique (mostly
extension of requested resource) web server identifies dynamic content request and
transparently forwards to app server
Example of such configuration is Apache Tomcat HTTP Server and Oracle (formerly BEA) WebLogic
Server. Apache Tomcat HTTP Server is Web Server and Oracle WebLogic is Application Server.
Architecture Types
1-Tier
2-Tier
3-Tier
N-tier
Redhat Jboss
IBM Websphere
Oracle Weblogic
Oracle Webcenter
Oracle Glassfish
Weblogic server
Up gradation of WebLogic servers in development, testing and production environment and applying
patch and service packs
Cluster Configuration Single Cluster, Multiple Clusters and Deployment over clusters
Server Performance Tuning - Thread Dump Analysis, Core Dump Analysis when Server crashed unevenly
JMS Configurations JMS Server, Connection Factory, Foreign JMS server, Message Bridge, Topic/Queue,
Distributed destinations
Creating security roles, group policy, user authentication, auditing and authorization
Node Manager Configuration remote managed server start and stop. SSL communication between admin
server and node manager
Tuning JVM heap size to maximize the number of clients accessing the applications.
All oracle products are built on top of the weblogic server. Below are the few
oracle products which are being widely used in the industry.
Oracle Webcenter
Oracle UCM
Oracle SOA
Weblogic server
Artifacts
JAR is java archive file. It contain all class file,image,sound and other files which will
needed in whole application. Computer users can create or extract JAR files using the jar
command that comes with the JDK. They can also use zip tools. The Java Archive (JAR) file
format enables you to bundle multiple files into a single archive file. jar was designed
mainly to facilitate the packaging of java applets or applications into a single archive.
EAR -An Enterprise Archive file represents a J2EE application that can be deployed in a Web
Sphere application server. EAR files are standard Java archive files and have the file
extension .ear. EAR file contain ejb, web or application client module. ear file is complete
j2ee application file that contain all(jar +war)
WAR -Web Archive (WAR) file is a Java archive file used to store jsp,servlets,classes,meta
data information, images and Sound and tag libraries etc. Its standard file extension is .war.
WAR files are used to package Web modules. A WAR file is for a Web application deployed to
a servlet/jsp engine.
For web applications, the deployment descriptor must be called web.xml and
must reside in the WEB-INF directory in the web application root. For Java EE
applications, the deployment descriptor must be named application.xml and
must be placed directly in the META-INF directory at the top level of the
application .ear file.
Download
Right-click on the My Computer icon on your desktop and then click Properties.
In the Variable value field, enter the installation path of the Java Development Kit.
Click OK.
UNIX
export JAVA_HOME=PATH
Download Weblogic
http://
www.oracle.com/technetwork/middleware/weblogic/downloads/index.html
GUI Mode
Console Mode
Silent Mode
Click Next.
Click Next
Click Next
Click Next
JDK Selection
Click Next
Click Next
Click Next
Click Next
Installation Summary
Click Next
Status
Click Next
Installation Complete
Click Next
Console-Mode installation
The console mode installer displays a series of text panels that correspond to
the windows in the graphical installer. To complete the console-mode
installation process, respond to the prompts in each panel by entering the
number associated with your choice or by pressing Enter to accept the
default. To exit the installation process, enter exit in response to any prompt.
To review or change your selection or to go back to a previous panel, enter
previous at the prompt.
Run:
platformXXX_win32 -mode=console -log=C:\logs\platform_install.log
Console-Mode installation
Console mode:
Console-Mode installation
Console-Mode installation
A new prompt will open and you may continue with the installation as follows:
Extracting .....................................................................
............................... Done
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Welcome:
-------This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt. If you want to change data
entered previously, type "Previous". You may quit the installer at any time by
typing "Exit".
Enter [Exit][Next]>Next
Console-Mode installation
Console-Mode installation
Console-Mode installation
Console-Mode installation
Console-Mode installation
Enter [Yes][No]? No
Console-Mode installation
Console-Mode installation
Console-Mode installation
Console-Mode installation
Choose
Install Type:
-------------------Select the type of installation you wish to perform.
->1Typical
Install the following product(s) and component(s):
- WebLogic Server
- Oracle Coherence
2Custom
Choose software products and components to install and perform optional
configuration.
Console-Mode installation
<--------------------
Console-Mode installation
<--------------------
Console-Mode installation
<--------------------
Console-Mode installation
<--------------------
Console-Mode installation
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Installing files..
0%
25%
50%
75%
100%
[------------|------------|------------|------------]
[***************************************************]
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Installing JDK....
0%
25%
50%
75%
100%
[------------|------------|------------|------------]
[***************************************************]
Performing String Substitutions...
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Configuring OCM...
0%
25%
50%
75%
100%
[------------|------------|------------|------------]
[***************************************************]
Console-Mode installation
Creating Domains...
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type [Exit]>
Finish installation. Press any key to close this window...
Silent.xml
Weblogic Domain
What Is a Domain?
Weblogic Domain
Contents of a Domain ?
In development mode...
In production mode...
SSL
Deploying Applications
Execute Queues
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 applicationsfor example, JSPs and
EJBs.
Weblogic Domain
Step4: Select JDK & Start Mode- In below screen, you define Mode in which
you wish tostart your domainand JDK (Sun, JRockit or any other JDK)
Production Mode- Domain ismore secure, You need username password to
startdomain or deploy application.
Development Mode-Not very secure, You can Autodeploy application and no
need to provide username/password to start Domain.
Thank You