if (0 == i
&& ResultCode.NO_SUCH_OBJECT == ex.getResultCode()){
final Entry entry = new Entry(entryDN, null, null, null);
entry.addObjectClass(DirectoryServer.getTopObjectClass());
entry.addObjectClass(ocCertRequest);
AddOperation addOperation = icc.processAdd(entry.getDN(),
entry.getObjectClasses(),
entry.getUserAttributes(),
entry.getOperationalAttributes());
if (ResultCode.SUCCESS != addOperation.getResultCode()) {
throw new DirectoryException(