SlideShare a Scribd company logo
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Tips and Tricks for the OSGi Web Console
Kevin Nennig | AEM Practice Lead | Adobe Digital Learning Services
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 2
1 | Understanding the Web Console
2 | Learn about each area of the web console
3 | Demo using some of the tips and tricks
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
AEM’s Web Console
 Belongs to the OSGi layer
 A part of the Apache Felix project
 Monitors every piece of the
architecture
 Can configure applications
3
JVM
Custom Code
AEM Modules
OSGi (Apache Felix)
Apache Sling
JCR (Apache Jackrabbit Oak)
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi Web Console
 You’ve heard of it
 You’ve used it
 You might manage it
 How much do you actually know though?????
4
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
What’s in the Web Console??
 Main – Product and Repository tools
 OSGi – OSGi tools
 Sling – Sling tools
 Status – Output for all consoles
 Web Console – System information
5
JVM
Custom Code
AEM Modules
OSGi
Apache Sling
JCR (Apache Jackrabbit Oak)
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Main
 Crypto Support
 Create Crypto text for configurations
 Disk Benchmark
 Test r/w speeds to the hard disk
 JMX
 Simple JMX console for access to mbeans
 MIME Types
 View supported MIME types
6
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Main
 OSGi Installer
 Find the install location of a bundle
 Repository Check (based on a JCR Path)
 Output repository size in bytes
 Log node paths
7
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > OSGi
 Bundle Management
 What are Components?
 Implementation of
 Events
 Schedulers
 Servlets
 Models
 What are Services?
 Interface
 Runnable
 Servlet
 EventHandler
 JobConsumer
8
Bundle
Service
Component
Configuration
Service
Component
Configuration
Service
Component
Configuration
Bundle
Bundle
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > OSGi
 Bundle
 A bundle must be Active to use the components
 Newest bundles have the highest ID
 Components
 Click the wrench of a component to open it’s corresponding config
 Package Dependencies
 Use to quickly find a maven dependency to add to your project
 Services
 View service / implementation relationships
9
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > OSGi
 Configuration
 A checkmark indicates component’s
defaults are no longer used
10
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > OSGi
 Configuration
 Use the web config to create the
sling:OsgiConfig node
11
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > OSGi
 OSGi Configurations
 Best practice: Use an sling:OsgiConfig node
 When setting via the Web Console > OSGi > Configuration
 Saved in the JCR as .config files
 Generally saved to /apps/system/config
 Alternatively, use the CRXDE Lite Query tool
12
PID
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Sling
 Features
 Quickly understand what features are enabled in AEM
 Most are asset features
 Log Support
 Simple way to create adhoc loggers
 Resource Resolver
 View your custom sling mappings from /etc/map (Ctrl+F “Mapping Map Entries”)
 Only valid mappings will show up in this console
 View ALL Vanity URLs authors setup under page properties (Ctrl+F
“/content/yourSite”)
 Sling Adapters
 FULL list of all adaptations you can do on each java object
 Ex: Node node = resource.adapTo(Node.class);
13
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Sling
 Features
 OSGi > Configurations do a Crtl+F “Feature Flag” to find all configs
 File System Class Loader
 View HTL cached as Java to debug syntax
 Log Support
 You can create a logger for a JCR path by replacing / with .
 Ex: /apps/myproject/components/ = apps.myproject.components
 Resource Resolver
 Use the Configuration Test to find an AEM console in /libs to customize
 Ex: assets.html resolves to /libs/dam/gui/content/assets
14
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Sling
 Sling Health Checks
 Can quickly run all health checks in one place
 OSGi > Confguration
 Custom composite health check
 Add custom tags to health checks
 Custom health check
15
OOTB Tags
bundles  security  production  login  dos  sling 
dispatcher  cq  replication  csrf  acl  webserver 
clickjacking
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Status
 Dump of different mechanisms within OSGi
 OSGi information
 Sling Information
 Cached file information
 JVM output
 Threading info
 Log files
 Status output via cURL
 Requests can be .html, .json, or .txt
16
$ curl http://admin:admin@localhost:4502/system/console/<console>
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Status
 Many status dumps have a corresponding
management console
 Status consoles can be uses to quickly find
and verify a certain setting
17
Main > OSGi Installer
Main > Product Information
Main > Felix Http Whiteboard
Main > Http Service
OSGi > Bundles
OSGi > Configurations
OSGi > Components
OSGi > Services
Sling > Metrics
Sling > Resource Resolver
Sling > Sling Adapters
Sling > Topology Management
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Status
 Each time a status dump loads you have several downloadable options
 All are buttons are based upon the timestamp
 Download As Text
 Single text file of the current dump
 Download As Zip
 Separated text files of the dump if several status are concatenated
 Download Full Text
 Single text file of all dumps in the Status tab
 Download Full Zip
 Seperated text files of all dumps in the Status tab
18
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Status
 Granite Replication
 Use to verify correct replication agents
 Product Information
 See what AEM version / SP is installed
 Sling Scheduler
 View / verify when a scheduler will trigger next
 Sling Service User Mappings
 View all bundle/subservices using a service user
 Sling Settings
 View active AEM runmodes
 View where the server is installed locally
19
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Status
 Configurations
 Use a quick Ctrl+F to find a property value of a config
 Log Files
 Download log files if you don’t have access to the server
 Uploaded Packages
 View / verify what content packaged uploaded / installed
20
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Web Console > Web Console
 Licenses
 Every License that exists in the
Bundles
 Memory Usage
 Overview Console
 System Information
 Start level configuration
 Server stats
 JVM stats
21
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 22
Demo
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Resources
 Felix Web Console
 http://felix.apache.org/documentation/subprojects/apache-felix-web-console.html
 Slideshare
 https://www.slideshare.net/KevinNennig/tips-and-tricks-in-the-osgi-web-console
 Github Project
 https://github.com/knennigtri/Immerse-Demo
 Health checks
 https://docs.adobe.com/docs/en/aem/6-2/administer/operations/operations-dashboard.html
 Adobe Digital Learning Services Courses
 https://training.adobe.com/training/current-
courses.html#solution=adobeExperienceManager&p=1
23
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Q&A
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.24
Kevin Nennig
nennig@adobe.com
Github: knennigtri
Twitter: @knennigtri
LinkedIn: /in/kevinnennig
© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

More Related Content

PPTX
AEM Communities 6.1 - MongoSV '15
PDF
Maximize the power of OSGi in AEM
PPTX
All you know about ASP.NET deployment is wrong!
PPTX
AEM (CQ) Dispatcher Caching Webinar 2013
PDF
Spring Boot & Actuators
PPTX
AEM (CQ) Dispatcher Security and CDN+Browser Caching
PDF
Serverless Media Workflow
PPTX
CI/CD with AWS Code Services
AEM Communities 6.1 - MongoSV '15
Maximize the power of OSGi in AEM
All you know about ASP.NET deployment is wrong!
AEM (CQ) Dispatcher Caching Webinar 2013
Spring Boot & Actuators
AEM (CQ) Dispatcher Security and CDN+Browser Caching
Serverless Media Workflow
CI/CD with AWS Code Services

What's hot (12)

PDF
Beyond AEM Curl Commands
PDF
Api manager preconference
PDF
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
PDF
Securing applications
PDF
Where is cold fusion headed
PDF
Asynchronous OSGi – Promises for the Masses - T Ward
PPTX
Load Balancing, Failover and Scalability with ColdFusion
PDF
Become a Security Rockstar with ColdFusion 2016
PDF
Locking Down CF Servers
PDF
Session State Caching with Spring
PDF
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
PDF
S903 palla
Beyond AEM Curl Commands
Api manager preconference
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
Securing applications
Where is cold fusion headed
Asynchronous OSGi – Promises for the Masses - T Ward
Load Balancing, Failover and Scalability with ColdFusion
Become a Security Rockstar with ColdFusion 2016
Locking Down CF Servers
Session State Caching with Spring
Powering Test Environments with Amazon EKS using Serverless Tool | AWS Commun...
S903 palla
Ad

Similar to Tips and tricks in the OSGi Web Console (11)

PPTX
Upgrade to cf 2016 1
PPTX
ColdFusion 11 Overview - CFSummit 2013
PPTX
Securing Containers - Sathyajit Bhat - Adobe
PPTX
REST Development made Easy with ColdFusion Aether
PPTX
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
PPTX
search_demystified_presentation for SEO SE<
PPTX
IMMERSE'16 Intro to Adobe Experience Manager & Adobe Marketing Cloud
PDF
PuppetConf 2017 | Adobe Advertising Cloud: A Lean Puppet Workflow to Support ...
PDF
PuppetConf 2017: Adobe Advertising Cloud: Lean Puppet Workflow to Support Mul...
PDF
Unleash your Symfony projects with eZ Platform
PPTX
Cloud Community Engineering - Holiday readiness
Upgrade to cf 2016 1
ColdFusion 11 Overview - CFSummit 2013
Securing Containers - Sathyajit Bhat - Adobe
REST Development made Easy with ColdFusion Aether
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
search_demystified_presentation for SEO SE<
IMMERSE'16 Intro to Adobe Experience Manager & Adobe Marketing Cloud
PuppetConf 2017 | Adobe Advertising Cloud: A Lean Puppet Workflow to Support ...
PuppetConf 2017: Adobe Advertising Cloud: Lean Puppet Workflow to Support Mul...
Unleash your Symfony projects with eZ Platform
Cloud Community Engineering - Holiday readiness
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
Machine Learning_overview_presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
SOPHOS-XG Firewall Administrator PPT.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A comparative analysis of optical character recognition models for extracting...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Tips and tricks in the OSGi Web Console

  • 1. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Tips and Tricks for the OSGi Web Console Kevin Nennig | AEM Practice Lead | Adobe Digital Learning Services
  • 2. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 2 1 | Understanding the Web Console 2 | Learn about each area of the web console 3 | Demo using some of the tips and tricks
  • 3. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. AEM’s Web Console  Belongs to the OSGi layer  A part of the Apache Felix project  Monitors every piece of the architecture  Can configure applications 3 JVM Custom Code AEM Modules OSGi (Apache Felix) Apache Sling JCR (Apache Jackrabbit Oak)
  • 4. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi Web Console  You’ve heard of it  You’ve used it  You might manage it  How much do you actually know though????? 4
  • 5. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. What’s in the Web Console??  Main – Product and Repository tools  OSGi – OSGi tools  Sling – Sling tools  Status – Output for all consoles  Web Console – System information 5 JVM Custom Code AEM Modules OSGi Apache Sling JCR (Apache Jackrabbit Oak)
  • 6. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Main  Crypto Support  Create Crypto text for configurations  Disk Benchmark  Test r/w speeds to the hard disk  JMX  Simple JMX console for access to mbeans  MIME Types  View supported MIME types 6
  • 7. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Main  OSGi Installer  Find the install location of a bundle  Repository Check (based on a JCR Path)  Output repository size in bytes  Log node paths 7
  • 8. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > OSGi  Bundle Management  What are Components?  Implementation of  Events  Schedulers  Servlets  Models  What are Services?  Interface  Runnable  Servlet  EventHandler  JobConsumer 8 Bundle Service Component Configuration Service Component Configuration Service Component Configuration Bundle Bundle
  • 9. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > OSGi  Bundle  A bundle must be Active to use the components  Newest bundles have the highest ID  Components  Click the wrench of a component to open it’s corresponding config  Package Dependencies  Use to quickly find a maven dependency to add to your project  Services  View service / implementation relationships 9
  • 10. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > OSGi  Configuration  A checkmark indicates component’s defaults are no longer used 10
  • 11. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > OSGi  Configuration  Use the web config to create the sling:OsgiConfig node 11
  • 12. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > OSGi  OSGi Configurations  Best practice: Use an sling:OsgiConfig node  When setting via the Web Console > OSGi > Configuration  Saved in the JCR as .config files  Generally saved to /apps/system/config  Alternatively, use the CRXDE Lite Query tool 12 PID
  • 13. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Sling  Features  Quickly understand what features are enabled in AEM  Most are asset features  Log Support  Simple way to create adhoc loggers  Resource Resolver  View your custom sling mappings from /etc/map (Ctrl+F “Mapping Map Entries”)  Only valid mappings will show up in this console  View ALL Vanity URLs authors setup under page properties (Ctrl+F “/content/yourSite”)  Sling Adapters  FULL list of all adaptations you can do on each java object  Ex: Node node = resource.adapTo(Node.class); 13
  • 14. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Sling  Features  OSGi > Configurations do a Crtl+F “Feature Flag” to find all configs  File System Class Loader  View HTL cached as Java to debug syntax  Log Support  You can create a logger for a JCR path by replacing / with .  Ex: /apps/myproject/components/ = apps.myproject.components  Resource Resolver  Use the Configuration Test to find an AEM console in /libs to customize  Ex: assets.html resolves to /libs/dam/gui/content/assets 14
  • 15. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Sling  Sling Health Checks  Can quickly run all health checks in one place  OSGi > Confguration  Custom composite health check  Add custom tags to health checks  Custom health check 15 OOTB Tags bundles  security  production  login  dos  sling  dispatcher  cq  replication  csrf  acl  webserver  clickjacking
  • 16. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Status  Dump of different mechanisms within OSGi  OSGi information  Sling Information  Cached file information  JVM output  Threading info  Log files  Status output via cURL  Requests can be .html, .json, or .txt 16 $ curl http://admin:admin@localhost:4502/system/console/<console>
  • 17. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Status  Many status dumps have a corresponding management console  Status consoles can be uses to quickly find and verify a certain setting 17 Main > OSGi Installer Main > Product Information Main > Felix Http Whiteboard Main > Http Service OSGi > Bundles OSGi > Configurations OSGi > Components OSGi > Services Sling > Metrics Sling > Resource Resolver Sling > Sling Adapters Sling > Topology Management
  • 18. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Status  Each time a status dump loads you have several downloadable options  All are buttons are based upon the timestamp  Download As Text  Single text file of the current dump  Download As Zip  Separated text files of the dump if several status are concatenated  Download Full Text  Single text file of all dumps in the Status tab  Download Full Zip  Seperated text files of all dumps in the Status tab 18
  • 19. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Status  Granite Replication  Use to verify correct replication agents  Product Information  See what AEM version / SP is installed  Sling Scheduler  View / verify when a scheduler will trigger next  Sling Service User Mappings  View all bundle/subservices using a service user  Sling Settings  View active AEM runmodes  View where the server is installed locally 19
  • 20. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Status  Configurations  Use a quick Ctrl+F to find a property value of a config  Log Files  Download log files if you don’t have access to the server  Uploaded Packages  View / verify what content packaged uploaded / installed 20
  • 21. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Console > Web Console  Licenses  Every License that exists in the Bundles  Memory Usage  Overview Console  System Information  Start level configuration  Server stats  JVM stats 21
  • 22. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 22 Demo
  • 23. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.© 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Resources  Felix Web Console  http://felix.apache.org/documentation/subprojects/apache-felix-web-console.html  Slideshare  https://www.slideshare.net/KevinNennig/tips-and-tricks-in-the-osgi-web-console  Github Project  https://github.com/knennigtri/Immerse-Demo  Health checks  https://docs.adobe.com/docs/en/aem/6-2/administer/operations/operations-dashboard.html  Adobe Digital Learning Services Courses  https://training.adobe.com/training/current- courses.html#solution=adobeExperienceManager&p=1 23
  • 24. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Q&A © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.24 Kevin Nennig nennig@adobe.com Github: knennigtri Twitter: @knennigtri LinkedIn: /in/kevinnennig
  • 25. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Editor's Notes

  • #6: Main – Product and Repository Tools OSGi – OSGi Tools Sling – Sling tools Status – Output for anything Web Console – System Information
  • #14: Features: MOSTLY ASSETS Dynamic Media, auto tagging, Asset Collections, Assets Homepage, Reporting, insights, renditions, etc