in Oracle 9i, if you use RECOVER MANAGED STANDBY DATABASE, it will automatically resolve archive gaps.