unable to create jndi provider

problems encountered while creating JNDI Provider. [BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext. Broker Exception: Cannot access information about document type ‘Broker::JmsNaming::WmJmsNamingContext’. Must have either ‘can publish’ or ‘can subscribe’ permission in the client’s client group.

please tell me how to work with jndi as i am new to it