Why you migrate to JBoss 5.0.
I would recommend to use 5.1 instead to have the latest bugfixes.
Maybe the problem is solved.
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community