Yes, I have configured the user mapping configuration in system console. In osgi bundles, wherever the .loginAdministrstive(null) is called , i have replaced by below written codes:-@Component(immediate=true) @Service(value = WriteSerive.class) public class WriteServiceImp implements WriteService { ...