SM-2279 The jndi feature can not be installed

(Cherry picked from the commit 62cd7187fe755bab2ee4c29eb0803467320ce79d)