Is there any order or positions of tags must be followed in the ejb-jar.xml ?
a simple way is to use a XML editor that check against the dtd, you will find it under .../docs/dtd.
If you use for example JEdit the DTD's can be received automaticaly from the given URL.
With JBoss4 there was no check, starting with JBoss5 the descriptors are checked against the spec.
Thank you Dieter Fink.