Publish Instance with Servlets | Community
Skip to main content
TheBigRed
New Participant
January 7, 2016
Solved

Publish Instance with Servlets

  • January 7, 2016
  • 4 replies
  • 1070 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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 replies

TheBigRed
TheBigRedAuthor
New Participant
January 7, 2016

Thank you all for the help!

joerghoh
joerghohAccepted solution
Employee
January 7, 2016

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

smacdonald2008
New Participant
January 7, 2016

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. 

edubey
New Participant
January 7, 2016

Have you replicated the OSGI Bundle?