コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Publish Instance with Servlets

Avatar

Level 5

I've replicated a site to our publish instance using activate tree. Everything

is find except when it calls out to the servlet. How do i replicate the servlet to the

publish instance. The servlet is currently in an oSGI bundle.

 

Thanks.

1 受け入れられたソリューション

Avatar

正解者
Employee Advisor

Hi,

when you deploy your application code, you should deploy it to all instances (both authoring and publishing) directly. Then you can let authors replicate content (pages/assets), and everything should work.

Technically it's possible to replicate bundles as well, but it's causing much more work and overhead than than a (manual/automated) deployment itself, because the later one is much mor predictable and controllable in terms of time used and instances affected by this operation.

kind regards,
Jörg

元の投稿で解決策を見る

4 返信

Avatar

Level 10

Have you replicated the OSGI Bundle?

Avatar

Level 10

To get OSGi bundles onto Publish, a package is typically deployed on the Pub instance that contains the OSGi bundle. That is how I get OSGi onto Pub instances. 

Replication is more of JCR node content - such as content under /apps, /content etc. 

https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/replication.html

You can also manually place an OSGi bundle on a Pub instance using the felix console. 

Avatar

正解者
Employee Advisor

Hi,

when you deploy your application code, you should deploy it to all instances (both authoring and publishing) directly. Then you can let authors replicate content (pages/assets), and everything should work.

Technically it's possible to replicate bundles as well, but it's causing much more work and overhead than than a (manual/automated) deployment itself, because the later one is much mor predictable and controllable in terms of time used and instances affected by this operation.

kind regards,
Jörg

Avatar

Level 5

Thank you all for the help!