Do you have a doctype declaration at the top f your xml files (Deploy files)
which jboss version do u used. jboss-3.2.1 and higher u must tell valid DOCTYPE on ejb- jar file
Have a look at this site and this might help you in yr learning curve.
Check it out.