Welcome to the forums!
Where exactly did you change that file and which version of JBoss AS?
P.S: Please use better subject lines while creating a forum post. Also post the relevant details including version numbers and the entire exception stacktrace.