Setting the type of IP addresses accepted in Java 11
Manually added a custom container property in the Properties Panel, Custom tab for runtimes to set the type of IP addresses that are accepted in Java 11.
Before you begin
You must have the Runtime Management privilege to perform this task. If you have the Runtime Management Read Access privilege, you cannot perform the task. The runtime must be online and you must be the owner of the runtime to view and edit the Properties Panel, Custom tab.
About this task
The Java class InetAddress accepts only IPv4 address literals in decimal quad notation. You can expand the type of IP addresses accepted by using the Custom property allowAmbiguousIPAddressLiterals. Use the following instructions to apply this property to your runtime:
Procedure
-
In the service, go to Manage > Runtime Management.
-
Select a runtime from the list on the left.
-
Under Settings & Configuration, click Properties.
-
Click on the Custom tab.
-
Under the Container Properties heading, click Add a Property.
-
In the Property Name field, enter
com.boomi.allowAmbiguousIPAddressLiterals. In the Property Value field, enter true.noteEntering a value of false disables this property and the
InetAddressclass will accept only IPv4 literals in decimal quad notation. Any other type of IPv4 address literals will result in ajava.net.UnknownHostExceptionerror. -
Click Save.
You are prompted to restart your runtime. Click Yes, restart now to immediately restart your runtime or click No, restart later to manually restart your runtime at a later time.