Skip to content

Troubleshooting

Quick reference for Java Azure Functions operational workflows.

Topic/Command Groups

flowchart TD
    A[Symptom] --> B[Hypothesis]
    B --> C[Evidence]
    C --> D[Fix]
    D --> E[Validation]

Quick checks

  1. Verify app settings with az functionapp config appsettings list --name $APP_NAME --resource-group $RG.
  2. Confirm runtime with az functionapp config show --name $APP_NAME --resource-group $RG --query linuxFxVersion --output tsv.
  3. Stream logs with az functionapp log tail --name $APP_NAME --resource-group $RG.
  4. Rebuild and redeploy using mvn clean package and mvn azure-functions:deploy.

Typical Java issues

  • Missing FUNCTIONS_WORKER_RUNTIME=java.
  • Incompatible JDK level between local build and cloud runtime.
  • Missing azure-functions-java-library dependency.
  • Overly small heap settings causing OOM under load.

See Also

Sources