code: public static void removeAppNameSubContext(Context envCtx, String appName) {
  		if(envCtx != null) {
  			try {
  				javax.naming.Context sipContext = (javax.naming.Context)envCtx.lookup(SIP_SUBCONTEXT);
  				sipContext.destroySubcontext(appName);
  			} catch (NamingException e) {
  				logger.error(sm.getString("naming.unbindFailed", e));
  			}
  		}
  	}
docs: Removes the app name subcontext from the jndi mapping
  @param appName sub context Name