Hi list and JFrog folks,

I have 2 Artifactory Pro Licenses. I want to have some smart replication logic 
between these Artifactory instances. The objective is to populate the newly 
created artifact to the cache of remote Artifactory instance as long as the 
artifact is published to local instance.

The idea is to write a user plugin to listen to  [afterCreate] event. After 
that, the plugin will send a replication pull request (REST) to the remote 
repository (-cache) of other Artifactory instance.

However, Artifactory doesn't seems to support more than 1 replication pull 
request at a time. I go this error message from the destination Artifactory 
instance.

2014-08-21 23:29:50,491 [http-bio-8081-exec-105] [ERROR] 
(o.a.s.TaskServiceImpl:303) - Task 
org.artifactory.repo.replication.RemoteReplicationJob cannot stop a mandatory 
related job org.artifactory.repo.replication.RemoteReplicationJob while it's 
running!
2014-08-21 23:29:50,494 [http-bio-8081-exec-105] [ERROR] 
(o.a.s.TaskServiceImpl:310) - Another manual task 
org.artifactory.repo.replication.RemoteReplicationJob is still active!


And the result of the corresponding REST replication request
{
  "errors" : [ {
    "status" : 500,
    "message" : "Error scheduling immediate replication: Another manual task 
org.artifactory.repo.replication.RemoteReplicationJob is still active!"
  } ]
}


Do we have a method to enable concurrent replication?

Regards,
Reeve Lau
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to