It's a little unclear from your post... there is no automatic relationship between mbeans and jndi. Does your mbean bind itself in jndi? Is it seen in jndiview?
Yes, the mbean shows up in the jndiview (port 8082). I'm using JBoss 3.0. The code used to work fine under JBoss 2.2