Include the server name and JVM arguments in the Gradle Jib build configuration.

1. Open the Gradle build file and append the container block at the end of the Jib configuration section.

Syntax:

container {
jvmFlags = ['ARG1=Value','ARG2=Value']
}

e.g.

container { jvmFlags = ['-Dserver.name=tomcat10','-Dhost.name=tomcat'] }

Screenshot 1 — Include the server name and JVM arguments in the Gradle Jib build configuration.

Monitoring with Applicare

Was this article helpful?

Votes and follows are kept by Zendesk, so they need a Help Center account. These buttons open this article there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support