Correspondence of JBoss6 and minor correction