CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

adobe/aem-6-5-lts

All AEM 6.5 LTS skills: Workflow model design, development, triggering, launchers, debugging, and triaging; Dispatcher config authoring, advisory, incident response, performance tuning, and security hardening; Replication agent configuration, content activation, API usage, and troubleshooting for AEM 6.5 LTS and AMS environments; Jackrabbit Oak query/index tuning (property, Lucene index definitions); and extracting/inventorying JCR queries (XPath, SQL2, QueryBuilder) across a codebase.

Quality

79%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

reference.mdskills/aem-workflow/workflow-debugging/

AEM Workflow Debugging – Reference (6.5 LTS / AMS)

Quick pointers used by the workflow-debugging skill. Use the SKILL.md Step 1 symptom table for the symptom → first-action map; the entries below are for quick access to JMX/config, diagnostic tools, log patterns, and external docs.


Key JMX and config (AEM 6.5 / AMS)

ItemWhere
Workflow parallelismApache Sling Job Queue Configuration → "Granite Workflow Queue" → queue.maxparallel. Note: the cq.workflow.job.max.procs property displayed under WorkflowSessionFactory has no runtime effect
RetryWorkflowSessionFactory → cq.workflow.job.retry
PurgeWorkflowOperationsMBean (com.adobe.granite.workflow:type=Maintenance) or Purge Scheduler
Stale restartJMX: countStaleWorkflows, restartStaleWorkflows(dryRun then execute)
Queue infoJMX: returnSystemJobInfo, returnWorkflowQueueInfo
Sling default thread poolorg.apache.sling.commons.threads DefaultThreadPool; block policy ABORT can reject workflow timeout jobs when pool is full

6.5 LTS / AMS diagnostic tools

ToolWherePurpose
Felix Console/system/consoleOSGi bundles, configs, components
JMX Console/system/console/jmxWorkflow MBeans, Sling Job MBeans
Config Status ZIPFelix Console → Status → Configuration StatusFull config dump, thread pools, Sling Jobs, schedulers
Thread dumpjstack or AMS support requestThread analysis
Workflow Console/libs/cq/workflow/admin/console/content/instances.htmlInstance status, work items, history
Sling Jobs page/system/console/slingeventQueue depth, failed jobs, active jobs, topic statistics
Sling Thread Pools/system/console/status-slingthreadpoolsPer-pool active count, max size, block policy
Threads/system/console/status-ThreadsLive thread states with stacks
jstack thread dump/system/console/status-jstack-threaddumpjstack-style snapshot
Sling Scheduler/system/console/status-slingschedulerQuartz-scheduled jobs and their ThreadPool
Inbox/aem/inboxRetry failed work items, complete tasks

Log patterns

  • Error executing workflow step – Process/step exception
  • getProcess for '<name>' failed – Process not registered
  • Cannot archive workitem – Stale risk
  • refreshing the session since we had to wait for a lock – Contention
  • Terminate failed / Resume failed / Suspend failed – Permissions
  • PathNotFoundException (workflow/payload) – Payload or launcher path

External docs (Experience League)

  • Workflows (6.5)
  • Workflow API (6.5 Javadoc)

skills

README.md

tile.json