SlideShare ist ein Scribd-Unternehmen logo
1 von 73
Downloaden Sie, um offline zu lesen
WebLogic	Server	12c:	
What	You	Should	Know
12	Things	about	Oracle	WebLogic	Server	12.2.1
OTN	APAC	/	LatAm Tour
Dr.	Frank	Munz
munz &	more
Dave	Cabelus
Oracle	WebLogic	Server	Product	Management
2016
Oracle	Confidential	– Internal/Restricted/Highly	RestrictedCopyright	©	2015,	Oracle	and/or	its	affiliates.	All	rights	reserved.		|
Who’s that guy?
• Dr. Frank Munz
• Founded munz & more in 2007
• 15 years Oracle WebLogic
and Middleware
• Consulting and
High-End Training
• Three Oracle / Cloud books
• @frankmunz on Twitter
2
13 new things,
still no agenda J
#0
... download today!
#1
JDK 8
JDK 8
• WebLogic 12.2.1 supports JDK 8 only as runtime
• Startup scripts work out of the box
(permspace is removed in JDK 8)
• JDK 8u40 introduces resource management
used by WebLogic multitenancy with G1 GC
java -XX:+UnlockCommercialFeatures
-XX:+ResourceManagement
munz & more #6
#2
Java EE 7
Java EE 7
Every developer wants to use it!
improved standards / already in 12.1.3 / major new
• EJB 3.2
• Servlet 3.1
• JDBC 4.0
• WebSockets, JAX-RS 2.0, JSON-P 1.0
• Batch 1.0
• JMS 2.0
• Concurrency Utilities 1.0
Tip: Learn about Java EE 7
http://de.slideshare.net/glassfish/f
ifty-feature-of
Java EE Recommendation
munz & more #9
#3
Download &
IDE Integration
Download
Dev Download with small 209 MB footprint:
IDE Support
munz & more #12
NetBeans 8.1 RC
/Dev Build works
with WebLogic
12.2.1
Eclipse net
(and package)
installer
-> easy OEPE
download &
install
JDeveloper
12.2.1
available for
OFM 12.2.1
NEW! wlserver/server/bin/eclipse.sh
#4
Console changes
J
Production Mode
You can revert production mode from console
munz & more #14
#5
Deployment
Parallel Deployment
WebLogic 12.2.1 provides parallel deployment
• Multiple applications
• Single application with multiple modules
• Applications across
multiple partitions
munz & more
Across	Modules	in	
Applications
Across	
Applications
Parallel
Prepare
Available in	
WebLogic	11g
New	in	
WebLogic 12.2.1
Parallel	
Activate
New	in	
WebLogic 12.2.1
New	in	
WebLogic 12.2.1
#6
Elastic Cluster
Elastic Cluster
WebLogic 12.1.2: Dynamic Cluster config
WebLogic 12.2.1: Elastic Cluster runtime
+ pre / post scaling
callout to scripts
munz & more #18
How to scale?
• Console
• WLST
• REST
• Policy/Action
• Calendar based
#7
JMS
JMS
• JMS 2.0 support
• Elastic JMS scales with elastic cluster
• Simplified HA Configuration:
WebLogic 12.2.1 JMS restrictions are removed
• Default CX-factory required per Java EE 7:
java:comp/DefaultJMSConnectionFactory
resolves to
weblogic.jms.XAConnectionFactory
munz & more #20
#8
WLST
New Command for Scaling
WLST command to scale dynamic cluster:
scaleUp/Down (
clusterName,
numServers,
[updateConfiguration],
[block],
[timeoutSeconds],
)
munz & more #22
How many servers to
add or remove
#9
WLDF
WLDF
• Watches and notifications
are replaced by policies and actions
• Additional 4 WLDF actions
– scale up / down
– REST
– Script
• Diagnostic image files are .txt or .xml
• Prepackaged smart rules with
configurable parameters
munz & more #24
munz & more #25
Smart
rules:
Predefined
policies
with open
parameters
#10
RESTful Management
Why REST?
• Simplicity
• Language agnostic
• No JVM on client side, no WebLogic <->JMX
• Easy to tunnel through firewalls: HTTP
• Current tech trend (eg. mobile dev)
munz & more #27
RESTful Management
• New generic WebLogic implementation:
Full support for all resources (also JMS etc.)
• RESTful management is turned on per default
• Available on admin and managed Servers
• Modelled after WLST structure
(real MBean names not required)
• Used throughout WebLogic documentation
munz & more #28
Tech Details 1
• domain|serverConfig,
domain|serverRuntime, edit
• [exclude]fields=field1, field2
• [exclude]links=none, links=rel
• interaction=async-polling|sync
munz & more #29
Tech Details 2
• URL format has changed:
…/wls/… was WebLogic 12.1.3, now:
/management/weblogic/latest/…
• Edit sessions implicit: POST in /edit
Or create manually with
/edit/changeManager/
startEdit|cancelEdit|activate
munz & more #30
CRUDQ
Read
Get server name and state of managed server
with name surf1 via admin server
GET (e.g. via web browser)
http://localhost:7001/management/weblogic/late
st
/domainRuntime/serverLifeCycleRuntimes/
surf1?links=none&fields=name,state
Response:
{ "name": "surf1", "state": "RUNNING" }
munz & more #32
Create
Short way to create server surf7, with UNIX curl
curl –v --user weblogic:welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-H Content-Type:application/json 
-d "{ name: 'surf7' } "
-X POST 
http://localhost:7001/management/weblogic/latest
/edit/servers
munz & more #33
Create Form
Request create form
(note, WebLogic 12.1.3 used HTTP OPTION)
GET
http://localhost:7001/management/weblogic/latest
/edit/serverCreateForm
munz & more #34
Update
Update server surf7, with curl
curl ...
-d "{ listenPort: '9999' } "
-X POST 
http://localhost:7001/management/weblogic/la
test/edit/surf7
munz & more #35
Delete
Delete server surf7:
curl –v --user weblogic:welcome1 
-H X-Requested-By:MyClient 
-H Accept:application/json 
-H Content-Type:application/json 
–X DELETE
http://localhost:7001/management/weblogic/late
st/edit/servers/surf7
munz & more #36
Query
Single bulk request
queries to select and
return specific subsets
of tree.
POST
http://localhost:7001
/management/weblogic/
latest/domainRuntime/
searchmunz & more #37
#11
Docker
WebLogic
in a Docker
Container
Virtualization vs. Isolation
munz & more #40
Linux	+	Docker
Hardware
a.war
Docker container in	Linux
with	own	FS,	network	stack	/	
IP	address,	process	space	and	
resource	limits
Hardware
OVM	/	VmWare ESX	/	Xen
Appl 1
Solaris
Appl 1
Linux
Appl 1
Win
Server	Virtualization
type	1	hypervisor
=	on	bare	metal
Hardware
VirtualBox
Mac	OS	/	Win
App
Linux
Desktop	Virtualization:
type	2	hypervisor
=	with	host	OS
App
Win
App
Win
ejb.jar
y.jar
x.py
JDK
WebLogic
tools
Jython
Docker
munz & more #41
Linux	+	Docker
Hardware
a.war
ejb.jar
y.jar
x.py
JDK
WebLogic
tools
Jython
Docker is not a
lightweight VirtualBox
- it's about isolation.
Containers run on
Linux kernel of host
-> Containers are
visible on host
Docker Container
• Isolated runtime of Docker image
• Starts up in milliseconds
• Sandboxing uses Linux namespaces and cgroups
-> isolated part of your Linux
• Open Container Standard / Linux Foundation
docker run -d –p 8080:9999 fmunz/micro
munz & more #42
solves the “Worked For Me!” issue
munz & more #43
OS	tools,	JDK,	
patches,	database	
driver,	libs,	
appserver,	domain,	
deployment,	tools,	
scripts
Docker
OS	utils,	JDK,	patches,	database	
driver,	libs,	appserver,	domain,	
deployment,	tools,	scripts
Integration,
Performance,
Acceptance
Testing	
Production
dockerize it!
You can pass environment
variables for specific
settings e.g. in prod
Docker Registry
what should be your
biggest nightmare:
unknown and
unofficial images
(>14000)
Docker Registry
What Do You Get?
• NOT WebLogic from Docker registry
• NO automatic build via github
• Github repo with scripts
to set up WebLogic on
Oracle Linux in Docker
• Dev or generic distribution
• Docker is a supported
environment for
WebLogic 12.2.1 / 12.1.3
munz & more #45
Oracle	Product in	Docker	 Official	Support
GlassFish
MySQL yes
NoSQL
OpenJDK
Oracle	Linux yes
OracleCoherence yes
OracleDatabase (dev)
OracleHTTPServer yes
OracleJDK yes #46^
Oracle support
does not require
you to use the
provided Docker
files
Docker Style
• Independent, standalone WLS domain
• Microservices style architecture
• Just add your favorite Docker
cluster
manager
munz & more #47
OS	tools,	JDK,	
database	driver,	libs,	
appserver,	single	
domain	(admin	server	
only),		deployment,	
tools,	scripts
Docker in the Cloud?
Supported by every major cloud provider:
munz & more #48
On premise -> all clouds
Docker
Registry
Docker	Container	Service
EC2	Container	Service
Google	Container	Engine
Azure	Container	Service
Bluemix Containers
munz & more #49
Docker book
by	J.	Turnbull	(Docker 1.8)
Oracle	Whitepaper
WebLogic	on	Docker Containers
Facts to Know
• Oracle supports WebLogic on Docker
• Docker networking is final now
• Docker cluster managers are still evolving:
Docker Swarm, Kubernetes, Apache Mesos with Marathon,
AWS ECS, CloudFoundry, etc.
munz & more #50
#12
Multi Tenancy
Domain Partitions
• Admin and runtime slice of domain
• Partition has its own apps, security, JDBC
config etc.
• Partitions can be started and stopped
individually
• Partition can be exported / imported
• Shared on same JVM, but separated
Copyright	©	2015, Oracle	and/or	its	affiliates.	All	rights	reserved.		|
Key	Technical	Concepts
Traffic
Director
WebLogic	Server
Partition	1
Virtual	
Target
App App
JM
S
Data	
Source
JNDI
Coherence
Service	1 Service	2 … Service	
N
Partition	1
Database
Partition	2
Virtual	
Target
App App
JM
S
Data	
Source
JNDI
Partition	2
Oracle	Confidential	– Internal 53
Benefit: Isolation
Tenants within one domain have isolation
• Runtime: JDK, heap, CPU
• Security: realm, user
• Admin: life cycle, roles
• Data / traffic: JNDI, JDBC, Coherence,
requests
munz & more / globalcollect 2016
Separation
• HR and Finance can be separate partitions
in one domain
• Mercedes and BMW are probably not
suitable for one domain
Technically partitions are not 100%
isolated <-> Docker container, VMs
Actions
Resource Consumption Manager:
Boundaries for files, heap, and CPU + Actions
Actions:
- Notify
- Slow
- Kill
Not (yet) Supported
Other OFM products don't support
domain partitions
although they on top of WebLogic 12.2.1
#13
Zero Downtime
(ZDT)
Rolling Updates
• Rolling shutdown
• Rollout of new Java
• Rollout of patched ORACLE_HOME
• Rollout of patched apps
You have to prepare
• JDKs
• Patched ORACLE_HOME
• JSON files for apps update
Rollout is orchestrated by admin server
Rollout Oracle Home
https://community.oracle.com/docs/DOC-996731
Workflow History
How Does it Work?
JKD Upgrades changes the following files:
bin/setNMJavaHome.sh
bin/setDomainEnv.sh
init-info/startscript.xml
init-info/domain-info.xml
#14
WebLogic in
JCS
Java Cloud Service
Java Cloud Service = JCS
• Oracle cloud offering for WebLogic
• Talk to your partner manager for trial
account
• If you never tried it, give it a go now
and evaluate your use case
munz & more #65
munz & more #66
munz & more #67
munz & more #68
JCS Summary
• Saves you install time
• Nicely integrated with DB, ID etc.
• Clone environments
• ZDT patching
• Automated Lifecycle
– For Java and DB cloud
• Continuous Integration / Deliver
– Integration with Developer Cloud Service
-> speed up and modernize environments
munz & more #69
Summary
1. JDK 8
2. Java EE 7
3. IDE
4. Console
5. Deployment
6. JMS
7. Cluster
8. WLST
9. WLDF
10. REST
11. Docker
12. Multi Tenancy
13. ZDT
14. Java CloudService
munz & more #70
Copyright	©	2015, Oracle	and/or	its	affiliates.	All	rights	reserved.		|
Why	Upgrade	to	WebLogic	12cR2
71
WebLogic	Server	12cR1
• Java	EE	6
• Websockets (Java	EE	7)
• Emulation	Client/Server-Sent	
Events
• JAX-RS	2.0	(Java	EE	7)
• JSON	(Java	EE	7)
• Lightweight	Zip	Installer
• DB	Integration
• Dynamic	Clusters/Elastic	JMS
• Unified	Management
• RESTful Management	APIs
• HA	Optimizations
• Coherence/Toplink integration
• Maven	integration
WebLogic	Server	12cR2
• Java	EE	7
• Quick	installer	for	dev
• Java	SE	8
• Microcontainers/multitenancy
• Multi	data	center/Continuous	
availability
• Automated	elasticity	for	
Dynamic	Clusters
• Complete	REST	management
• Performance	improvements
tweet to win!
#otntour AND @soacommunity
@frankmunz
+picture?
www.munzandmore.com/blog
facebook.com/cloudcomputingbook
facebook.com/weblogicbook
@frankmunz
youtube.com/weblogicbook
-> more than 50 web casts
Don’t be
shy J

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle Succession Planning Setup
Oracle Succession Planning SetupOracle Succession Planning Setup
Oracle Succession Planning SetupFeras Ahmad
 
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...オラクルエンジニア通信
 
Oracle WebLogic Server製品紹介資料(2020年/3月版)
Oracle WebLogic Server製品紹介資料(2020年/3月版)Oracle WebLogic Server製品紹介資料(2020年/3月版)
Oracle WebLogic Server製品紹介資料(2020年/3月版)オラクルエンジニア通信
 
Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Michael Brown
 
Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAMarkus Michalewicz
 
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG Yuya Ohta
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsSandesh Rao
 
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]オラクルエンジニア通信
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Tim Carman
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
 
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)オラクルエンジニア通信
 
Yapp methodology anjo-kolk
Yapp methodology anjo-kolkYapp methodology anjo-kolk
Yapp methodology anjo-kolkToon Koppelaars
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Kamalesh Ramasamy
 

Was ist angesagt? (20)

Oracle Succession Planning Setup
Oracle Succession Planning SetupOracle Succession Planning Setup
Oracle Succession Planning Setup
 
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...
とっておきの方法! Oracle Databaseの自動アップグレードのお勧め手法 省力・最新化 概要編 (Oracle Cloudウェビナーシリーズ: ...
 
Oracle GoldenGate入門
Oracle GoldenGate入門Oracle GoldenGate入門
Oracle GoldenGate入門
 
Oracle WebLogic Server製品紹介資料(2020年/3月版)
Oracle WebLogic Server製品紹介資料(2020年/3月版)Oracle WebLogic Server製品紹介資料(2020年/3月版)
Oracle WebLogic Server製品紹介資料(2020年/3月版)
 
Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2
 
Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAA
 
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG
Oracle運用Tips大放出! ~ RAC環境のRMANのパラレル化を極める 編 ~ @2016-02-23 JPOUG
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 
Oracle GoldenGate 概要 2020年11月版
Oracle GoldenGate 概要 2020年11月版Oracle GoldenGate 概要 2020年11月版
Oracle GoldenGate 概要 2020年11月版
 
Oracle GoldenGate Cloud Service(GGCS)概要
Oracle GoldenGate Cloud Service(GGCS)概要Oracle GoldenGate Cloud Service(GGCS)概要
Oracle GoldenGate Cloud Service(GGCS)概要
 
Oracle GoldenGate アーキテクチャと基本機能
Oracle GoldenGate アーキテクチャと基本機能Oracle GoldenGate アーキテクチャと基本機能
Oracle GoldenGate アーキテクチャと基本機能
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0Upgrading to VMware vSphere 6.0
Upgrading to VMware vSphere 6.0
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
 
Yapp methodology anjo-kolk
Yapp methodology anjo-kolkYapp methodology anjo-kolk
Yapp methodology anjo-kolk
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020
 

Ähnlich wie What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2016

12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12cGuatemala User Group
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOpsFrank Munz
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Bobby Curtis
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15Frank Munz
 
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009eLiberatica
 
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere LibertyAAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere LibertyWASdev Community
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerDavid Currie
 
Building Bizweb Microservices with Docker
Building Bizweb Microservices with DockerBuilding Bizweb Microservices with Docker
Building Bizweb Microservices with DockerKhôi Nguyễn Minh
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and dockersflynn073
 
Docker Swarm and Traefik 2.0
Docker Swarm and Traefik 2.0Docker Swarm and Traefik 2.0
Docker Swarm and Traefik 2.0Jakub Hajek
 
Detailed Introduction To Docker
Detailed Introduction To DockerDetailed Introduction To Docker
Detailed Introduction To Dockernklmish
 
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories.
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories. Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories.
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories. Andrejs Vorobjovs
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on BluemixRam Vennam
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of TroubleJose De La Rosa
 
Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...Codemotion
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC vipin kumar
 
IBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClassIBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClassPaul Withers
 
WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsSudhesh Pnair
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dbaOsama Mustafa
 
The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)Simon Haslam
 

Ähnlich wie What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2016 (20)

12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
WebLogic JMX for DevOps
WebLogic JMX for DevOpsWebLogic JMX for DevOps
WebLogic JMX for DevOps
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
 
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
 
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere LibertyAAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
Building Bizweb Microservices with Docker
Building Bizweb Microservices with DockerBuilding Bizweb Microservices with Docker
Building Bizweb Microservices with Docker
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
 
Docker Swarm and Traefik 2.0
Docker Swarm and Traefik 2.0Docker Swarm and Traefik 2.0
Docker Swarm and Traefik 2.0
 
Detailed Introduction To Docker
Detailed Introduction To DockerDetailed Introduction To Docker
Detailed Introduction To Docker
 
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories.
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories. Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories.
Middleware upgrade to Oracle Fusion Middleware(FMW) 12c.Real Case stories.
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on Bluemix
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of Trouble
 
Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
IBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClassIBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClass
 
WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_Basics
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)The Kubernetes WebLogic revival (part 1)
The Kubernetes WebLogic revival (part 1)
 

Mehr von Frank Munz

Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...Frank Munz
 
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSOracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSFrank Munz
 
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...Frank Munz
 
Microservices Runtimes
Microservices RuntimesMicroservices Runtimes
Microservices RuntimesFrank Munz
 
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should KnowOracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should KnowFrank Munz
 
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017Frank Munz
 
Docker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSDocker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSFrank Munz
 
Serverless / FaaS / Lambda and how it relates to Microservices
Serverless / FaaS / Lambda and how it relates to MicroservicesServerless / FaaS / Lambda and how it relates to Microservices
Serverless / FaaS / Lambda and how it relates to MicroservicesFrank Munz
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowOracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowFrank Munz
 
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cDocker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cFrank Munz
 
Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Frank Munz
 

Mehr von Frank Munz (11)

Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
 
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSOracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
 
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
 
Microservices Runtimes
Microservices RuntimesMicroservices Runtimes
Microservices Runtimes
 
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should KnowOracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
 
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
 
Docker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSDocker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCS
 
Serverless / FaaS / Lambda and how it relates to Microservices
Serverless / FaaS / Lambda and how it relates to MicroservicesServerless / FaaS / Lambda and how it relates to Microservices
Serverless / FaaS / Lambda and how it relates to Microservices
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowOracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
 
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cDocker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
 
Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial
 

Kürzlich hochgeladen

Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesLumiverse Solutions Pvt Ltd
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxNIMMANAGANTI RAMAKRISHNA
 

Kürzlich hochgeladen (9)

Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best Practices
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptx
 

What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2016

  • 2. Who’s that guy? • Dr. Frank Munz • Founded munz & more in 2007 • 15 years Oracle WebLogic and Middleware • Consulting and High-End Training • Three Oracle / Cloud books • @frankmunz on Twitter 2
  • 3. 13 new things, still no agenda J
  • 6. JDK 8 • WebLogic 12.2.1 supports JDK 8 only as runtime • Startup scripts work out of the box (permspace is removed in JDK 8) • JDK 8u40 introduces resource management used by WebLogic multitenancy with G1 GC java -XX:+UnlockCommercialFeatures -XX:+ResourceManagement munz & more #6
  • 8. Java EE 7 Every developer wants to use it! improved standards / already in 12.1.3 / major new • EJB 3.2 • Servlet 3.1 • JDBC 4.0 • WebSockets, JAX-RS 2.0, JSON-P 1.0 • Batch 1.0 • JMS 2.0 • Concurrency Utilities 1.0 Tip: Learn about Java EE 7 http://de.slideshare.net/glassfish/f ifty-feature-of
  • 11. Download Dev Download with small 209 MB footprint:
  • 12. IDE Support munz & more #12 NetBeans 8.1 RC /Dev Build works with WebLogic 12.2.1 Eclipse net (and package) installer -> easy OEPE download & install JDeveloper 12.2.1 available for OFM 12.2.1 NEW! wlserver/server/bin/eclipse.sh
  • 14. Production Mode You can revert production mode from console munz & more #14
  • 16. Parallel Deployment WebLogic 12.2.1 provides parallel deployment • Multiple applications • Single application with multiple modules • Applications across multiple partitions munz & more Across Modules in Applications Across Applications Parallel Prepare Available in WebLogic 11g New in WebLogic 12.2.1 Parallel Activate New in WebLogic 12.2.1 New in WebLogic 12.2.1
  • 18. Elastic Cluster WebLogic 12.1.2: Dynamic Cluster config WebLogic 12.2.1: Elastic Cluster runtime + pre / post scaling callout to scripts munz & more #18 How to scale? • Console • WLST • REST • Policy/Action • Calendar based
  • 20. JMS • JMS 2.0 support • Elastic JMS scales with elastic cluster • Simplified HA Configuration: WebLogic 12.2.1 JMS restrictions are removed • Default CX-factory required per Java EE 7: java:comp/DefaultJMSConnectionFactory resolves to weblogic.jms.XAConnectionFactory munz & more #20
  • 22. New Command for Scaling WLST command to scale dynamic cluster: scaleUp/Down ( clusterName, numServers, [updateConfiguration], [block], [timeoutSeconds], ) munz & more #22 How many servers to add or remove
  • 24. WLDF • Watches and notifications are replaced by policies and actions • Additional 4 WLDF actions – scale up / down – REST – Script • Diagnostic image files are .txt or .xml • Prepackaged smart rules with configurable parameters munz & more #24
  • 25. munz & more #25 Smart rules: Predefined policies with open parameters
  • 27. Why REST? • Simplicity • Language agnostic • No JVM on client side, no WebLogic <->JMX • Easy to tunnel through firewalls: HTTP • Current tech trend (eg. mobile dev) munz & more #27
  • 28. RESTful Management • New generic WebLogic implementation: Full support for all resources (also JMS etc.) • RESTful management is turned on per default • Available on admin and managed Servers • Modelled after WLST structure (real MBean names not required) • Used throughout WebLogic documentation munz & more #28
  • 29. Tech Details 1 • domain|serverConfig, domain|serverRuntime, edit • [exclude]fields=field1, field2 • [exclude]links=none, links=rel • interaction=async-polling|sync munz & more #29
  • 30. Tech Details 2 • URL format has changed: …/wls/… was WebLogic 12.1.3, now: /management/weblogic/latest/… • Edit sessions implicit: POST in /edit Or create manually with /edit/changeManager/ startEdit|cancelEdit|activate munz & more #30
  • 31. CRUDQ
  • 32. Read Get server name and state of managed server with name surf1 via admin server GET (e.g. via web browser) http://localhost:7001/management/weblogic/late st /domainRuntime/serverLifeCycleRuntimes/ surf1?links=none&fields=name,state Response: { "name": "surf1", "state": "RUNNING" } munz & more #32
  • 33. Create Short way to create server surf7, with UNIX curl curl –v --user weblogic:welcome1 -H X-Requested-By:MyClient -H Accept:application/json -H Content-Type:application/json -d "{ name: 'surf7' } " -X POST http://localhost:7001/management/weblogic/latest /edit/servers munz & more #33
  • 34. Create Form Request create form (note, WebLogic 12.1.3 used HTTP OPTION) GET http://localhost:7001/management/weblogic/latest /edit/serverCreateForm munz & more #34
  • 35. Update Update server surf7, with curl curl ... -d "{ listenPort: '9999' } " -X POST http://localhost:7001/management/weblogic/la test/edit/surf7 munz & more #35
  • 36. Delete Delete server surf7: curl –v --user weblogic:welcome1 -H X-Requested-By:MyClient -H Accept:application/json -H Content-Type:application/json –X DELETE http://localhost:7001/management/weblogic/late st/edit/servers/surf7 munz & more #36
  • 37. Query Single bulk request queries to select and return specific subsets of tree. POST http://localhost:7001 /management/weblogic/ latest/domainRuntime/ searchmunz & more #37
  • 40. Virtualization vs. Isolation munz & more #40 Linux + Docker Hardware a.war Docker container in Linux with own FS, network stack / IP address, process space and resource limits Hardware OVM / VmWare ESX / Xen Appl 1 Solaris Appl 1 Linux Appl 1 Win Server Virtualization type 1 hypervisor = on bare metal Hardware VirtualBox Mac OS / Win App Linux Desktop Virtualization: type 2 hypervisor = with host OS App Win App Win ejb.jar y.jar x.py JDK WebLogic tools Jython
  • 41. Docker munz & more #41 Linux + Docker Hardware a.war ejb.jar y.jar x.py JDK WebLogic tools Jython Docker is not a lightweight VirtualBox - it's about isolation. Containers run on Linux kernel of host -> Containers are visible on host
  • 42. Docker Container • Isolated runtime of Docker image • Starts up in milliseconds • Sandboxing uses Linux namespaces and cgroups -> isolated part of your Linux • Open Container Standard / Linux Foundation docker run -d –p 8080:9999 fmunz/micro munz & more #42
  • 43. solves the “Worked For Me!” issue munz & more #43 OS tools, JDK, patches, database driver, libs, appserver, domain, deployment, tools, scripts Docker OS utils, JDK, patches, database driver, libs, appserver, domain, deployment, tools, scripts Integration, Performance, Acceptance Testing Production dockerize it! You can pass environment variables for specific settings e.g. in prod Docker Registry
  • 44. what should be your biggest nightmare: unknown and unofficial images (>14000) Docker Registry
  • 45. What Do You Get? • NOT WebLogic from Docker registry • NO automatic build via github • Github repo with scripts to set up WebLogic on Oracle Linux in Docker • Dev or generic distribution • Docker is a supported environment for WebLogic 12.2.1 / 12.1.3 munz & more #45
  • 46. Oracle Product in Docker Official Support GlassFish MySQL yes NoSQL OpenJDK Oracle Linux yes OracleCoherence yes OracleDatabase (dev) OracleHTTPServer yes OracleJDK yes #46^ Oracle support does not require you to use the provided Docker files
  • 47. Docker Style • Independent, standalone WLS domain • Microservices style architecture • Just add your favorite Docker cluster manager munz & more #47 OS tools, JDK, database driver, libs, appserver, single domain (admin server only), deployment, tools, scripts
  • 48. Docker in the Cloud? Supported by every major cloud provider: munz & more #48 On premise -> all clouds Docker Registry Docker Container Service EC2 Container Service Google Container Engine Azure Container Service Bluemix Containers
  • 49. munz & more #49 Docker book by J. Turnbull (Docker 1.8) Oracle Whitepaper WebLogic on Docker Containers
  • 50. Facts to Know • Oracle supports WebLogic on Docker • Docker networking is final now • Docker cluster managers are still evolving: Docker Swarm, Kubernetes, Apache Mesos with Marathon, AWS ECS, CloudFoundry, etc. munz & more #50
  • 52. Domain Partitions • Admin and runtime slice of domain • Partition has its own apps, security, JDBC config etc. • Partitions can be started and stopped individually • Partition can be exported / imported • Shared on same JVM, but separated
  • 53. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Key Technical Concepts Traffic Director WebLogic Server Partition 1 Virtual Target App App JM S Data Source JNDI Coherence Service 1 Service 2 … Service N Partition 1 Database Partition 2 Virtual Target App App JM S Data Source JNDI Partition 2 Oracle Confidential – Internal 53
  • 54. Benefit: Isolation Tenants within one domain have isolation • Runtime: JDK, heap, CPU • Security: realm, user • Admin: life cycle, roles • Data / traffic: JNDI, JDBC, Coherence, requests munz & more / globalcollect 2016
  • 55. Separation • HR and Finance can be separate partitions in one domain • Mercedes and BMW are probably not suitable for one domain Technically partitions are not 100% isolated <-> Docker container, VMs
  • 56. Actions Resource Consumption Manager: Boundaries for files, heap, and CPU + Actions Actions: - Notify - Slow - Kill
  • 57. Not (yet) Supported Other OFM products don't support domain partitions although they on top of WebLogic 12.2.1
  • 59. Rolling Updates • Rolling shutdown • Rollout of new Java • Rollout of patched ORACLE_HOME • Rollout of patched apps
  • 60. You have to prepare • JDKs • Patched ORACLE_HOME • JSON files for apps update Rollout is orchestrated by admin server
  • 63. How Does it Work? JKD Upgrades changes the following files: bin/setNMJavaHome.sh bin/setDomainEnv.sh init-info/startscript.xml init-info/domain-info.xml
  • 65. Java Cloud Service Java Cloud Service = JCS • Oracle cloud offering for WebLogic • Talk to your partner manager for trial account • If you never tried it, give it a go now and evaluate your use case munz & more #65
  • 66. munz & more #66
  • 67. munz & more #67
  • 68. munz & more #68
  • 69. JCS Summary • Saves you install time • Nicely integrated with DB, ID etc. • Clone environments • ZDT patching • Automated Lifecycle – For Java and DB cloud • Continuous Integration / Deliver – Integration with Developer Cloud Service -> speed up and modernize environments munz & more #69
  • 70. Summary 1. JDK 8 2. Java EE 7 3. IDE 4. Console 5. Deployment 6. JMS 7. Cluster 8. WLST 9. WLDF 10. REST 11. Docker 12. Multi Tenancy 13. ZDT 14. Java CloudService munz & more #70
  • 71. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Why Upgrade to WebLogic 12cR2 71 WebLogic Server 12cR1 • Java EE 6 • Websockets (Java EE 7) • Emulation Client/Server-Sent Events • JAX-RS 2.0 (Java EE 7) • JSON (Java EE 7) • Lightweight Zip Installer • DB Integration • Dynamic Clusters/Elastic JMS • Unified Management • RESTful Management APIs • HA Optimizations • Coherence/Toplink integration • Maven integration WebLogic Server 12cR2 • Java EE 7 • Quick installer for dev • Java SE 8 • Microcontainers/multitenancy • Multi data center/Continuous availability • Automated elasticity for Dynamic Clusters • Complete REST management • Performance improvements
  • 72. tweet to win! #otntour AND @soacommunity @frankmunz +picture?

Hinweis der Redaktion

  1. MTE10083 - Twelve Things You Should Know About Oracle WebLogic Server 12c Oracle marketing likes to emphasize that there are over 200 new features in WebLogic 12c. In this session I will take a very different approach and present only 12 reasons that make it worth using the latest WebLogic Server 12c. The features presented in this session are technical, derived from attendees’ questions in several hands-on workshops, without any sales pitch and somehow subjective. Also wherever limitations exist I will mention them. Everything worth to upgrade to the latest WebLogic Server 12c from core features, important changes, to WebLogic running in a Docker container will be covered.
  2. Question best at the end surprising things improved things fixed bugs cool features thing you have to careful about
  3. No more start script issues as in 12.1.3 JVM dependencies – Track resource usage per partition – Requires Hotspot JDK 8u40 with commercial features – Requires G1 garbage collection
  4. EJB 3.2 *disable passivation of stateful EJB *local async calls, non persistent timer EJBs Servlet 3.1 Deny uncovered HTTP requests WebSockets @ServerEndpoint, @onMessage +life cycle @onOpen Close Error JSON Builder and Parser Managed executors instead of starting threads on http://www.heise.de/developer/artikel/Die-wichtigsten-Neuerungen-in-der-Java-Enterprise-Edition-7-1886333.html
  5. Netbeans dev is very stable. A lot of devs use it all the time! Jdev is not yet supporting MT, but works with 12.2.1 OEPE Oracle Enterprise Plugin for Eclipse
  6. SOA deployments have up to 30% speedup You can turn it off if you must.
  7. scale up cluster and start servers and call scripts before / after scaling ops
  8. 8 node cluster with 8 JMS scaling down: -> 6 node cluster with 8 JMS (keep running, because of Unit of Order) 7 & 8 migrate automatically Limitted previously, All JMS Artifacts can be targettted to cluster, including SAF Agents, Path Service Msg Bridge For all kind of clusters configured, dynamic, mixed
  9. updateConfig = increase cluster size in conifg timeout: secs waiting to start before cancelling operation
  10. policies can have a schedule
  11. Tom Mareau: HTTP Options removed?
  12. lest look at the CRUD pattern authentication would happen by browser READ is safe (wont change anything) and idempotent (you can call it as many times as you like with same effekt)
  13. what if you are not sure what –d JSON to send here?
  14. If you want to create but don’t know how to
  15. Lets talk about Docker first, forget about Oracle for 7 minutes.
  16. Docker containers are isolated, not having different OSes, actually not having a real OS at all. Shared fs layers!
  17. running Linux shows Docker processes! Docker containers are isolated but share the kernel more like a camel hump not dockerized: Apps that load kernel modules Low level OS stuff dealing with namespaces
  18. namespaces isolate: PIDs, files, networking cgroups limit ressources
  19. rough idea: 1 process per container. container -> microservice
  20. one domain per container
  21. Major Cloud vendors *Microsoft Azure Container Service *Amazon EC2 Container Service *IBM Bluemix Containers Google Container Engine * partners with Docker Inc.
  22. Kubernetes is 1.03 (14.000 commits from 400 contributors) Mesos 0.2, Marathon 0.9 AWS EC2 Container Scheduler,
  23. Oracle: Partitions = microcontainers (?)
  24. Start with the central platform – WebLogic running with two partitions A domain partition is an administrative portion of a domain that can be managed independently and can share the runtime capacity in a domain – the managed servers and clusters, AKA JVMs. Each domain partition has a Virtual Target, applications, and required resources (click) From the Web tier (Traffic Director or plug-ins) traffic is routed to the address defined by the Virtual Target. Once a request enters into a partition, it stays in that partition. Each partition has its own JNDI tree, so any use of resources is within the partition. That also means data segregation. For JMS, each JMS server has its own set of queues and its own persistence. (click) And each partition can have its own datasources that connect to dedicated PDBs. (PDBs are not required, but they are a natural fit) (click) And, of course, we have Coherence integration. Applications can use a dedicated Service in Coherence, or they can use a shared Service, depending on application needs. OLD: No (minimal) code change to the application – WebLogic manages the tenant identification/isolation At deployment, apps and resources in the template are deployed/replicated for each partition (tenant) specified JNDI isolation and scoping for each partition Runtime traffic is isolated end to end: The user accesses the application via the virtual host – http://baylandurgentcare.com:7011 Separate application instances have their own JNDI tree, resources Work Manager per partition to manage threads Data is segregated with PDBs WebLogic infrastructure is shared among tenants
  25. Do you trust partitions? What if one affects the other? Define resource consumption manager Shut down resources if everything goes wrong
  26. Shutdown managed servers Move OH to backup location Move patched OH to original location Start servers again Repeat for remaining nodes