Retain Job Stops Right After it Starts

  • 7022553
  • 12-Jan-2018
  • 12-Jan-2018

Environment

Retain Unified Archiving 4.1
MS Exchange

Situation

The Retain Jobs (using Exchange) are getting an error as soon as it starts:

"Fri Jan 12 10:39:35 CST 2018: com.gwava.archive.exceptions.RetainWorkerFatalException: at com.gwava.ews.jobs.selection.LiveEWSUserSelection.resolveArchiveSource(LiveEWSUserSelection.java:91) at com.gwava.ews.jobs.selection.EWSUserSelection.getListOfUsers(EWSUserSelection.java:112) at com.gwava.ews.jobs.ExchangeDredger.getListOfUsers(ExchangeDredger.java:150) at com.gwava.ews.jobs.ExchangeDredger.getListOfUsers(ExchangeDredger.java:56) at com.gwava.caapi.process.RetainDredger.processNormalJob(RetainDredger.java:268) at com.gwava.ews.jobs.ExchangeDredger.executeWork(ExchangeDredger.java:586) at com.gwava.jobs.RetainArchiveJob.performDredge(RetainArchiveJob.java:567) at com.gwava.jobs.RetainArchiveJob.execute(RetainArchiveJob.java:235) at com.gwava.jobs.RetainArchiveJob.execute(RetainArchiveJob.java:448) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: '' ]; remaining name '' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888) at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1329) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:235) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:141) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:129) at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:142) at com.gwava.address.exchange.impl.UserViaGUIDLDAP.getUserForDN(UserViaGUIDLDAP.java:60) at com.gwava.address.exchange.impl.UserViaGUIDLDAP.getUser(UserViaGUIDLDAP.java:47) at com.gwava.address.exchange.impl.UserViaGUIDLDAP.performOperation(UserViaGUIDLDAP.java:99) at com.gwava.ews.jobs.selection.LiveEWSUserSelection.processIncludeUserSource(LiveEWSUserSelection.java:151) at com.gwava.ews.jobs.selection.LiveEWSUserSelection.resolveArchiveSource(LiveEWSUserSelection.java:80) ... 10 more "

Resolution

This can happen when there are disabled user accounts in the list of users to get archived.  Remove all disabled/inactive users from the list.
  1. Under Jobs, find the job that isn't running
  2. Click on Mailboxes tab
  3. Open Users and remove all disabled user accounts
The job should now run.

Note: If it still does not run, try creating a new job with one active user and see if it runs. If it does, then you'll know you have more disabled users in the Job that will not run. If it still does not run check the impersonation user account by going through this TID.

Cause

Disabled users are in the list of users to get archived.