SlideShare a Scribd company logo
WebLogic Server 11gR1 PS3 (10.3.4) DEMOFiltering ClassLoader & Classloader Analysis ToolJeffrey WestApplication Grid Product Management
AgendaOverview of WebLogic’s ClassLoadersOverview of WebLogic’s ClassLoader Analysis ToolDemo of WebLogic’s ClassLoader Analysis ToolConclusion & WebLogic Resources
WebLogic ClassLoader HierarchyTop-Down Class Loading (Default)SYSTEM ClassLoader loads:WebLogic Implementation classes
Classes on the System Classpath
PRE_CLASSPATH and EXT_PRE_CLASSPATHSYSTEMDOMAIN ClassLoader loads:Classes from <domain_dir>/lib DOMAINAPPLICATION ClassLoader loads:Java EE Shared Libraries referenced in weblogic-application.xml
Any Modules defined in the application
Libraries from Java EE 5 <library-directory> directive or /lib if none configured
Libraries from <EAR>/APP-INF/lib APPLICATIONWEB APP ClassLoader loads:Java EE Shared Libraries referenced in weblogic.xml
WEB-INF/classes
WEB-INF/lib
Enables Servlets and JSPs to see EJB classes
Enables redeployment of Web Apps w/o redeploying EJBsWEB APP
APPLICATIONWEB APPWebLogic Filtering ClassLoaderForce classes to be loaded from the APPLICATIONThe FilteringClassLoader mechanism allows you to specify classes that should always be loaded from the application (not the SYSTEM ClassLoader)This allows you to use alternate versions of applications, such as Xerces and Ant, than those that are packed with WebLogicEnables resources from the child of the FilteringClassLoader (an Application classloader) down to the calling classloader are returned before the ones from the system classloaderThe FilteringClassLoader is configured with a list of packages specified in weblogic-application.xml or weblogic.xml (introduced in 10.3.3) files. SYSTEMDOMAINFILTERINGClassLoader
Filtering ClassLoader ConfigurationSpecify Packages to load from APP-INF/lib & WEB-INF/libSpecify the packages that should be loaded by the Application including:Java EE Shared LibrariesEAR: /lib (preferred)EAR: APP-INF/lib WAR: WEB-INF/libOverrides the classes that are loaded with WebLogic allowing you to use libraries that may conflict with those included in WebLogic

More Related Content

What's hot (20)

PPT
Oop lecture4
Shahriar Robbani
 
PPTX
Functional Application Logging : Code Examples Using Spring Boot and Logback
Mohammad Sabir Khan
 
PPTX
AAC Room
선옥 장
 
PDF
Data Persistence in Android with Room Library
Reinvently
 
PPTX
Java 8 New features
Son Nguyen
 
PPT
Oracle 10g Forms Lesson 13
KAMA3
 
PDF
Object Oriented Programming with Laravel - Session 6
Shahrzad Peyman
 
PPT
XmlBlackBox English Presentation
Alexander Crea
 
PPTX
Architecture diagram of jvm
home
 
PDF
Custom annotation processors for your production code
Jorge Castillo Pérez
 
PPT
DOSUG XML Beans overview by Om Sivanesian
Matthew McCullough
 
PPT
JVM- Java Virtual Machine
Manasvi Mehta
 
PPTX
Lambda expressions java8 - yousry
yousry ibrahim
 
PPT
Java-java virtual machine
Surbhi Panhalkar
 
DOCX
Unit of competency
loidasacueza
 
PDF
Testing with Spring: An Introduction
Sam Brannen
 
PPS
Java rmi
kamal kotecha
 
PPT
Implementing Generic Servers for Eclipse WebTools
Gorkem Ercan
 
PDF
Java basics notes
poonguzhali1826
 
Oop lecture4
Shahriar Robbani
 
Functional Application Logging : Code Examples Using Spring Boot and Logback
Mohammad Sabir Khan
 
AAC Room
선옥 장
 
Data Persistence in Android with Room Library
Reinvently
 
Java 8 New features
Son Nguyen
 
Oracle 10g Forms Lesson 13
KAMA3
 
Object Oriented Programming with Laravel - Session 6
Shahrzad Peyman
 
XmlBlackBox English Presentation
Alexander Crea
 
Architecture diagram of jvm
home
 
Custom annotation processors for your production code
Jorge Castillo Pérez
 
DOSUG XML Beans overview by Om Sivanesian
Matthew McCullough
 
JVM- Java Virtual Machine
Manasvi Mehta
 
Lambda expressions java8 - yousry
yousry ibrahim
 
Java-java virtual machine
Surbhi Panhalkar
 
Unit of competency
loidasacueza
 
Testing with Spring: An Introduction
Sam Brannen
 
Java rmi
kamal kotecha
 
Implementing Generic Servers for Eclipse WebTools
Gorkem Ercan
 
Java basics notes
poonguzhali1826
 

Viewers also liked (20)

PPTX
WebLogic's ClassLoaders, Filtering ClassLoader and ClassLoader Analysis Tool
Jeffrey West
 
PDF
Oracle WorkManager
Giampiero Cerroni
 
PPTX
Powering the Cloud with Oracle WebLogic
Lucas Jellema
 
PPTX
WebLogic Server Work Managers and Overload Protection
James Bayer
 
DOCX
Troubleshooting guide for apache 2.2 service.
Wielbert Chouphen Collinson
 
PPTX
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Joris van Lieshout
 
DOC
resume
narendra varma
 
PDF
E10132
prathap kumar
 
PDF
De Mensajería hacia Logs con Apache Kafka
Jorge Esteban Quilcate Otoya
 
DOC
Syed Vali Resume
Syed Vali
 
PDF
WebLogic on ODA - Oracle Open World 2013
Michel Schildmeijer
 
ODP
Apache logs monitoring
Umair Amjad
 
PPTX
ApacheCon-HBase-2016
Jayesh Thakrar
 
PDF
WebLogic in Practice: SSL Configuration
Simon Haslam
 
PDF
SOA Suite 12c Customer implementation
Michel Schildmeijer
 
PPT
Web Server(Apache),
webhostingguy
 
PPT
WebLogic Performance on SOLARIS SPARC Servers
M. Fevzi Korkutata
 
PDF
Weblogic Cluster advanced performance tuning
Aditya Bhuyan
 
DOC
weblogic perfomence tuning
prathap kumar
 
PDF
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Andreas Koop
 
WebLogic's ClassLoaders, Filtering ClassLoader and ClassLoader Analysis Tool
Jeffrey West
 
Oracle WorkManager
Giampiero Cerroni
 
Powering the Cloud with Oracle WebLogic
Lucas Jellema
 
WebLogic Server Work Managers and Overload Protection
James Bayer
 
Troubleshooting guide for apache 2.2 service.
Wielbert Chouphen Collinson
 
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Joris van Lieshout
 
De Mensajería hacia Logs con Apache Kafka
Jorge Esteban Quilcate Otoya
 
Syed Vali Resume
Syed Vali
 
WebLogic on ODA - Oracle Open World 2013
Michel Schildmeijer
 
Apache logs monitoring
Umair Amjad
 
ApacheCon-HBase-2016
Jayesh Thakrar
 
WebLogic in Practice: SSL Configuration
Simon Haslam
 
SOA Suite 12c Customer implementation
Michel Schildmeijer
 
Web Server(Apache),
webhostingguy
 
WebLogic Performance on SOLARIS SPARC Servers
M. Fevzi Korkutata
 
Weblogic Cluster advanced performance tuning
Aditya Bhuyan
 
weblogic perfomence tuning
prathap kumar
 
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Andreas Koop
 
Ad

Similar to WebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo (20)

ODT
Making Applications Work Together In Eclipse
Kaniska Mandal
 
PPTX
Introduction to Spring sec2.pptx
NourhanTarek23
 
PPTX
chap 10 : Development (scjp/ocjp)
It Academy
 
PDF
Unit8 security (2) java
Sharafat Husen
 
PDF
Owner - Java properties reinvented.
Luigi Viggiano
 
PPTX
Laravel Introduction Module 1 Presentation
Raduelico
 
PPT
Content Storage With Apache Jackrabbit
Jukka Zitting
 
PDF
Why Laravel?
Jonathan Goode
 
PDF
Java Interview Questions Answers Guide
DaisyWatson5
 
PDF
Consuming and Creating Libraries in C++
Richard Thomson
 
PPT
Jira Rev002
Rich Helton
 
PPTX
SCWCD : Servlet web applications : CHAP : 3
Ben Abdallah Helmi
 
DOC
Unit5 servlets
Praveen Yadav
 
PDF
Arquillian in a nutshell
Brockhaus Consulting GmbH
 
PPTX
SCWCD : Servlet web applications : CHAP 3
Ben Abdallah Helmi
 
PDF
Creation of a Test Bed Environment for Core Java Applications using White Box...
cscpconf
 
PPT
Web Applications and Deployment
BG Java EE Course
 
PDF
Dynamic Proxy by Java
Kan-Han (John) Lu
 
Making Applications Work Together In Eclipse
Kaniska Mandal
 
Introduction to Spring sec2.pptx
NourhanTarek23
 
chap 10 : Development (scjp/ocjp)
It Academy
 
Unit8 security (2) java
Sharafat Husen
 
Owner - Java properties reinvented.
Luigi Viggiano
 
Laravel Introduction Module 1 Presentation
Raduelico
 
Content Storage With Apache Jackrabbit
Jukka Zitting
 
Why Laravel?
Jonathan Goode
 
Java Interview Questions Answers Guide
DaisyWatson5
 
Consuming and Creating Libraries in C++
Richard Thomson
 
Jira Rev002
Rich Helton
 
SCWCD : Servlet web applications : CHAP : 3
Ben Abdallah Helmi
 
Unit5 servlets
Praveen Yadav
 
Arquillian in a nutshell
Brockhaus Consulting GmbH
 
SCWCD : Servlet web applications : CHAP 3
Ben Abdallah Helmi
 
Creation of a Test Bed Environment for Core Java Applications using White Box...
cscpconf
 
Web Applications and Deployment
BG Java EE Course
 
Dynamic Proxy by Java
Kan-Han (John) Lu
 
Ad

Recently uploaded (20)

PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Digital Circuits, important subject in CS
contactparinay1
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 

WebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo

  • 1. WebLogic Server 11gR1 PS3 (10.3.4) DEMOFiltering ClassLoader & Classloader Analysis ToolJeffrey WestApplication Grid Product Management
  • 2. AgendaOverview of WebLogic’s ClassLoadersOverview of WebLogic’s ClassLoader Analysis ToolDemo of WebLogic’s ClassLoader Analysis ToolConclusion & WebLogic Resources
  • 3. WebLogic ClassLoader HierarchyTop-Down Class Loading (Default)SYSTEM ClassLoader loads:WebLogic Implementation classes
  • 4. Classes on the System Classpath
  • 5. PRE_CLASSPATH and EXT_PRE_CLASSPATHSYSTEMDOMAIN ClassLoader loads:Classes from <domain_dir>/lib DOMAINAPPLICATION ClassLoader loads:Java EE Shared Libraries referenced in weblogic-application.xml
  • 6. Any Modules defined in the application
  • 7. Libraries from Java EE 5 <library-directory> directive or /lib if none configured
  • 8. Libraries from <EAR>/APP-INF/lib APPLICATIONWEB APP ClassLoader loads:Java EE Shared Libraries referenced in weblogic.xml
  • 11. Enables Servlets and JSPs to see EJB classes
  • 12. Enables redeployment of Web Apps w/o redeploying EJBsWEB APP
  • 13. APPLICATIONWEB APPWebLogic Filtering ClassLoaderForce classes to be loaded from the APPLICATIONThe FilteringClassLoader mechanism allows you to specify classes that should always be loaded from the application (not the SYSTEM ClassLoader)This allows you to use alternate versions of applications, such as Xerces and Ant, than those that are packed with WebLogicEnables resources from the child of the FilteringClassLoader (an Application classloader) down to the calling classloader are returned before the ones from the system classloaderThe FilteringClassLoader is configured with a list of packages specified in weblogic-application.xml or weblogic.xml (introduced in 10.3.3) files. SYSTEMDOMAINFILTERINGClassLoader
  • 14. Filtering ClassLoader ConfigurationSpecify Packages to load from APP-INF/lib & WEB-INF/libSpecify the packages that should be loaded by the Application including:Java EE Shared LibrariesEAR: /lib (preferred)EAR: APP-INF/lib WAR: WEB-INF/libOverrides the classes that are loaded with WebLogic allowing you to use libraries that may conflict with those included in WebLogic
  • 15. There are two options for configuring the classloader in at the Web Application level<container-descriptor> / <prefer-application-packages><container-descriptor> / <prefer-web-inf-classes>Only one of these options can be used at a timeOracle recommends using <prefer-application-packages> to configure the FilteringClassLoader<prefer-application-packages>(Recommended)<prefer-web-inf-classes>Allows a Web Application to use its own third-party libraries from WEB-INF/lib by specifying certain packages that should always be loaded from the Web ApplicationAllows a Web application to use its own version third-party classes from WEB-INF/classes, which might also be part of WebLogic ServerWeb Filtering ClassLoader ConfigurationLoad Classes from WEB-INF
  • 16. Customer ClassLoader StructureAdvanced Configuration for Reloading ClassesCustom classloader hierarchies allow better control over class visibility and reload-abilityThe ability to create custom module ClassLoaders provides a mechanism to declare alternate classloader organizations that allow the following:Reloading individual EJB modules independentlyReloading groups of modules to be reloaded togetherReversing the parent child relationship between specific Web modules and EJB modulesNamespace separation between EJB modules
  • 17. AgendaOverview of WebLogic’s ClassLoadersOverview of WebLogic’s ClassLoader Analysis ToolDemo of WebLogic’s ClassLoader Analysis ToolConclusion & WebLogic Resources
  • 18. WebLogic ClassLoader Analysis ToolNEW in WebLogic 11gR1 (10.3.4)Application provided libraries can collide with 3rd party libraries used by WebLogic ServerHard to diagnose class and library conflictsFiltering Classloader feature enables applications to use their own librariesCorrectly configuring it can be a challengeClassloader Analysis Tool Helps Identify and Resolve Conflicts QuicklyCAT cracks open the classloader black boxDisplays classloaders’ hierarchies and sourcesAllows you to search for a class/resource on a classloaderViews class definitions, interfacesAnalyzes classpath conflicts, generates corresponding filtering classloader configurationCATWebLogicClassLoaders
  • 19. Analyze Classpath ConflictsWebLogic 10.3.4 ClassLoader Analysis ToolThe ClassLoader Analysis tool shows you where the class conflicts areThis allows you to see the conflicting libraries, where they are located and allows you to decide how to resolve itClassLoader Configuration SuggestionWebLogic 10.3.4 ClassLoader Analysis ToolThe ClassLoader Analysis tool provides the XML configuration necessary for configuring the Filtering ClassLoaderThis significantly eases the configuration required to take advantage of this advanced featureOnly available in WebLogic 10.3.4 and later
  • 20. AgendaOverview of WebLogic’s ClassLoadersOverview of WebLogic’s ClassLoader Analysis ToolDemo of WebLogic’s ClassLoader Analysis ToolConclusion & WebLogic Resources
  • 21. AgendaOverview of WebLogic’s ClassLoadersOverview of WebLogic’s ClassLoader Analysis ToolDemo of WebLogic’s ClassLoader Analysis ToolConclusion & WebLogic Resources
  • 22. Find us Online!www.YouTube.com/OracleWebLogicGive us feedback! @OracleWebLogicwww.twitter.com/OracleWebLogicwww.facebook.com/OracleWebLogicwww.oracle.com/technetwork/middleware/weblogic