LRDOCS-778: Updated JBoss datasource and mail config code