Skip to content
Prev 8457 / 15274 Next

blpConnect hangs with RBloomberg 0.4-150 on R2.13.1

Hi John,

Thank you for the response. I tried as you suggest. There are two logs created:

org.findata.blpwrapper.0.log: 

07-Sep-2011 11:24:54 org.findata.blpwrapper.Connection processSessionStatusEvent
INFO: Session Started

blpjavaapi0.log.0:

2011/09/07 11:24:53.981 [INFO] **********************************************************
2011/09/07 11:24:54.340 com.bloomberglp.blpapi.impl.an  a [INFO] Session established with: /127.0.0.1:8194

I replaced the log.level = "info" with = "finest", and it makes no difference - only these lines appear in either case.

When I look at the successful connections with R2.11.1 and earlier rJava, I get no events in the org.findata* log, but exactly the same events in the blpjavaapi0.log.0 file.

The blpConnect() call hangs and can't be escaped from without closing the R session.

Baffled!

Murali

-----Original Message-----
From: John Laing [mailto:john.laing at gmail.com] 
Sent: 06 September 2011 23:40
To: Menon Murali
Cc: r-sig-finance at r-project.org
Subject: Re: [R-SIG-Finance] blpConnect hangs with RBloomberg 0.4-150 on R2.13.1

Hi Murali,

I don't see anything obvious that would cause this to stop working for
you on upgrade. One possibility could be that your Bloomberg API is
installed in a non-standard directory, but that's not definitely the
issue.

It might be useful to look at your Java logs. First, try increasing
the logging level like this:
conn <- blpConnect(blpapi.jar.file = 'C:/Program
Files/blp/API/blpapi3.jar', log.level = "info")

The log will be in your Java home dir (possibly the same as your
Windows home dir) named something like org.findata.blpwrapper.*.log.
We're looking for an entry like "Session Started" or "Service Started"
or something along those lines.

Thanks,
John
On Tue, Sep 6, 2011 at 7:35 AM, <Murali.Menon at avivainvestors.com> wrote:
Message-ID: <05C1ABBB41112A4DB61380AD45F18EB61A56607D5D@SWVLONCUEXDP01.im.root-domain.net>
In-Reply-To: <CAA3Wa=s7LBkokx_Fva8J0yx3tBcAY2-doah-+J+Q5z9vhdMkjQ@mail.gmail.com>