supporting karaf 3.x