Perhaps an issue with replication.setPriority(priority);

Just a warning to anyone contemplating using a Java agent to change the priority of databases.

I used the Replication.setPriority() function in Java and since then the databases have not replicated successfully. I have had to resort to deleting the replicas and recreating them to get things to work properly. The client running the code was on Release 6.0.1 and one of the servers was Release 6.0.1 and the other (on which the replicas existed) was Release 5.0.11. I did do the “setPriority” function on both replicas and it ran successfully too.