I would recommend taking your JavaBE.ini from Work Manager and using that with the appropriate changes. For Connect test there may be missing entries it is looking for and it has been problematic depending on which version / variant of the SAPCommon you are using.
--Bill