Updated mongodb layer and jboss comments