yes, I had a similar issue, where it was not connecting to a windows based java application. turns out that my antivirus blocked a connection of appman.exe started by BP to the application,
When I enabled it was able to connect fine, but it still kept detaching. I added the applications as a trusted app, seems to be fine since then, but then again I am not sure your case is similar. hope it helps.