Issue with all package installation in AEM 6.5.5 | Community
Skip to main content
Shashi_Mulugu
Community Advisor
Community Advisor
March 17, 2021
Solved

Issue with all package installation in AEM 6.5.5

  • March 17, 2021
  • 1 reply
  • 1787 views

Hello Team,

 

When I have a project setup which has say 3 tenants.. each tenant has its own ui.apps and ui.content.. ui.apps has its core bundle embedded in it.

 

Now when we build and deploy project to aem 6.5.5 instance using cloud manager.. my first tenant gets installed/updated but sometimes it just skips 2 and 3 tenants.. when I check package manager and do manual install each tenant it gets installed.

 

I am suspecting that when my first tenant gets installed via all package.. it is going in phase of "Starting System Components" state.. meanwhile second tenant installation gets triggered but not completing.

 

@kaushalmall 

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,

* Is this a AMS-based Cloudmanager setup or Cloud Service?

* Are all these ui.apps/ui.content packages contained in a single "uber-package"?

And yes, it could work as you suspect, but in the end, only the logs can tell exactly what's going on.

 

From a technical point of view, it doesn't matter if multi-tenant or not, it's just that you deploy a number of bundles in your deployment. That's definitely not uncommon, but also not a problem per se. So there must be some other factor which is affecting you.

A scenario could be that when you install your first bundle, the OSGI container is required to rewire a lot because of the services which are installed. And that during that time some events cannot be handled properly. But that is all visible in the logs. So start at the point, where the first bundle is installed, and check for other services to be stopped and started, which are not part of that bundle. And then check what happens with your other bundles.

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
March 17, 2021

Hi,

* Is this a AMS-based Cloudmanager setup or Cloud Service?

* Are all these ui.apps/ui.content packages contained in a single "uber-package"?

And yes, it could work as you suspect, but in the end, only the logs can tell exactly what's going on.

 

From a technical point of view, it doesn't matter if multi-tenant or not, it's just that you deploy a number of bundles in your deployment. That's definitely not uncommon, but also not a problem per se. So there must be some other factor which is affecting you.

A scenario could be that when you install your first bundle, the OSGI container is required to rewire a lot because of the services which are installed. And that during that time some events cannot be handled properly. But that is all visible in the logs. So start at the point, where the first bundle is installed, and check for other services to be stopped and started, which are not part of that bundle. And then check what happens with your other bundles.

Shashi_Mulugu
Community Advisor
Community Advisor
March 18, 2021
@joerghoh yes it is AMS setup and it is an Uber-Jar. My point is, isn't it a common Scenario for almost cases to have multi tenant model. How to solve it. Appreciate any help.