Openfire + Smack: not-authorized(401)

Hi,

We have got one 401: Not-Authorized exception,in production environment. This exception appeared only once and not repeated till date. We are not able or have no idea, how to replicate this.

The exception is caught while creating the room and sending the form configuration. Below is the code snippet

MultiUserChat muc = new MultiUserChat(connection, mucRoomName);

  				//Owner nick name we can not retrieve from muc instance hence assigning while muc creation
  				//mucOwnerName used in super
  				mucOwnerName = agentDisplayName; 
  				
  				muc.create(agentDisplayName);
  				Form configurationForm = muc.getConfigurationForm();
  	            Form answerForm = configurationForm.createAnswerForm();
  	            answerForm.setAnswer("muc#roomconfig_roomname", 
                                JIDUtil.getNameWithoutDomain(mucRoomName));
  	            answerForm.setAnswer("muc#roomconfig_roomdesc", "CHAT ROOM");
  	            answerForm.setAnswer("muc#roomconfig_publicroom", true);
  	            answerForm.setAnswer("muc#roomconfig_changesubject", true);
  	            answerForm.setAnswer("muc#roomconfig_moderatedroom",false);
  	            answerForm.setAnswer("muc#roomconfig_allowinvites", true);
  		   answerForm.setAnswer("muc#roomconfig_enablelogging", true);
  		  muc.sendConfigurationForm(answerForm);				

Any help is appreciated.

Thanks