Thank you madchedar0,
But I think this approach can not be applied in my case as I'm trying to bind a HibernateSession factory using an MBean.
I appreciate it anyway.
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community