[#LIB-117] Issue of loading resources in OSGI context