Starting bbcomm in Java v3 Bloomberg API

前端 未结 4 1935
鱼传尺愫
鱼传尺愫 2021-01-05 12:57

When I use the Java Bloomber V3 API it usually works. However, sometimes, especially after a reboot, bbcomm.exe is not running in the background. I can start it manually by

4条回答
  •  渐次进展
    2021-01-05 13:06

    After talking to the help desk, it turns out that on 64 bit Windows, running under a 64bit JVM bbcomm is not automatically started. This does not happen under 32bit Java - under 32 bit bbcomm automatically runs.

    So my solutions are either to wait for the problem to be fixed by Bloomberg (now I understand it) or to check this specific case.

    To check the specific case:

    • if running under a 64 bit windows (System property os.arch)
    • and if running under a 64bit JVM (System property java.vm.name)
    • then try and start a session
    • If this fails, assume bbcomm.exe is not running. Try to run bbcomm.exe using Runtime.exec()

    I haven't tested the above yet. It may have exactly the same issues as Bloomberg have with 64bit VMs.

提交回复
热议问题