After switching deployed application with RFA to new server we received the following error messa...

After switching deployed application with RFA to new server we received the following error message: com.reuters.mainloop.DispatchException: Position 62 is greater than maximum position 32. What does this mean?
Tagged:

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi @andreas.a.stocker

    We no longer support RFA v6.0 and have not done for quite some time now. The oldest version I have on my local PC is v6.4 which was released in 2009 - so 6.0 is going to be several years older than that.

    To make matters worse, looking at your source code, you are using the legacy MarketData interface which is even older than the OMM interface that is used by the most recent versions of RFA.

    The most recent version we support which still includes the MarketData interface is v7.7 which can be downloaded from Downloads | Refinitiv Developers

    You can certainly try rebuilding your app using RFA 7.7- but I would not recommend you do this.

    The best course of action would be to migrate your code to EMA Java - one of our strategic APIs which forms part of the Real-Time Java SDK. This will provide longer-term support and ease of maintenance for your code.

    Looking at your code, I don't expect it would be a huge effort to replace the RFA code with EMA Code.

    Whilst, you will need to spend some time learning EMA - it is designed as an 'ease of use' API and requires very few lines of code to connect to the server, request data and extract the fields from the data.

    I recommend you study the 1st four of the EMA Java tutorials to confirm for yourself how easy it to use - Tutorials | Refinitiv Developers - you can finish with 'EMA Consumer - Parsing and Decoding MarketPrice data' - the remaining tutorials would not be applicable to your use case.

    Once you have studied the tutorials and wish to explore further, you can download, build an example and run an EMA Example by following the Quick Start | Refinitiv Developers

Answers