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 running blp.exe, but I wondered if there was a way of doing this via the API?
I'm still waiting on Help-Help ...
bbcomm.exe is automatically started by the V3 API.
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:
os.arch
)java.vm.name
)bbcomm.exe
is not running. Try to runbbcomm.exe
usingRuntime.exec()
I haven't tested the above yet. It may have exactly the same issues as Bloomberg have with 64bit VMs.
After spending some time with Help Help, it seems that bbcomm gets started either when you use the Excel API or run the API demo. But it does not get started automatically when called from the Java API. Possible ways to start it are:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
add a String value calledbbcomm
with valueC:\blp\API\bbcomm.exe
- but that opens a command window which remains visible, so not really an option (and if you close that window it terminates the bbcomm process)START /MIN C:\blp\API\bbcomm.exe
and replace the entry in the registry with that (not tested) to call bbcomm silentlyShellUtils.java
We have the same problem on a Windows 7 64-bit machine, using .net API. The bbcomm.exe doesn't start automatically, and the only workaround is to launch the "Bloomberg API DEMO" application...