Skip to main content
June 20, 2017
Risolto

OSGI Bundle always in installed mode

  • June 20, 2017
  • 8 risposte
  • 3811 visualizzazioni

Hi All,

I am facing an interesting issue where OSGI bundles when deployed on author are always in installed mode but all hunky dory on publish. Some pointers

1. I am using Jenkins to push these bundles to both author and publish, no manual deployment

2. My bundles have dependency e.g. A->B->C and follow sequence

3. Nothing doubtful in logs

4. Even when manually trying to make them active does not work

Any idea?

Questo argomento è stato chiuso alle risposte.
Migliore risposta di smacdonald2008

Its not a Code or dependency issue - as it works on a fresh install.

I suspect its a OS issue. The best way to proceed is to open a support ticket as you may need a hotfix from support.

8 risposte

smacdonald2008
Level 10
June 20, 2017

IN the Felix console - when you expand the OSGi - do you see any red - missing dependencies?

evanaemAutore
June 20, 2017

No, all clear and good.

Even tried similar post but its not scenario in my case.Re: OSGi Bundle startup issue

smacdonald2008
Level 10
June 20, 2017

I suspect something else here - can you try to install on a Fresh DEV instance. That will tell us if problem is with AEM or the bundle.

evanaemAutore
June 20, 2017

I setup fresh AEM instance on my laptop and it works fine.

I am facing this issue on my linux dev box and to confirm; i setup a fresh instance there as well, did same steps as on my laptop but it got stuck at same point.

evanaemAutore
June 21, 2017

It seems not to be a code issue, something bad either in AEM instance or OS might be causing this.

BTW i came across this page which talks about some hotfix needed for this kind of issue but i am not sure about its authenticity.

Can you/anyone confirm?

How to FIX: AEM bundles going to Installed State - CoderMagnet - JAVA JCR AEM Sightly Resource

smacdonald2008
Level 10
June 21, 2017

Its not a Code or dependency issue - as it works on a fresh install.

I suspect its a OS issue. The best way to proceed is to open a support ticket as you may need a hotfix from support.

joerghoh
Adobe Employee
Adobe Employee
June 21, 2017

Can you provide the detailled information on this bundle? A copy of the bundle details of the server, where it does not work.

I had the case, where the bundle was built for Java 1.8, but the AEM only ran with Java 7 and thus the bundle failed to start even if all dependencies were satisfied.

evanaemAutore
June 22, 2017

Thanks, we finally found the issue and it was realted to JVM version mismatch.