BAD_AUTHENTICATION error when archiving from a Reload backup

  • 7020614
  • 10-Sep-2009
  • 29-Aug-2017


Retain (all versions)


When integrating Retain with Reload a job starts but no messages ever get archived. After some time the job will abort and nothing will have happened. When looking in the Retain Worker logs an error appears:

2009-09-14 11:15:02,044 [RTWQuartzScheduler_Archive_Worker-1] ERROR com.gwava.workerutils.ErrorHandle - reportError:  :: :: EXCEPTION : com.maintainet.reload.ReloadException: BAD_AUTHENTICATION com.maintainet.reload.ReloadException: BAD_AUTHENTICATION         at com.maintainet.reload.ReloadPOSession.requestNextSet(         at         at         at         at         at         at         at         at org.quartz.simpl.SimpleThreadPool$


First of all, it is not recommended archiving from Reload.  It is a recommended best practice to archive straight from the production post office.

However, if you must archive from Reload for some reason, the error BAD_AUTHENTICATION occurs when the password for the Retain Worker and what is input into the Reload configuration are not the same.
To fix this make sure the password for both the Retain Worker and Reload are the same. To do this follow these instructions:

1) Open up the Retain Server Configuration Interface (ipaddress/RetainServer).
2) Navigate to the Server Configuration section and click on the Miscellaneous Tab.
     a) In the Default Worker Password field type in a password. This will make sure that future Retain Workers will use this same password. Click save changes.
3) Navigate to Workers and click on the Connection Tab. In the Worker Password field type in the same password as you typed in the Default Worker Password.

4) Recreate the Retain Worker bootstrap. After you have made a change to the Worker you need to recreate the boostrap for the configuration settings to take affect. To recreate the bootstrap click on this link: Recreate Bootstrap

5) Go to the Reload server and open up the Reload administration.
Go to Administer Profiles
Select the Post Office Profile that is integrated with Retain
Select Advanced
Select Retain
In the Password section type in the same password as you typed above for the Worker password.

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 1435.