Professional Documents
Culture Documents
Simon Haslam / Veriton WebLogic Server: a comparison with Oracle Application Server
Simon Haslam
Specialised consultant & Oracle Partner, established 13 years Demanding web & call-centre applications Architecture & development strategy; health-checks; disaster recovery; tuning Oracle Application Server (clusters, J2EE, ADF, SSO, OID, Reports, etc) Database & related technologies (Solaris/Linux, load balancers, firewalls, )
Veriton Limited
Northern Technology SIG 28th April 2009
1 (1.1w) 2 (1.1w)
Agenda
1. Architecture 2. Installation 3. Getting Started
OAS Terms
Farm (10.1.2)
one or more App Server instances
OC4J instances
(along side HTTP Server instance, OID instance, reports server instances)
For an OC4J instance (~config set) have one or more JVMs Cluster set up across several AS instances
3 (1.1w) 4 (1.1w)
WebLogic Terms
Domain
abstract level set of WL resources, e.g. instances app requests
Architecture
managed server
machine
Admin Server
Controls a domain (one per domain, with backup)
web server
managed server
node manager
Managed Server
An instance controlled by an Admin Server
admin console
admin server
Machine
Node Manager to manage WL servers
Clusters
can be set up across multiple Managed Servers domain
5 (1.1w) 6 (1.1w)
managed server
node
machine manager
Comparison of Terms
WebLogic Server Oracle Application Server
Installation
10g R3 has rebadged BEA installer BEA_HOME directory like the Oracle base except can only have one version of each product in it WL_HOME ~ ORACLE_HOME registry.xml ~ the Oracle Inventory beahomelist ~ oraInst.loc
domain
~farm
cluster contains several instances machine node manager server instance (one JVM) ~application server OPMN OC4J instance (one or several JVMs)
7 (1.1w)
8 (1.1w)
Running Installer
Graphical: Linux example
export DISPLAY chmod a+x server103_linux32.bin (if reqd) ./server103_linux32.bin
Installation Types
Complete
WLS, Workshop for WL, examples Sun JDK, JRockit JDK
Custom
9 (1.1w)
10 (1.1w)
Basic Pre-Requisites
Supported Platforms:
RH EL 4/5, OEL 4/5 Solaris 8/9/10 Windows 2003 etc
Installation
11 (1.1w)
12 (1.1w)
13 (1.1w)
14 (1.1w)
15 (1.1w)
16 (1.1w)
17 (1.1w)
18 (1.1w)
Comparison of Installers
WebLogic Server Oracle Application Server
19 (1.1w)
20 (1.1w)
Getting Started
Default WebLogic home page
http://<host>:7001 or (https: 7002)
Management
Admin Console WebLogic Scripting Tool (WLST)
can also record scripts from console
admin console:
http://<host>:7001/console
admin console:
http://<host>:1156 (10.1.2/4) http://<host>:7777/em (10.1.3) default username ias_admin/<password set during install>
21 (1.1w)
22 (1.1w)
Starting/Stopping Server
Various options: (+stop) using WLST to start server directly using WLST to use NM to start server weblogic.Server in a Java command
<domain>/bin/startWebLogic.sh
23 (1.1w)
24 (1.1w)
Node Manager
Start directly
$WL_HOME/server/bin/startNodeManager.sh
Configuring JDBC
Data sources
Use Oracle (i.e. third party) drivers
or using WLST
wls:/offline> startNodeManager()
25 (1.1w)
26 (1.1w)
Deploying Apps
Deploy as archive file or exploded Hot deployment: multiple versions within same server
compare to rolling upgrade of instances using mod_oc4j routing within an OAS cluster
27 (1.1w)
28 (1.1w)
Logging
See <domain>/logs/wl_server.log Also available in Admin Console
Odds n Ends
Oracle Guardian
Best Practice analyzer
Industry-leading clustering
not unusual to have large WLS server farms see Phil Astons session at next SIG (18th June)
29 (1.1w)
30 (1.1w)
Summary
WLS different but the same Installer offers similar capabilities to OAS Powerful WLST scripting environment Useful config. management features Clever deployment control WLS will be JEE server for OFM 11g
31 (1.1w)