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¶
- Verify app settings with
az functionapp config appsettings list --name $APP_NAME --resource-group $RG. - Confirm runtime with
az functionapp config show --name $APP_NAME --resource-group $RG --query linuxFxVersion --output tsv. - Stream logs with
az functionapp log tail --name $APP_NAME --resource-group $RG. - Rebuild and redeploy using
mvn clean packageandmvn azure-functions:deploy.
Typical Java issues¶
- Missing
FUNCTIONS_WORKER_RUNTIME=java. - Incompatible JDK level between local build and cloud runtime.
- Missing
azure-functions-java-librarydependency. - Overly small heap settings causing OOM under load.
Review Matrix¶
| Review area | Page-specific check |
|---|---|
| Scope | Confirm the guidance applies to Troubleshooting. |
| Source basis | Validate the recommendation against the Microsoft Learn sources in this page. |
| Evidence | Capture command output, portal state, metrics, logs, or screenshots before treating the result as proven. |