In JBoss Community documentation, I have tested
3.4.3.1. A Standard MBean Example program it is working absolutely fine. The access code of HashMap is perfectly working. But when I am trying to access from outside JBoss, it returns null obviously I have set the environment property in following way
Properties prop=new Properties();
prop.setProperty(Context................. the way you have mensioned on previous reply.
But still it gives null value. It is not returing HashMap value.