JNDI: added warning if using singleton on non-system resource