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
2
10. New Installer
• OUI – consistent with OFM and Oracle DB
• Java is not included
• No console mode anymore
-> silent mode with response file
Other
options:
Vagrant
with
Chef
or
Puppet,
maven
and
even
Docker
java –jar fmw12.1.3.0.0_wls.jar –silent
–responseFile fullPathToRespFile –invPtrLoc /etc/oraInst.loc
munz & more #10
11. The oraInst.loc File
oraInst.loc points to product inventory:
location depends on OS, e.g. OS X:
/var/opt/Oracle
munz & more #11
13. Prerequisite Checks
• CPU with 0 MHz ?!
-> wrong BIOS selection
in Virtual Box
• swap enabled ?
• /tmp on tempfs ?
check size in /etc/fstab
• Ignore result of check (NOT recommended):
-ignoreSysPrereqs
munz & more #13
14. opatch
• Located in WEBLOGIC_HOME/Opatch
• Uses oraInst.loc
• opatch uses ORACLE_HOME variable
make sure it does not conflict with
ORACLE_HOME of installed DB
-> different installation user
munz & more #14
16. config.sh
domain location
includes domain name
-Dcom.oracle.cie.config.showProfile
enables Compact/Expanded Domain Topology Selection (mainly for OFM)
munz & more #16
19. Per Domain Node Manager
• Easier setup
• Config and logs part
of domain directory
• Uses SSL per default
• unpack recreates
demo certs
• Startscript:
DOMAIN_HOME/bin/startNodeManager.sh
munz & more #19
20. Per Domain Node Manager
• DOMAIN_HOME/nodemanager contains
nodemanager.properties and
nodemanager.domains
• Per machine NM still possible:
startNodeManager.sh
in WL_HOME/server/bin
munz & more #20
21. Certificates
Demo Cert per Domain under DOMAIN/security
keytool –list -storepass DemoIdentityKeyStorePassPhrase –v
-keystore DemoIdentity.jks
Certificate
contains
hostname.
Unpack
recreates
Demo
Cert
with
hostname
of
new
host.
munz more #21
22. 3 Simple Steps
1. Start Node Manager
2. Create Machine
3. Create Servers / Dynamic Cluster
and assign machine
Then use admin server web console to start
managed servers
munz more #22
23. New in WLS 12.1.3
Some nodemanager.properties names
changed, old names are deprecated now:
StartScriptEnabled
- weblogic.StartScriptEnabled
also StartScriptName, JavaHome, StopScriptName,
UseMACBroadcast, …
munz more #23
26. Config Hierarchy
• Default Server Settings (value not specified)
• can be overwritten by
Server Template Settings
• can be overwritten by
Individual Server Configuration
munz more #26
29. How Dynamic Is It?
• Only configuration is dynamic
• Must start servers manually
(dynamic runtime is still missing)
• To decrease cluster size:
stop last server, then decrease
number of dynamic servers configuration
• Server Migration for dynamic and mixed
cluster supported with WLS 12.1.3
munz more #29
31. New Unicast Groups
Implementation in WebLogic 12.1.3 changed:
• Fixed max # of groups is 10
• Groups can by asymmetric
• Servers are consistently placed in groups
based on hash of server name
munz more #31
35. Easier JMS
• Target JMS server to cluster
(also to dynamic cluster!)
• Persistent stores are provisioned
automatically
• Then target distributed queue to JMS server
munz more #35
36. Elastic JMS in WLS 12.1.3
• Supports whole server migration (WSM) with
WebLogic 12.1.3
• Note, there are some restrictions:
No Unit-of-Order, no Unit-of-Work, no service
migration…
see also
https://blogs.oracle.com/WebLogicServer/entry/introducing_elastic_jms
munz more #36
38. Java Mission Control
Java Mission Control comes
with JDK 1.7.0_40+
• Free for development
• Ported over from JRockit
• Detailed, graphical views
- start with jmc
munz more #38
40. Java Mission Control
To enable JMC, you need the following switches
JAVA_OPTIONS=” -XX:+UnlockCommercialFeatures
-XX:+FlightRecorder
e.g. configure settings in
DOMAIN_HOME/bin/setUserOverrides.sh
Configure
WebLogic
Domain-‐Wide
Settings
here
munz more #40
45. REST Management API
API has changed in WLS 12.1.3
- Supports configuration changes:
• Server lifecycle
• For resources, eg. JDBC data source:
create, stop, test, …,
• Deployments
munz more #45
46. REST Management API
Example http GET:
http://localhost:7001/
management/wls/
latest/deployments/
application
munz more #46
51. Partial Support of Java EE 7 APIs
WebLogic 12.1.3:
• Java API for WebSocket 1.0 NEW
• JSON-P 1.0 NEW
• JAX-RS 2.0 with lib deployed UPDATE
JAX-RS 1.1. OOTB
• JPA 2.1 with lib deployed UPDATE
JPA 2.0 OOTB
deploy
/
wlserver/common/
deployable-‐
libraries/
jax-‐rs-‐2.0.war
deploy
2
shared
libs
munz more #51
52. New Maven Goal
• 25 maven goals for WebLogic 12.1.3
• WebLogic 12.1.3:
New maven WLST goal: wlst-client
- does not require local WebLogic
installation for WLST online commands.
munz more #52
56. What is Docker?
• NOT Now officially supported by Oracle
• Sandboxing based on Linux containers
• Layered images
• Public / private repository
• Containers start up in milliseconds
• Portable standard -
runs on Linux, also in clouds
munz more #56