question

Upvotes
Accepted
23 7 11 13

MAC OS has issue to run RFAJ , Windows is OK

Hi Sir

RFAJ program is running well on WINDOWS, but not on MAC OS.

Looks program suspend just before receiving the LOGON Success message.

/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=GBK -classpath "/Users/pifu.lxr/Documents/workspace_idea/MyRFAExample/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/tools.jar:/Users/pifu.lxr/Documents/workspace_idea/MyRFAExample/lib/rfa.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain com.tr.ss.xf.training.SimpleConsumer

field dictionary read from RDMFieldDictionary file

enum dictionary read from enumtype.def file

LoginClient: Sending login request

LoginClient.processEvent: Received Login Response

LoginClient: Received Login Response - MsgType.REFRESH_RESP

MESSAGE

Msg Type: MsgType.REFRESH_RESP

Msg Model Type: LOGIN

Indication Flags: REFRESH_COMPLETE

Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_RESP_TYPE_NUM | HAS_STATE

State: OPEN, SUSPECT, NONE, "All connections pending"

Group: 0000

RespTypeNum: 0 (RespType.SOLICITED)

AttribInfo

Name: user1

NameType: 1 (USER_NAME)

Attrib

ELEMENT_LIST

ELEMENT_ENTRY ApplicationId: 256

ELEMENT_ENTRY Position: 30.17.233.208/pifu.local

ELEMENT_ENTRY AllowSuspectData: 1

ELEMENT_ENTRY SingleOpen: 1

ELEMENT_ENTRY SupportBatchRequests: 7

ELEMENT_ENTRY SupportOptimizedPauseResume: 1

ELEMENT_ENTRY SupportPauseResume: 1

ELEMENT_ENTRY SupportViewRequests: 1

ELEMENT_ENTRY SupportEnhancedSymbolList: 1

ELEMENT_ENTRY SupportOMMPost: 1

Payload: None

120 seconds elapsed, class com.tr.ss.xf.training.SimpleConsumer cleaning up

treprfarfa-api
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
Accepted
15.8k 28 8 12

Hi @jessie.lin

Based on the RFA Java README file section 4.1, the API supports following platforms only:

  • Microsoft Windows Server 2008 (SP1 or greater) 64-bit
  • Windows Server 2012 Enterprise Edition 64bit
  • Windows 7 Professional - 64bit
  • Windows 8 - 64bit
  • Windows 8.1 Professional 64-bit
  • Windows 10 Professional 64-bit
  • Red Hat Enterprise Linux Advanced Server 6.0 (or grater) 64-bit
  • Oracle Linux Server 6.0 (or greater) 64-bit )
  • Oracle Linux Server 7.0 (or greater) 64-bit
  • CentOS Linux 7.0 (or greater) 64-bit
  • Solaris 10 X86 (Update 2 or greater) 64-bit
  • Solaris 11 X86 (or greater) 64-bit

Regarding section 4.4

4.4 Support for non-core platforms
   
    Thomson Reuters fully supports the use of the RFA Java Edition developers
    kit on the core platforms listed in Section 4.1.


    Thomson Reuters will extend support to other platforms based on the 
    following criteria:
    - RFA Java is used with a JSE 7 compliant JVM
    - The "pure Java" configuration of RFA Java Edition is being used.
      (see section 4.3 for details)
    - All problems must be reproducible on one of the core platforms 
      listed in the section 4.1. Thomson Reuters support teams will only be able
      to reproduce problems on the core platforms.

Did the problem in the supported platforms above? Can the Mac machine network reach to the ADS server?

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
23 7 11 13

The program is too big to attach, below are the download link:

downloadlink: http://pan.baidu.com/s/1geJOmUv

Password: naw6

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
1.5k 4 5 7


My guess is that your Mac OS X machine cannot reach/resolve the ADS host. So there's an environment specific difference between your Mac OS machine and your Windows machine.

Let's say your application is trying to reach adshost:14002. Then you should go through the following analysis:

  • RESOLVE: Can my machine properly resolve 'adshost' into an IP address? If you are on Mac OS X then you can use tool nslookup for this purpose.
  • REACH: Can my machine create a TCP socket to 'adshost' on port 14002 ? I normally use a telnet client for this test. (not because of telnet protocol itself, but because the telnet client is simply the easiest way to test this and telnet client is readily available on almost all platforms).

The above questions and how to get them answered are good things to know regardless of what software you are working with.

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
1.9k 7 9 16

Hello @jessie.lin,

First of all, RFA Java doesn't support MAC OS platform, which may or may not relate this issue. Anyway, I'll try to check whether it is just from a usage problem rather than the API's limitation itself.

According to the information from the mountTrace parameter, it indicates that RFA can connect to 10.35.30.44:14002 machine.

Thread: aNamespace::consSession Session EventQueueGroup
Connection 0
RSSL Transport attempt to connected to 10.35.30.44:14002

Thread: aNamespace::consSession Session EventQueueGroup
Connection 0
RSSL Transport connected to 10.35.30.44:14002

Can you uncomment the following statement to the configuration settings part?

configDb.addVariable("myNamespace.Connections.myConnection.ipcTraceFlags", "31");

After that, restart that application, replicate the problem again, and give me the latest RFA_RSSL<x>.log file affected by this ipcTraceFlags parameter to me for analysis.

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.