When Ali-Tomcat is used to start multiple High-speed Service Framework (HSF) applications on the same instance, the temporary directory may not be deleted or class loading errors may occur.

Symptoms

The following error is reported when HSF applications are started: java.net.BindException: Can't assign requested address.

Causes

The current IP address and port fail to be obtained.

Solutions

Set the following JVM parameter.

In addition to configuring the preceding startup parameters, you can also modify the listening port in conf/server.xml under the tomcat directory as follows:

-Dhsf.server.ip=IP address of your local network interface controller -Dhsf.server.port=12200