Fixed relative path issue for JBoss 7