All Products
Search
Document Center

Enterprise Distributed Application Service:Increase the HSF service publication limit for an EDAS application

Last Updated:Mar 11, 2026

Problem

When you publish a High-speed Service Framework (HSF) application on Enterprise Distributed Application Service (EDAS), the following error occurs:

java.lang.IllegalArgumentException: publisher count bigger than 800

This error indicates that the application has registered more services than the default limit allows.

Cause

The configclient plug-in of Pandora enforces the following limits on service publication:

Item

Example

Upper limit

Adjustable

{Service name}:{Version number}

com.alibaba.edas.testcase.api.TestCase:1.0.0

192 bytes

No

Group name

aliware

32 bytes

No

Number of services published for a Pandora application instance

N/A

800

Yes

When an application publishes more than 800 services, the configclient plug-in raises the IllegalArgumentException.

Solution

Override the default limit by adding a custom JVM parameter in the EDAS console.

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications.

  3. In the top navigation bar, select the region. In the upper part of the Applications page, select the microservice namespace from the Microservice Namespace drop-down list, and then click the name of the target application.

  4. On the Basic Information tab, find the Application Settings section and click Edit next to JVM Parameters.

  5. In the Application Settings dialog box, expand the Custom section. In the Custom Parameters field, enter -DCC.pubCountMax=2000. Then, click Configure JVM Parameters.

    Parameter used to change the upper limit (800) on the number of services published for an HSF application

  6. Restart the application. The new JVM parameter takes effect after the restart.

Verify the result

After the application restarts, publish the HSF services again. If no IllegalArgumentException error occurs, the limit increase was successful.