What do you mean by "creating JNDI"?
Do you want to add a database pool? See https://community.jboss.org/wiki/configdatasources
Also I would recommend to use the latest version, i.e. 5.1 as 5.0 might be contain bugs.
1 of 1 people found this helpful
Thank you wolf, you made my day. The document really Helped very much.Regarding the version of Jboss I am forced to use the version 5.0