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

PDF
PPT
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
PPTX
Getting Program Input
PPT
Introduction to Java Programming
PPTX
Hybrid automation framework
PPTX
SLF4J Explained........
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Getting Program Input
Introduction to Java Programming
Hybrid automation framework
SLF4J Explained........

What's hot (20)

PPT
Oop lecture4
PPTX
Functional Application Logging : Code Examples Using Spring Boot and Logback
PPTX
AAC Room
PDF
Data Persistence in Android with Room Library
PPTX
Java 8 New features
PPT
Oracle 10g Forms Lesson 13
PDF
Object Oriented Programming with Laravel - Session 6
PPT
XmlBlackBox English Presentation
PPTX
Architecture diagram of jvm
PDF
Custom annotation processors for your production code
PPT
DOSUG XML Beans overview by Om Sivanesian
PPT
JVM- Java Virtual Machine
PPTX
Lambda expressions java8 - yousry
PPT
Java-java virtual machine
DOCX
Unit of competency
PDF
Testing with Spring: An Introduction
PPS
Java rmi
PPT
Implementing Generic Servers for Eclipse WebTools
PDF
Java basics notes
Oop lecture4
Functional Application Logging : Code Examples Using Spring Boot and Logback
AAC Room
Data Persistence in Android with Room Library
Java 8 New features
Oracle 10g Forms Lesson 13
Object Oriented Programming with Laravel - Session 6
XmlBlackBox English Presentation
Architecture diagram of jvm
Custom annotation processors for your production code
DOSUG XML Beans overview by Om Sivanesian
JVM- Java Virtual Machine
Lambda expressions java8 - yousry
Java-java virtual machine
Unit of competency
Testing with Spring: An Introduction
Java rmi
Implementing Generic Servers for Eclipse WebTools
Java basics notes
Ad

Viewers also liked (20)

PPTX
WebLogic's ClassLoaders, Filtering ClassLoader and ClassLoader Analysis Tool
PDF
Oracle WorkManager
PPTX
Powering the Cloud with Oracle WebLogic
PPTX
WebLogic Server Work Managers and Overload Protection
DOCX
Troubleshooting guide for apache 2.2 service.
PPTX
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
DOC
PDF
PDF
De Mensajería hacia Logs con Apache Kafka
DOC
Syed Vali Resume
PDF
WebLogic on ODA - Oracle Open World 2013
ODP
Apache logs monitoring
PPTX
ApacheCon-HBase-2016
PDF
WebLogic in Practice: SSL Configuration
PDF
SOA Suite 12c Customer implementation
PPT
Web Server(Apache),
PPT
WebLogic Performance on SOLARIS SPARC Servers
PDF
Weblogic Cluster advanced performance tuning
DOC
weblogic perfomence tuning
PDF
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
WebLogic's ClassLoaders, Filtering ClassLoader and ClassLoader Analysis Tool
Oracle WorkManager
Powering the Cloud with Oracle WebLogic
WebLogic Server Work Managers and Overload Protection
Troubleshooting guide for apache 2.2 service.
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
De Mensajería hacia Logs con Apache Kafka
Syed Vali Resume
WebLogic on ODA - Oracle Open World 2013
Apache logs monitoring
ApacheCon-HBase-2016
WebLogic in Practice: SSL Configuration
SOA Suite 12c Customer implementation
Web Server(Apache),
WebLogic Performance on SOLARIS SPARC Servers
Weblogic Cluster advanced performance tuning
weblogic perfomence tuning
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Ad

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Approach and Philosophy of On baking technology
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I
Encapsulation_ Review paper, used for researhc scholars
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Per capita expenditure prediction using model stacking based on satellite ima...
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Programs and apps: productivity, graphics, security and other tools
Approach and Philosophy of On baking technology
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

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