question

Upvotes
16 0 1 2

The cache list size for the application is set to 0, which is illegal.

We configred the NI Provider at RTDS, tested with teserserver and make sure it works.

But once we mount the application developed with the EMA API, there's error message in the adh.log:
<cipsnylab1.1.adh.sourceSSLDistribution.sslDispatcher.TEST_NIP: Error: Wed Sep 18 04:03:32 2024>
Failed to start server "TEST_NIP" for the RSSL application "TEST_NIP".
Server start-up failed because:
The cache list size for the application is set to 0, which is illegal.
Make sure that the application is configured correctly.

I found there're simular cases, such as:

https://community.developers.refinitiv.com/questions/12502/adh-ni-provider-cache-list-size.html

I checked the setting, e.g:

  1. *REPUB*cacheLocation : ssl
  2. *REPUB*cacheType : sourceDriven
  3. apis11*adh**REPUB*maxCache: 5000

But we still failed.


Please, masters, do you had met this scenario and resolved it. Appreciate for support, thanks!

#technology#productema-apijavanon-interactive-provider
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
85.5k 292 53 77

@zheng.huang1

Thank you for reaching out to us.

If you are using TEST_NIP as a NI service, the configuration should be like this:

*adh*TEST_NIP*cacheLocation : ssl
*adh*TEST_NIP*cacheType : sourceDriven
*adh*TEST_NIP*maxCache : 50000

If this doesn't work, please share your configuration file.

Are you using EMA C++, Java, or .NET?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
16 0 1 2

rmds 1.zip

Thanks Jirapongse.

I attached the RTDS config file and using EMA Java.


rmds-1.zip (11.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
85.5k 292 53 77

@zheng.huang1

I am not sure about this line.

1726824043938.png

Are you starting the instance#1 of ADH?

Otherwise, you can add the OpenLimit in the directory configuration.


                <StateFilter>
                    <!-- 0 means service is down, 1 - means service is up (default; 1) -->
                    <ServiceState value="1"/>
                    <!-- 0 means service does not accept, 1 - means service accepts (default; 1) -->
                    <AcceptingRequests value="1"/>
                    <!-- optional; specifies status change to apply to all items provided by this service -->
                    <!-- possible values are listed in the OmmState.h file of the EMA -->
                    <Status>
                        <!-- possible values are: Open, Close, CloseRecover -->
                        <StreamState value="StreamState::Open"/>
                        <!-- possibe values are: NoChange, Ok, Suspect    -->
                        <DataState value="DataState::Ok"/>
                        <!-- possible values are: None, DacsDown, etc    -->
                        <StatusCode value="StatusCode::None"/>
                        <!-- a text field    -->
                        <StatusText value=""/>
                    </Status>
                </StateFilter>
                <LoadFilter>
                    <OpenLimit value="50000"/>
                </LoadFilter>
            </Service>

1726825707197.png



1726824043938.png (10.6 KiB)
1726825707197.png (28.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.