em.close();
em = AppCatalogJPAUtils.getEntityManager();
em.getTransaction().begin();
ApplicationDeployment deployment = em.find(ApplicationDeployment.class, deploymentId);
if (existigAppEnv != null){
existigAppEnv.setValue(value);
existigAppEnv.setApplicationDeployment(deployment);
em.merge(existigAppEnv);
}else {