revert legacy osgi configuration