question

FranckLallier-2323 avatar image
0 Votes"
FranckLallier-2323 asked ·

[ERROR] Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true

Dear Support,

I deployed a Spring Boot application on Azure as an App Service and I got this message:

[ERROR] Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true

The message is displayed, I guess, at the start-up.

Can you help me fix this ?

Best Regards,

Devloper_001.

azure-webapps
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JAVA_TOOLS_OPTIONS is an environment variable that's set in the app service. Can you share your app so we can check what the environment variable is being set to? If don't want to share publicly, you can email it to*AzCommunity[at]microsoft[dot]com ATTN Ryan. Include your subscription id as well. Also, am I correct in assuming your using a Tomcat image? To see if the environment variable is causing the issue, you can add SKIP_JAVA_KEYSTORE_LOAD to your application settings and see if you app starts up.



0 Votes 0 ·

1 Answer

JoaquinVano avatar image
0 Votes"
JoaquinVano answered ·

Hi

Probably we will need more data like your site name. Please open a support ticket and we will assist.

https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

Thanks,

Joaquín

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.