Download presentation
Presentation is loading. Please wait.
Published byEmily Walker Modified over 8 years ago
1
Themabijeenkomst: WebLogic
2
Agenda 19:00 : Opening OGh session 19:00 - 19:45: Part 1 19:45 - 20:00: 20:00 - 21:00: Part 2 & Questions 21:00 : The End
3
Agenda Part 1 Historical overview J2EE Concepts WebLogic Domain Architecture The Node Manager
4
Agenda Part 2 JAVA Virtual Machine WebLogic resources: JDBC, JMS Administration Console & Enterprise manager console
5
Agenda Part 2 Monitoring tools WebLogic Server’s position in the Oracle FMW stack
6
Michel Schildmeijer Oracle Fusion Middleware Architect from Committed to ICT. Involved in people. From 1991 till now 85 colleagues HeadQuarters @ Nieuwegein Oracle Gold Partner
7
Application Server versions WebLogic Server 11gR3 (10.3.4) --> 01-2011 In 2008 oracle Acquired BEA (10.3) In 1998 BEA Acquired WebLogic WebLogic Tengah - Nov 1997 WebLogic 1.48 – 1995 ( founders developed also the 1 st JDBC Drivers) From the beginning till now…
8
From OC4J to WebLogic Oracle Containers for Java (OC4J). Oracle native J2EE server, based on HTTP (Apache) and OC4J Each OC4J was a JVM Last version of OC4J 10g was 10.1.3.5
9
From OC4J to WebLogic
10
J2EE Concepts
11
Distributed systems divide the work among several independent modules. The failure of a single module has less impact on the overall system, which makes the system more: o Available o Scalable Maintainable J2EE Concepts
12
Applications deployed with Java EE technologies are: o Standardized o Adherent to specification guidelines o Written in Java o Deployable in any compliant application server J2EE Concepts
14
Java Servlets Java Server Pages (JSP) Enterprise JavaBeans (EJB) Java Database Connectivity (JDBC) Java Naming and Directory Interface (JNDI) Java Transaction API (JTA) Java Message Service (JMS) J2EE Resources
15
Java Authentication and Authorization (JAAS) Java Management Extensions (JMX) Java EE Connector Architecture (JCA) J2EE Resources
16
WebLogic Domain concepts
17
17 WebLogic Domain concepts A logically related group of WebLogic Server instances that you manage from a single set of configuration artifacts. Is the basic administration unit for Oracle WebLogic Server Always includes one Oracle WebLogic Server instance configured as an administration server
18
18 WebLogic Domain concepts Could include optional Oracle WebLogic Server instances in a domain called managed servers Could also include clusters of server instances that work together
19
19 WebLogic Domain concepts WebLogic domain Cluster1 Cluster2 Managed server Admin server Managed server ………… Node Manager config.xm l File repository -JDBC -JMS -JTA -Adapters -Libraries -Apps -Security -JDBC -JMS -JTA -Adapters -Libraries -Apps -Security
20
20 WebLogic Domain concepts How to create a domain? Domain config utility \common\bin\config.cmd(sh) console mode using ‘–mode=‘ argument (default is GUI) Domain creation with scripting – WLST WLST stands for WebLogic Scripting Tool (Python bases scripting language)
21
21 Domain Directory Domain name Start and stop scripts Root configuration for the domain Configuration files for JDBC, JMS, and Security Pending configuration changes Subdirectory for each Managed Server in the domain
22
22 WebLogic Server Instances What is a WebLogic Server Instance? o A configured instance to host applications and resources Web Apps, Enterprise Apps, WebServices, … JMS, JDBC, Diagnostics, … What types of servers instances are there? o Administration Server o Managed Server
23
23 WebLogic Server instances Simple overview WebLogic Server Instance WebLogic Server Instance JNDI JMS Queue JDBC Pool Database
24
24 Administration Server instance Some facts Central configuration controller for the entire domain Hosts the Administration Console To start and stop servers from a central location Migrate servers and services within the domain Enables you to deploy applications within the domain Only one* Administration Server in domain
25
25 Administration Server instance Accessing the console http://hostname:7001/console http://hostname:7001/console https://hostname:7002/console SSL https://hostname:7002/console https://hostname:9002/console Administration Port enabled https://hostname:9002/console
26
26 Managed Server Instance Server instances other than the AdminServer are referred to as Managed Servers. Managed Servers host the components and associated resources for applications Each Managed Server is independent of all other Managed Servers in the domain Number can be unlimited
27
27 Managed Server Instance Individual Managed Servers are typically added for capacity and application isolation Two or more Managed Servers can be configured as a WebLogic Server cluster to increase application scalability and availability
28
28 WebLogic Server Cluster A cluster is a group of logical entities and other resources that act like a single system and enable high availability and, in some cases, load balancing and parallel processing Two or more Managed Servers can be configured as a WebLogic Server cluster to increase application scalability and availability
29
29 WebLogic Server Cluster A cluster is a group of logical entities and other resources that act like a single system and enable high availability and, in some cases, load balancing and parallel processing Two or more Managed Servers can be configured as a WebLogic Server cluster to increase application scalability and availability
30
30 WebLogic Server Cluster Basic Tier Cluster Domain Cluster server 1 Web container EJB container server 2 Web container EJB container Load balancer
31
31 Architecture Considerations Use the architecture for your needs AdminSer ver MS1 MS2 App2 App1 Application isolation
32
32 Architecture Considerations Domain 1 AdminSer ver MS1 MS2 App2 App1 Extreme Application isolation Domain 2 AdminSer ver MS1MS2 App4App3
33
33 Architecture Considerations AdminSer ver MS1 MS2 App1 Clustered Applications MS3MS4 App2 Cluster 2 Cluster 1 Domain
34
Java-based and Script-based To control server instances in any WebLogic Server domain, as long as the server instance IS on the same server as the Node Manager process. Not attached to a specific Domain but machine (A definition that identifies a particular, physical piece of hardware.) The Node manager
35
Optional, but required for manipulating servers in the AdminConsole Node Manager must run on each computer that hosts instances Use for crash recovery, remote stop and start The Node manager
36
Optional, but required for manipulating servers in the AdminConsole Node Manager must run on each computer that hosts instances Use for crash recovery, remote stop and start The Node manager
38
JAVA Virtual Machine JVM per O/S (Windows, Linux, Solaris, AIX)
39
JVM is a byte code interpreter JVM heap is the area of memory used by the JVM
40
Oracle WebLogic Server shipped with 2 JVM providers: Oracle recommends: o Sun for Development Mode o JRockit for Production Mode
41
JVM Providers (Sun, Bea/Oracle (JRockit) Runtime behaviour: o JVM runs as an OS process o Execute work through threading model (concurrency) o Garbage Collector Each Weblogic Server (instance) runs inside a separate JVM (instance). Same for the Node Manager process
42
WebLogic J2EE resources
43
The Java Database Connectivity (JDBC) specification: o Is a platform- and vendor-independent mechanism for accessing and updating a database o Provides transparency from proprietary vendor issues o Requires the use of a driver JDBC drivers are supplied by WebLogic Server or by your database vendor.
44
JDBC Connection pooling A set of cached database connections. The connections can be reused when future requests to the database are required. Connection pools are used to enhance performance WebLogic J2EE resources
46
API for creating, sending, receiving and reading distributed messages Supports o Peer 2 Peer or single consumer o Publish/Subscribe o Asynchronous or synchronous
47
Oracle WebLogic JMS supports: PTP and Publish/Subscribe Acknowledgement-based guaranteed delivery Transactional message delivery Distributed destinations Recovery from failed servers WebLogic J2EE resources
48
WLS JNDI Connection creates Creates connection Msg Destination QUEUE receives from sends to Connection Factory Destination QUEUE Message Consumer Session Message Producer creates JMS in action
49
WebLogic Consoles
52
1.Change Center 2.Navigation tree 3.Help Center 4.System Status 5.Work area 6.Breadcrumbs 7.Preferences 7 WebLogic Consoles
54
Access at http://host:port/emhttp://host:port/em Same host & port as WLS Admin Console Connect as weblogic Requires JRF/ ADF runtime
55
Status of Enterprise Manager FMW Enterprise Manager Console o ADF based application, deployed on WLS 11g Has a dependency on the JRF library Currently complements and may/will succeed WLS Admin in the longer run => it’s the future! Provides some operations not available in WLS Admin Console – especially regarding FMW products o Has more graphical, sometimes more functional interfaces for ‘core’ WLS administration operations including application deployment and MBean management
56
Monitor and Control Enterprise Manager provides an overview of and allows control over Managed Servers and Deployed Applications o Startup/Shutdown o Deploy, Redeploy and Undeploy
57
Comparing Admin Console & FMW EM WLS Admin Console All JEE constructs o Data Source, JMS, JavaMail, EJB, JMX, JTA, … Deploy Library Update Deployment o Apply Deployment Plan Security: manage realms, users, groups,.. JNDI Tree Cluster Management FMW Enterprise Manager GUI (with Web 2.0 Charts) o Farm & Topology View Deployment Wizard System MBean Browser Manage JDBC Data Source Manage WebServices & WebService Policies Manage Fusion Middleware: ADF, WebCenter, SOA Suite, Forms, Discoverer..
58
Other Tools
59
WLDF – WebLogic Diagnostic Framework collects, archive, and access diagnostic information.
60
Other Tools Application Logging and WebLogic Logging Services - logging services provide info about server and application events
61
Other Tools JVM Consoles: o JRockit Mission Control For JRockit JDK
62
Other Tools JVM Consoles: o Jconsole For Sun HotSpot JDK
63
Other Tools Oracle Enterprise Manager GridControl EM’s extended version
64
Oracle Fusion Middleware
66
BI EE WebCenter OSB SOA Suite UCM BPM ODI Coherence JDeveloper Discoverer Portal OER IdM Forms Hyperion EM Fusion Applications EBS JDE Siebel PeopleSoft
67
WebLogic Server 11g Forms Portal BI EE FMW Components WebLogic Server 11g SOA Suite 11g WebCenter Spaces UCM
68
For example: the SOA Suite 11g SOA Suite is the engine that runs applications that implement the WebServices o Inside the WebLogic Server application server SOA is installed on WLS, SOA applications are deployed on SOA Suite WebLogic Server 11g SOA Suite 11g WebServices SOA Infra
69
WebLogic Server 11g SOA Suite 11g SOA App 1SOA App 2 JDBC Data Sources JMS XA/JTA Database Adapter JMS Adapter File System Adapter WebServices Management Meta Data Services (MDS) User Messaging Service EJB Platform Security Services BPEL Mediator BPMN Human Task Business Rule Spring Java/EJB Event Delivery Network OSB SOA Suite 11g & WebLogic
70
SCA Domain (SOA Suite) SCA Domain (SOA Suite) Custom Application Email Server Mainframe SAP Oracle Service Bus Another example: Oracle Service Bus
72
Or…. michel.schildmeijer@amis.nl
73
Or…. http://nl.linkedin.com/in/mschldmr AMIS Blog:http://technology.amis.nl/blog/http://technology.amis.nl/blog/ mnemonic01
74
Or…. My Book, coming out in August 2011 https://www.packtpub.com/oracle-weblogic- server-11gr2-administration-essentials/book https://www.packtpub.com/oracle-weblogic- server-11gr2-administration-essentials/book
75
Or…. My Book, coming out in August 2011 https://www.packtpub.com/oracle-weblogic- server-11gr2-administration-essentials/book https://www.packtpub.com/oracle-weblogic- server-11gr2-administration-essentials/book
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.