To support Karaf

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>