Oracle Error ORA-15554: cannot start workload replay client because the database server is not in PREPARE mode

Oracle Error Message

ORA-15554: cannot start workload replay client because the database server is not in PREPARE mode

Reason for the Error

The Workload Replay Client could not connect to the database server because the database server was not in the PREPARE mode.

Solution

Put the database in PREPARE mode by using DBMS_WORKLOAD_REPLAY.PREPARE_REPLAY, and restart the Workload Replay Client.