Unable to fetch market data using EMA Java runconsumer450 in linux

I have a client trying to execute EMA Java runconsumer450 code in Linux application server. They are getting the following response when entering machine id, password, client id and itemname in command line.

image

I tried to run the same command in my AWS EC2 environment and I am able to execute. Could this be due to service name (ELEKTRON_DD)? or, probably some other issue?

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi @Sundeep.Tariyal

    Has your client referred to the QuickStart for EMA Java connecting to ERT in Cloud?

    Quick Start | Refinitiv Developers

    If you note the command line parameters on the above QuickStart page and in the help output from the example, you will note that the keyfile and keypasswd are also required e.g.

    ./gradlew runConsumer450 --args='[-username <ERT username/machineId>] [-password <password>]-keyfile /home/ec2-user/Elektron-SDK/Java/keystore.jks -keypasswd changeit' 

    The Prerequisites section of the above page has a link to Java Keystore creation guide page.

    The fact that the example is listing the command line parameters would indicate that one o more parameters are missing when the example is invoked.

Answers