- Custom Log config for different Java Package ?
- Go to http://localhost:4502/system/console/slinglog (felix console --> Sling à Log Support )
- Click on Add New Logger
- Specify logger level(debug, info,warn, error, trace ,default )
- Add log file name and path
- Add package in in multifield.
- How to truncate Request Log File ?
- AEM provides 2 ways to access the logs without the need of special rights. You only need to have access rights to the AEM Web Console or the administrative tools section of AEM.
- Using http://localhost:4502/system/console/status-slinglogs
- Using system diagnostic page http://localhost:4502/libs/granite/operations/content/diagnosis.html
- The request.log offers a built-in way to get a look at how long requests take. For development purposes it is useful to tail -f the request.log and watch for slow response times. To analyze a bigger request.log we recommend the use of rlog.jar which allows you to sort and filter for response times.
- Configure replication agent to flush dispatcher cache ?
- Go to miscadmin and click to replication
- click on agent on author and select Dispatcher flesh cache
- configure path http://localhost:8000/dispatcher/invalidate.cache
- How to upgrade V1 Core Component to V2 Core Component ( Proxy component ) ?
- We are not using core component directly instead crated proxy component which used refer core component as slingResourceSuperType with version information.
- So when you need to update core component make changes in slingResoureceSuperType in proxy component.
- How to make Servlet Access Controlled using Default ACL ?
- Register servlet with resuourceType instead of path so when access particular resource then it has assigned ACL.
- How to prevent sensitive information to stored in Plain text JCR ?
- Enabling Encryption Support
- Go felix console -> main à Crypto Support
- AEM now provides a Configuration Plugin to decrypt configuration properties. This AEM Plugin will automatically decrypt and retrieve the clear text properties.
- What are the strategies to ensure test ability of application code ( Junit )?
- How to automate maven install in Local AEM Instance ?
- Workflow that needs to processed only for pages in particular folder ?
- Use aem workflow launcher feature which configure path and workflow when to trigger
- How to install package on publish instance which was installed in Author ?
- Using package manager and click on replicate so it will available to publish or download for author and install to publish using package mangaer.
- How to make a page to be cached and refresher in the Dispatcher ?
- Activate a page and configure dispatcher flush agent
- Tag used within vault package definition to add new path in content package ?
- Tags exist in /content/cq:tags/ folder so need to add filter for import and export
- Available User Service Mapping for the service component ?
- loginService is not available in component it is violation of MVC pattern
- Maven plugin required to install content package ?
- com.day.jcr.vault
content-package-maven-plugin responsible for installation of package.
Maven build phase ?
- Change the label of Sites in AEM ?
- Go to siteadmin and change the label of Site but you cannot change name of site with out crx/de
- Log to see Exception Stack traces ?
- Error.log default if you are not configured custom logger
- Dispatcher config to review both publish instances ?
- Specify both publish server in renders section as /render1 and /render2
- Configure Client Libs only on touch enabled devices ?
- How does different bundles that referenced OSGI services ?
- When there is new index added, which affects the performance how to debug it ?
- How to enable AEM page that returns JSON format data which is used for Single Page Instances ?
- In the Template Editor where we can add the component so that the author cant be deleted ?
- Start Script to enable remote debugging ?
- How to truncate Request Log File
- How to configure replication agent to flush dispatcher cache
- How to change the version of the components from V1 Core Component to V2 Core Component
- Which Log prints stack traces
- How to make Servlet Access Controlled using Default ACL
- How to prevent sensitive information to be stored in Plain text JCR
- What are the strategies to ensure test ability of application code (Junit )
- How to automate maven install in Local AEM Instance
- Workflow that needs to processed only for pages in particular folder
- How to make a page to be cached and refresher in the Dispatcher
- Which tag is used in file vault package to add new path in content package
- Available User Service Mapping for the service component
- Maven build plugin use