Share via

Azure timer trigger stops execution with error "D:\Program Files\Java\zulu11.48.21-jre11.0.11-win_x64/bin/java exited with code 1"

Gor Sahakyan 1 Reputation point
2022-01-17T10:43:35.617+00:00

Hello,

I've got a Function App that runs a timer trigger function and sometimes the execution just stops and there no error trace just the following message in the log:

D:\Program Files\Java\zulu11.48.21-jre11.0.11-win_x64/bin/java exited with code 1

Anyone knows what it means?

It doesn't happens everytime function is called, only happened few times.

Thanks!

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,511 Reputation points
    2022-01-17T13:05:39.39+00:00

    @Gor Sahakyan ,

    Thanks for reaching out to Q&A.

    This issue appears to be a Java function language worker issue similar to the one reported here : https://github.com/Azure/azure-functions-java-worker/issues/176

    I would suggest you to have a retry mechanism and add more logs in your code so that it would give us more details in the future. Please note that, Zulu for Azure builds of OpenJDK support has ended.

    Please visit : https://devblogs.microsoft.com/java/end-of-updates-support-and-availability-of-zulu-for-azure/

    Microsoft will use the following OpenJDK distributions for these services:

    Microsoft Build of OpenJDK for Java 11 and future versions.
    Eclipse Adoptium’s Temurin for Java 8.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.