Custom Replication Agent Issues

Avatar

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
trc41594544
Level 3

30-08-2018

Hi all,

I tried to implement custom replication agent in AEM 6.2 SP1. Bundle gets started, service components are active and everything looks good. I used custom protocol too.

I created new replication agent and when i try to save, i am always getting the below errors

Agent not valid yet, no transport handler for protocol://api/production

com.day.cq.replication.Agent.deded Agent not valid yet. No content builder for protocol

I have looked in to all the forum questions regarding this error and i made sure all the suggestions are followed. I checked for "name" , checked whether all methods are properly overriden or not. I have given transport handler high service ranking.

None of the things i tried are working.

If any one have any suggestions that would be really helpful.

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

30-08-2018

Hi,

please check custom Akamai cache flush Replication Agent Creating a custom Akamai replication agent in AEM - Adobe Experience Manager | AEM/CQ | Apache Sling   if helps.

Avatar

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
trc41594544
Level 3

31-08-2018

Hi,

That is the one i have used as reference and i am running in to the issue. All the steps are almost the same with the exception of i have imported couple of 3rd party jars and added it in Import-Package and Export-package in Maven POM.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

31-08-2018

If you follow that article exactly as is - are you running into problems

Avatar

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
trc41594544
Level 3

Likes

16 likes

Total Posts

43 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
trc41594544
Level 3

31-08-2018

No, when i deep dive in to the issue, i am running in to the issue when i have external Jars added in Maven POM's. If those are not present then it works, if they are present, then it does not work.

Yet, the bundle will be active, services inside the bundle will be active.

Thanks