We're having trouble where our project, during deployment, causes a restart of all the core AEM bundles on every deploy. We're not certain when this bug was introduced or how to solve it.
There appears to be some documentation of an error like this, but I don't feel we meet this criteria - Custom bundle install causes core AEM bundles to restart
None of our custom bundles are exporting core libraries. Is there another potential cause? Or something similar to the above?
That document sounds applicable to your use case. Have you tried going through the steps to resolve?
Views
Replies
Total Likes
I did go through the steps to resolve it in that document. Neither of the custom bundles we deploy exports core libraries. This is what bundle-plugin configuration looks like.
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>com.ourdomain.od-ourproject</Bundle-SymbolicName>
<Export-Package>
com.ourdomain.ourproject.*,
com.ourdomain.importer.*,
com.ourdomain.searchpromote.*,
com.ourdomain.form.*,
com.ourdomain.mediasite.*
</Export-Package>
<Import-Package>
<!-- all other dependencies should be marked optional -->
*;resolution:=optional
</Import-Package>
<Sling-Model-Packages>
com.ourdomain.ourproject.models.components,
com.ourdomain.ourproject.models.templates,
com.ourdomain.ourproject.models.gigya,
com.ourdomain.form.components,
com.ourdomain.form.templates,
com.ourdomain.mediasite.models.components
</Sling-Model-Packages>
<Embed-Dependency>signpost-core,signpost-commonshttp4,core.wcm.components.core</Embed-Dependency>
</instructions>
</configuration>
</plugin>
Under "Importing Bundles" the one situation we have is that we have a customization of Brightcove Connector that is being imported. So the customized Brightcove Connector shows up as being imported by com.ourdomain.od-ourproject. Is that our problem and what would the resolution be? I assumed that document wasn't related since we don't export any core libraries.
Views
Replies
Total Likes
Could you share the logs and MANIFEST.MF of your bundle as mentioned by Jörg?
Are you dispatching any kind of events from your code or have bundle-activators performing any task(s)?
Brightcove (com.coresecure.brightcove.cq5.brightcove-services) shouldn't be a problem, it doesn't export any core services.
Not sure if this is tied to ReferencePolicy.DYNAMIC
https://osgi.org/javadoc/r5/enterprise/org/osgi/service/component/annotations/ReferencePolicy.html
Views
Replies
Total Likes
Here's the MANIFEST.MF from the bundle.
Not sure what you mean by logs.
Manifest-Version: 1.0
Bnd-LastModified: 1555356723270
Build-Jdk: 1.8.0_201
Built-By: preston.work
Bundle-ClassPath: .,signpost-core-1.2.jar,signpost-commonshttp4-1.2.jar,
core.wcm.components.core-1.1.0.jar
Bundle-Description: Maven Multimodule project for OurCompany.
Bundle-ManifestVersion: 2
Bundle-Name: OurCompany Bundle
Bundle-SymbolicName: com.ourcompany.vf-harmony
Bundle-Version: 0.0.1.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Embed-Dependency: signpost-core,signpost-commonshttp4,core.wcm.component
s.core
Embedded-Artifacts: signpost-core-1.2.jar;g="oauth.signpost";a="signpost
-core";v="1.2",signpost-commonshttp4-1.2.jar;g="oauth.signpost";a="sign
post-commonshttp4";v="1.2",core.wcm.components.core-1.1.0.jar;g="com.ad
obe.cq";a="core.wcm.components.core";v="1.1.0"
Export-Package: com.ourcompany.harmony.models;uses:="com.day.cq.wcm.ap
i,com.ourcompany.harmony.models.entities,org.apache.sling.api.resourc
e";version="0.0.1",com.ourcompany.harmony.models.components;uses:="co
m.day.cq.wcm.api.designer,com.day.cq.wcm.foundation,com.ourcompany.ha
rmony.models,com.ourcompany.harmony.models.components.navlist,com.vis
itflorida.harmony.models.entities,com.ourcompany.harmony.models.templ
ates.sections,javax.annotation,javax.inject,org.apache.sling.api,org.ap
ache.sling.api.resource,org.apache.sling.models.annotations";version="0
.0.1",com.ourcompany.harmony.models.components.authoreddeals;uses:="c
om.ourcompany.harmony.models.components,javax.annotation,org.apache.s
ling.api.resource,org.apache.sling.models.annotations";version="0.0.1",
com.ourcompany.harmony.models.components.cityataglance;uses:="com.vis
itflorida.harmony.models.components.searchresults,org.apache.sling.api.
resource,org.apache.sling.models.annotations";version="0.0.1",com.visit
florida.harmony.models.components.ctapanes;uses:="com.ourcompany.harm
ony.models.components,javax.annotation,org.apache.sling.api.resource,or
g.apache.sling.models.annotations";version="0.0.1",com.ourcompany.har
mony.models.components.curatedtiles;uses:="com.ourcompany.harmony.mod
els.components,org.apache.sling.api.resource,org.apache.sling.models.an
notations";version="0.0.1",com.ourcompany.harmony.models.components.f
eaturedgallery;uses:="com.ourcompany.harmony.models.entities,javax.an
notation,org.apache.sling.api.resource,org.apache.sling.models.annotati
ons";version="0.0.1",com.ourcompany.harmony.models.components.findchi
ldlisting;uses:="org.apache.sling.api.resource,org.apache.sling.models.
annotations";version="0.0.1",com.ourcompany.harmony.models.components
.floridanowlocations;uses:="javax.annotation,org.apache.sling.api.resou
rce,org.apache.sling.models.annotations";version="0.0.1",com.visitflori
da.harmony.models.components.imagegallery;uses:="com.ourcompany.harmo
ny.models.entities,javax.annotation,org.apache.sling.api.resource,org.a
pache.sling.models.annotations";version="0.0.1",com.ourcompany.harmon
y.models.components.navlist;uses:="com.ourcompany.harmony.models.enti
ties,javax.annotation,org.apache.sling.api.resource,org.apache.sling.mo
dels.annotations";version="0.0.1",com.ourcompany.harmony.models.compo
nents.ordertravelguides;uses:="com.ourcompany.harmony.models.componen
ts,org.apache.sling.api.resource,org.apache.sling.models.annotations";v
ersion="0.0.1",com.ourcompany.harmony.models.components.regionmap;use
s:="javax.annotation,org.apache.sling.api.resource,org.apache.sling.mod
els.annotations";version="0.0.1",com.ourcompany.harmony.models.compon
ents.searchresults;uses:="org.apache.sling.api.resource,org.apache.slin
g.models.annotations";version="0.0.1",com.ourcompany.harmony.models.c
omponents.socialaccounts;uses:="javax.annotation,org.apache.sling.api.r
esource,org.apache.sling.models.annotations";version="0.0.1",com.visitf
lorida.harmony.models.entities;uses:="com.day.cq.wcm.api,com.visitflori
da.harmony.models.components.featuredgallery,com.ourcompany.harmony.m
odels.components.imagegallery";version="0.0.1",com.ourcompany.harmony
.models.filters;uses:="com.ourcompany.searchpromote,javax.servlet,org
.osgi.service.component";version="0.0.1",com.ourcompany.harmony.model
s.gigya;uses:="com.day.cq.wcm.api,javax.annotation,javax.inject,org.apa
che.sling.api,org.apache.sling.models.annotations,org.apache.sling.mode
ls.annotations.injectorspecific";version="0.0.1",com.ourcompany.harmo
ny.models.templates;uses:="com.day.cq.commons,com.day.cq.search,com.day
.cq.wcm.api,com.day.cq.wcm.api.designer,com.ourcompany.harmony.models
,com.ourcompany.harmony.models.entities,com.ourcompany.harmony.mode
ls.gigya,com.ourcompany.harmony.models.templates.sections,com.visitfl
orida.harmony.services.cities,com.ourcompany.searchpromote.entities,c
om.ourcompany.searchpromote.entities.listing,javax.annotation,javax.i
nject,javax.jcr,org.apache.sling.api,org.apache.sling.api.resource,org.
apache.sling.models.annotations,org.apache.sling.models.annotations.inj
ectorspecific,org.apache.sling.xss,org.slf4j";version="0.0.1",com.visit
florida.harmony.models.templates.citydetail;uses:="com.ourcompany.har
mony.models.entities,com.ourcompany.harmony.models.templates,com.visi
tflorida.harmony.services.cities,javax.annotation,javax.inject,org.apac
he.sling.api,org.apache.sling.api.resource,org.apache.sling.models.anno
tations,org.apache.sling.models.annotations.injectorspecific";version="
0.0.1",com.ourcompany.harmony.models.templates.sections;uses:="javax.
inject,org.apache.sling.api.resource,org.apache.sling.models.annotation
s,org.slf4j";version="0.0.1",com.ourcompany.harmony.providers;uses:="
com.day.cq.wcm.foundation,com.day.image,javax.jcr,javax.servlet,org.apa
che.sling.api,org.apache.sling.api.resource,org.apache.sling.api.servle
ts,org.apache.sling.commons.mime,org.osgi.service.component";version="0
.0.1",com.ourcompany.harmony.providers.datasources;uses:="javax.servl
et,org.apache.sling.api,org.apache.sling.api.servlets";version="0.0.1",
com.ourcompany.harmony.providers.datasources.ordertravelguides;uses:=
"org.apache.sling.api,org.apache.sling.api.servlets";version="0.0.1",co
m.ourcompany.harmony.providers.datasources.ordertravelguides.impl;use
s:="com.ourcompany.harmony.providers.datasources.ordertravelguides";v
ersion="0.0.1",com.ourcompany.harmony.providers.datasources.topicsear
chresults;uses:="com.ourcompany.harmony.services,com.ourcompany.har
mony.services.taxonomy,javax.servlet,org.apache.sling.api,org.apache.sl
ing.api.servlets";version="0.0.1",com.ourcompany.harmony.services;use
s:="org.apache.sling.api,org.apache.sling.api.request,org.apache.sling.
api.servlets,org.apache.sling.discovery,org.apache.sling.settings,org.s
lf4j";version="0.0.1",com.ourcompany.harmony.services.cities;uses:="c
om.ourcompany.harmony.models.entities";version="0.0.1",com.visitflori
da.harmony.services.cities.impl;uses:="com.ourcompany.harmony.models.
entities,com.ourcompany.harmony.services,com.ourcompany.harmony.ser
vices.cities,com.ourcompany.harmony.services.helpers.pages,org.apache
.sling.api.resource";version="0.0.1",com.ourcompany.harmony.services.
floridaNowLocations;uses:="com.ourcompany.harmony.models.entities";ve
rsion="0.0.1",com.ourcompany.harmony.services.floridaNowLocations.imp
l;uses:="com.ourcompany.harmony.models.entities,com.ourcompany.harm
ony.services.floridaNowLocations,org.apache.sling.api.resource";version
="0.0.1",com.ourcompany.harmony.services.gigya;version="0.0.1",com.vi
sitflorida.harmony.services.gigya.impl;uses:="com.ourcompany.harmony.
services.gigya,org.osgi.service.component";version="0.0.1",com.visitflo
rida.harmony.services.google.maps;uses:="org.apache.sling.api.resource"
;version="0.0.1",com.ourcompany.harmony.services.google.maps.impl;use
s:="com.day.cq.commons,com.ourcompany.harmony.services.google.maps,or
g.apache.sling.api.resource,org.osgi.service.component";version="0.0.1"
,com.ourcompany.harmony.services.google.sitemap;version="0.0.1",com.v
isitflorida.harmony.services.google.sitemap.impl;uses:="com.day.cq.comm
ons,com.day.cq.replication,com.ourcompany.harmony.services,com.visitf
lorida.harmony.services.google.sitemap,com.ourcompany.searchpromote,o
rg.apache.sling.api.resource,org.apache.sling.event.jobs,org.apache.sli
ng.event.jobs.consumer,org.osgi.service.component";version="0.0.1",com.
ourcompany.harmony.services.helpers.pages;uses:="com.day.cq.wcm.api";
version="0.0.1",com.ourcompany.harmony.services.helpers.pages.impl;us
es:="com.day.cq.wcm.api,com.ourcompany.harmony.services.helpers.pages
,org.apache.sling.api.resource";version="0.0.1",com.ourcompany.harmon
y.services.impl;uses:="com.adobe.acs.commons.rewriter,com.day.cq.common
s,com.ourcompany.harmony.services,org.apache.sling.rewriter,org.osgi.
service.component,org.xml.sax";version="0.0.1",com.ourcompany.harmony
.services.jobs;uses:="com.ourcompany.harmony.services,com.visitflorid
a.searchpromote,org.apache.sling.api.resource,org.apache.sling.event.jo
bs,org.apache.sling.event.jobs.consumer";version="0.0.1",com.visitflori
da.harmony.services.listeners;uses:="com.day.cq.replication,com.visitfl
orida.harmony.services,com.ourcompany.searchpromote,javax.annotation,
org.apache.sling.api.resource,org.apache.sling.api.resource.observation
,org.apache.sling.event.jobs,org.osgi.service.event";version="0.0.1",co
m.ourcompany.harmony.services.report;uses:="com.ourcompany.harmony.
services,javax.servlet,org.apache.sling.api,org.apache.sling.event.jobs
";version="0.0.1",com.ourcompany.harmony.services.report.impl;uses:="
com.ourcompany.harmony.services,com.ourcompany.harmony.services.rep
ort,org.apache.sling.event.jobs";version="0.0.1",com.ourcompany.harmo
ny.services.report.job;uses:="com.ourcompany.harmony.services.report,
org.apache.sling.api.resource,org.apache.sling.event.jobs,org.apache.sl
ing.event.jobs.consumer,org.osgi.service.component";version="0.0.1",com
.ourcompany.harmony.services.report.listener;uses:="com.ourcompany.
harmony.services,org.apache.sling.api.resource,org.osgi.service.event";
version="0.0.1",com.ourcompany.harmony.services.socialAccounts;uses:=
"com.ourcompany.harmony.models.entities";version="0.0.1",com.visitflo
rida.harmony.services.socialAccounts.impl;uses:="com.ourcompany.harmo
ny.models.entities,com.ourcompany.harmony.services.socialAccounts,org
.apache.sling.api.resource";version="0.0.1",com.ourcompany.harmony.se
rvices.taxonomy;uses:="com.ourcompany.harmony.models.entities";versio
n="0.0.1",com.ourcompany.harmony.services.taxonomy.impl;uses:="com.vi
sitflorida.harmony.models.entities,com.ourcompany.harmony.services,co
m.ourcompany.harmony.services.helpers.pages,com.ourcompany.harmony.
services.taxonomy,org.apache.sling.api.resource";version="0.0.1",com.vi
sitflorida.harmony.services.twitter;version="0.0.1",com.ourcompany.ha
rmony.services.twitter.impl;uses:="com.ourcompany.harmony.services.tw
itter,org.osgi.service.component";version="0.0.1",com.ourcompany.harm
ony.services.workflow.exec.impl;uses:="com.adobe.acs.commons.email,com.
adobe.acs.commons.wcm,com.adobe.granite.workflow,com.adobe.granite.work
flow.exec,com.adobe.granite.workflow.metadata,com.day.cq.commons,com.da
y.cq.dam.api,com.day.cq.dam.api.handler,com.day.cq.dam.api.handler.stor
e,com.day.cq.replication,com.day.cq.wcm.api.reference,com.day.cq.workfl
ow,com.day.cq.workflow.exec,com.day.cq.workflow.metadata,javax.jcr,org.
apache.sling.api.resource,org.apache.sling.commons.mime,org.apache.slin
g.jcr.api,org.apache.sling.xss,org.osgi.service.component";version="0.0
.1",com.ourcompany.harmony.services.workflow.service.impl;uses:="com.
adobe.acs.commons.email,com.adobe.acs.commons.wcm,com.day.cq.commons,or
g.apache.sling.api.resource,org.apache.sling.event.jobs,org.apache.slin
g.event.jobs.consumer,org.apache.sling.jcr.api,org.osgi.service.compone
nt,org.osgi.service.event";version="0.0.1",com.ourcompany.harmony.ser
vices.workflow.util;uses:="com.day.cq.dam.api,com.day.cq.dam.api.handle
r,com.day.cq.dam.api.metadata,javax.jcr,org.apache.sling.api.resource,o
rg.apache.sling.commons.mime";version="0.0.1",com.ourcompany.harmony.
servlets;uses:="com.day.cq.replication,com.ourcompany.harmony.service
s,com.ourcompany.harmony.services.twitter,javax.annotation,javax.serv
let,org.apache.sling.api,org.apache.sling.api.resource,org.apache.sling
.api.servlets,org.apache.sling.commons.mime,org.apache.sling.event.jobs
";version="0.0.1",com.ourcompany.harmony.servlets.logs;uses:="javax.s
ervlet,org.apache.sling.api,org.apache.sling.api.servlets,org.osgi.serv
ice.cm";version="0.0.1",com.ourcompany.harmony.servlets.partnerportal
;uses:="com.day.cq.replication,org.apache.sling.api,org.apache.sling.ap
i.servlets,org.osgi.service.component";version="0.0.1",com.ourcompany
.harmony.taglibs;uses:="com.day.cq.commons,javax.servlet.jsp,javax.serv
let.jsp.tagext";version="0.0.1",com.ourcompany.harmony.utils;uses:="c
om.adobe.acs.commons.wcm,com.adobe.granite.workflow,com.adobe.granite.w
orkflow.exec,com.coresecure.brightcove.wrapper.sling,com.day.cq.commons
,com.day.cq.replication,com.day.cq.wcm.api,com.ourcompany.harmony.mod
els,com.ourcompany.harmony.models.entities,com.ourcompany.searchpro
mote.entities.listing,com.ourcompany.searchpromote.entities.listingss
earch,javax.jcr,org.apache.jackrabbit.api.security.user,org.apache.slin
g.api,org.apache.sling.api.resource,org.w3c.dom";version="0.0.1",com.vi
sitflorida.importer;uses:="com.ourcompany.importer.modules,groovy.lan
g,javax.servlet,org.apache.sling.api,org.apache.sling.api.servlets";ver
sion="0.0.1",com.ourcompany.importer.builders;uses:="com.day.cq.searc
h,groovy.lang,javax.jcr,org.apache.sling.api,org.apache.sling.api.resou
rce";version="0.0.1",com.ourcompany.importer.entities.harmony;uses:="
com.day.cq.wcm.api,com.ourcompany.importer.entities.legacy,groovy.lan
g,org.apache.sling.api.resource";version="0.0.1",com.ourcompany.impor
ter.entities.legacy;uses:="com.day.cq.wcm.api,groovy.lang,org.apache.sl
ing.api.resource";version="0.0.1",com.ourcompany.importer.factories;u
ses:="com.day.cq.wcm.api,com.ourcompany.importer.entities.harmony,com
.ourcompany.importer.entities.legacy,org.apache.sling.api.resource";v
ersion="0.0.1",com.ourcompany.importer.factories.impl;uses:="com.day.
cq.wcm.api,com.ourcompany.importer.entities.harmony,com.ourcompany.
importer.entities.legacy,com.ourcompany.importer.factories,groovy.lan
g,org.apache.sling.api.resource";version="0.0.1",com.ourcompany.impor
ter.helpers;uses:="com.day.cq.wcm.api,groovy.lang,org.apache.sling.api.
resource";version="0.0.1",com.ourcompany.importer.modules;uses:="org.
apache.sling.api";version="0.0.1",com.ourcompany.importer.modules.imp
l;uses:="com.day.cq.search,com.day.cq.wcm.api,com.ourcompany.importer
.builders,com.ourcompany.importer.entities.harmony,com.ourcompany.i
mporter.entities.legacy,com.ourcompany.importer.factories,com.visitfl
orida.importer.modules,groovy.lang,javax.jcr,org.apache.sling.api,org.a
pache.sling.api.resource,org.osgi.service.component";version="0.0.1",co
m.ourcompany.searchpromote;uses:="com.ourcompany.searchpromote.enti
ties,com.ourcompany.searchpromote.entities.listingssearch,com.visitfl
orida.searchpromote.entities.pagessearch,org.apache.sling.api.resource"
;version="0.0.1",com.ourcompany.searchpromote.entities;uses:="com.vis
itflorida.searchpromote.entities.listing";version="0.0.1",com.visitflor
ida.searchpromote.entities.listing;version="0.0.1",com.ourcompany.sea
rchpromote.entities.listingssearch;uses:="com.google.gson.annotations,c
om.ourcompany.harmony.models,com.ourcompany.searchpromote.entities.
listing,com.ourcompany.searchpromote.entities.pagessearch,com.visitfl
orida.searchpromote.serialize.details";version="0.0.1",com.ourcompany
.searchpromote.entities.pagessearch;version="0.0.1",com.ourcompany.se
archpromote.http;version="0.0.1",com.ourcompany.searchpromote.impl;us
es:="com.day.cq.searchpromote,com.ourcompany.searchpromote,com.visitf
lorida.searchpromote.entities,com.ourcompany.searchpromote.entities.l
istingssearch,com.ourcompany.searchpromote.entities.pagessearch,org.o
sgi.service.component";version="0.0.1",com.ourcompany.searchpromote.s
erialize;uses:="com.google.gson,com.ourcompany.searchpromote.entities
.listing";version="0.0.1",com.ourcompany.searchpromote.serialize.deta
ils;uses:="com.google.gson,com.google.gson.stream";version="0.0.1",com.
ourcompany.searchpromote.servlets;uses:="com.ourcompany.searchpromo
te,com.ourcompany.searchpromote.entities.listingssearch,com.visitflor
ida.searchpromote.entities.pagessearch,com.ourcompany.searchpromote.s
ervlets.search,org.apache.sling.api,org.apache.sling.api.servlets";vers
ion="0.0.1",com.ourcompany.searchpromote.servlets.search;uses:="com.v
isitflorida.harmony.services,com.ourcompany.harmony.services.helpers.
pages,com.ourcompany.searchpromote,com.ourcompany.searchpromote.ent
ities.listingssearch,com.ourcompany.searchpromote.entities.pagessearc
h,org.apache.sling.api";version="0.0.1",com.ourcompany.searchpromote.
servlets.search.topicsearch;uses:="com.ourcompany.searchpromote,com.v
isitflorida.searchpromote.entities.listingssearch,com.ourcompany.sear
chpromote.servlets.search,org.apache.sling.api";version="0.0.1",com.vis
itflorida.searchpromote.sling;version="0.0.1",com.ourcompany.searchpr
omote.sling.impl;version="0.0.1",com.ourcompany.form;uses:="com.visit
florida.form.actions.entities,com.ourcompany.form.components,javax.an
notation,javax.servlet,javax.servlet.http,org.apache.sling.api,org.apac
he.sling.api.request,org.apache.sling.api.servlets,org.slf4j";version="
0.0.1",com.ourcompany.form.actions;uses:="javax.inject,org.apache.sli
ng.api,org.apache.sling.api.resource,org.apache.sling.models.annotation
s";version="0.0.1",com.ourcompany.form.actions.entities;version="0.0.
1",com.ourcompany.form.actions.validate;version="0.0.1",com.visitflor
ida.form.components;uses:="com.day.cq.wcm.api,com.ourcompany.form.act
ions,com.ourcompany.form.components.type,javax.annotation,javax.injec
t,org.apache.sling.api,org.apache.sling.api.resource,org.apache.sling.m
odels.annotations";version="0.0.1",com.ourcompany.form.components.dro
pdown;uses:="com.ourcompany.form.components.type,com.ourcompany.har
mony.models.entities,org.apache.sling.api.resource,org.apache.sling.mod
els.annotations";version="0.0.1",com.ourcompany.form.components.type;
uses:="com.adobe.granite.ui.components.ds,javax.inject,org.apache.sling
.api,org.apache.sling.api.resource,org.apache.sling.models.annotations"
;version="0.0.1",com.ourcompany.form.services;uses:="com.day.cq.maile
r,com.ourcompany.form,com.ourcompany.form.actions.entities,com.visi
tflorida.form.components,com.ourcompany.form.services.fulfillment,com
.ourcompany.harmony.services.helpers.pages,javax.servlet.http,org.apa
che.sling.api.request,org.apache.sling.api.resource,org.osgi.service.co
mponent";version="0.0.1",com.ourcompany.form.services.fulfillment;use
s:="com.day.cq.mailer,com.day.cq.replication,com.ourcompany.form.comp
onents,com.ourcompany.harmony.providers.datasources.ordertravelguides
,com.ourcompany.harmony.services,org.apache.sling.api,org.apache.slin
g.api.request,org.apache.sling.api.resource,org.apache.sling.event.jobs
,org.apache.sling.event.jobs.consumer,org.osgi.service.component";versi
on="0.0.1",com.ourcompany.form.services.fulfillment.impl;uses:="com.d
ay.cq.replication,com.ourcompany.form.components,com.ourcompany.for
m.services.fulfillment,com.ourcompany.harmony.providers.datasources.o
rdertravelguides,com.ourcompany.harmony.services,org.apache.sling.api
.request,org.apache.sling.api.resource,org.apache.sling.event.jobs";ver
sion="0.0.1",com.ourcompany.form.templates;uses:="javax.inject,org.ap
ache.sling.api,org.apache.sling.api.resource,org.apache.sling.models.an
notations,org.apache.sling.models.annotations.injectorspecific";version
="0.0.1",com.ourcompany.mediasite;uses:="com.adobe.cq.sightly";versio
n="0.0.1",com.ourcompany.mediasite.config;uses:="com.day.cq.wcm.api";
version="0.0.1",com.ourcompany.mediasite.models.components;uses:="com
.adobe.cq.sightly,com.ourcompany.mediasite.util,javax.annotation,java
x.jcr,org.apache.sling.api,org.apache.sling.api.resource,org.apache.sli
ng.models.annotations";version="0.0.1",com.ourcompany.mediasite.util;
uses:="com.adobe.cq.sightly,com.day.cq.wcm.api,javax.jcr,org.apache.sli
ng.api.resource,org.apache.sling.settings";version="0.0.1"
Import-Package: com.adobe.acs.commons.email;resolution:=optional;version
="[1.2,2)",com.adobe.acs.commons.rewriter;resolution:=optional;version=
"[1.2,2)",com.adobe.acs.commons.util;resolution:=optional;version="[2.5
,3)",com.adobe.acs.commons.wcm;resolution:=optional;version="[2.0,3)",c
om.adobe.cq.commerce.api;resolution:=optional;version="[4.0,5)",com.ado
be.cq.commerce.common;resolution:=optional;version="[3.7,4)",com.adobe.
cq.export.json;resolution:=optional;version="[2.0,3)",com.adobe.cq.sigh
tly;resolution:=optional;version="[3.2,4)",com.adobe.cq.xf.social;resol
ution:=optional;version="[1.0,2)",com.adobe.granite.ui.components.ds;re
solution:=optional;version="[1.1,2)",com.adobe.granite.workflow;resolut
ion:=optional;version="[1.0,2)",com.adobe.granite.workflow.exec;resolut
ion:=optional;version="[1.2,2)",com.adobe.granite.workflow.metadata;res
olution:=optional;version="[1.0,2)",com.adobe.granite.workflow.model;re
solution:=optional;version="[1.0,2)",com.coresecure.brightcove.wrapper;
resolution:=optional;version="[5.1,6)",com.coresecure.brightcove.wrappe
r.api;resolution:=optional;version="[5.1,6)",com.coresecure.brightcove.
wrapper.sling;resolution:=optional;version="[5.1,6)",com.day.commons.da
tasource.poolservice;resolution:=optional;version="[1.1,2)",com.day.cq.
commons;resolution:=optional;version="[6.0,7)",com.day.cq.commons.jcr;r
esolution:=optional;version="[6.0,7)",com.day.cq.commons.mail;resolutio
n:=optional;version="[5.7,6)",com.day.cq.dam.api;resolution:=optional;v
ersion="[1.22,2)",com.day.cq.dam.api.handler;resolution:=optional;versi
on="[2.0,3)",com.day.cq.dam.api.handler.store;resolution:=optional;vers
ion="[1.1,2)",com.day.cq.dam.api.metadata;resolution:=optional;version=
"[1.1,2)",com.day.cq.dam.commons.metadata;resolution:=optional;version=
"[1.5,2)",com.day.cq.dam.commons.util;resolution:=optional;version="[1.
36,2)",com.day.cq.dam.core.process;resolution:=optional;version="[2.1,3
)",com.day.cq.i18n;resolution:=optional;version="[5.4,6)",com.day.cq.ma
iler;resolution:=optional;version="[6.0,7)",com.day.cq.replication;reso
lution:=optional;version="[6.4,7)",com.day.cq.search;resolution:=option
al;version="[1.2,2)",com.day.cq.search.result;resolution:=optional;vers
ion="[1.2,2)",com.day.cq.searchpromote;resolution:=optional;version="[1
.2,2)",com.day.cq.tagging;resolution:=optional;version="[5.8,6)",com.da
y.cq.wcm.api;resolution:=optional;version="[1.21,2)",com.day.cq.wcm.api
.components;resolution:=optional;version="[5.8,6)",com.day.cq.wcm.api.d
esigner;resolution:=optional;version="[5.8,6)",com.day.cq.wcm.api.polic
ies;resolution:=optional;version="[1.6,2)",com.day.cq.wcm.api.reference
;resolution:=optional;version="[1.1,2)",com.day.cq.wcm.foundation;resol
ution:=optional;version="[5.21,6)",com.day.cq.wcm.foundation.forms;reso
lution:=optional;version="[5.11,6)",com.day.cq.wcm.foundation.security;
resolution:=optional;version="[1.0,2)",com.day.cq.workflow;resolution:=
optional;version="[1.0,2)",com.day.cq.workflow.exec;resolution:=optiona
l;version="[1.0,2)",com.day.cq.workflow.metadata;resolution:=optional;v
ersion="[1.0,2)",com.day.cq.workflow.model;resolution:=optional;version
="[1.0,2)",com.day.image;resolution:=optional;version="[1.0,2)",com.fas
terxml.jackson.annotation;resolution:=optional,com.fasterxml.jackson.co
re;resolution:=optional,com.fasterxml.jackson.databind;resolution:=opti
onal,com.fasterxml.jackson.databind.module;resolution:=optional,com.fas
terxml.jackson.databind.ser.std;resolution:=optional,com.google.common.
base;resolution:=optional;version="[15.0,16)",com.google.common.collect
;resolution:=optional;version="[15.0,16)",com.google.gson;resolution:=o
ptional;version="[2.3,3)",com.google.gson.annotations;resolution:=optio
nal;version="[2.3,3)",com.google.gson.reflect;resolution:=optional;vers
ion="[2.3,3)",com.google.gson.stream;resolution:=optional;version="[2.3
,3)",com.ourcompany.form;resolution:=optional,com.ourcompany.form.a
ctions;resolution:=optional,com.ourcompany.form.actions.entities;reso
lution:=optional,com.ourcompany.form.components;resolution:=optional,
com.ourcompany.form.components.type;resolution:=optional,com.visitflo
rida.form.services.fulfillment;resolution:=optional,com.ourcompany.fo
rm.templates;resolution:=optional,com.ourcompany.harmony.models;resol
ution:=optional,com.ourcompany.harmony.models.components;resolution:=
optional,com.ourcompany.harmony.models.components.featuredgallery;res
olution:=optional,com.ourcompany.harmony.models.components.floridanow
locations;resolution:=optional,com.ourcompany.harmony.models.componen
ts.imagegallery;resolution:=optional,com.ourcompany.harmony.models.co
mponents.navlist;resolution:=optional,com.ourcompany.harmony.models.c
omponents.ordertravelguides;resolution:=optional,com.ourcompany.harmo
ny.models.components.searchresults;resolution:=optional,com.visitflorid
a.harmony.models.components.socialaccounts;resolution:=optional,com.vis
itflorida.harmony.models.entities;resolution:=optional,com.ourcompany
.harmony.models.gigya;resolution:=optional,com.ourcompany.harmony.mod
els.templates;resolution:=optional,com.ourcompany.harmony.models.temp
lates.sections;resolution:=optional,com.ourcompany.harmony.providers;
resolution:=optional,com.ourcompany.harmony.providers.datasources.ord
ertravelguides;resolution:=optional,com.ourcompany.harmony.services;r
esolution:=optional,com.ourcompany.harmony.services.cities;resolution
:=optional,com.ourcompany.harmony.services.floridaNowLocations;resolu
tion:=optional,com.ourcompany.harmony.services.gigya;resolution:=opti
onal,com.ourcompany.harmony.services.google.maps;resolution:=optional
,com.ourcompany.harmony.services.google.sitemap;resolution:=optional,
com.ourcompany.harmony.services.helpers.pages;resolution:=optional,co
m.ourcompany.harmony.services.report;resolution:=optional,com.visitfl
orida.harmony.services.socialAccounts;resolution:=optional,com.visitflo
rida.harmony.services.taxonomy;resolution:=optional,com.ourcompany.ha
rmony.services.twitter;resolution:=optional,com.ourcompany.harmony.se
rvices.workflow.util;resolution:=optional,com.ourcompany.harmony.util
s;resolution:=optional,com.ourcompany.importer;resolution:=optional,c
om.ourcompany.importer.builders;resolution:=optional,com.ourcompany
.importer.entities.harmony;resolution:=optional,com.ourcompany.import
er.entities.legacy;resolution:=optional,com.ourcompany.importer.facto
ries;resolution:=optional,com.ourcompany.importer.helpers;resolution:
=optional,com.ourcompany.importer.modules;resolution:=optional,com.vi
sitflorida.importer.modules.impl;resolution:=optional,com.ourcompany.
mediasite.config;resolution:=optional,com.ourcompany.mediasite.util;r
esolution:=optional,com.ourcompany.searchpromote;resolution:=optional
,com.ourcompany.searchpromote.entities;resolution:=optional,com.visit
florida.searchpromote.entities.listing;resolution:=optional,com.visitfl
orida.searchpromote.entities.listingssearch;resolution:=optional,com.vi
sitflorida.searchpromote.entities.pagessearch;resolution:=optional,com.
ourcompany.searchpromote.http;resolution:=optional,com.ourcompany.s
earchpromote.serialize;resolution:=optional,com.ourcompany.searchprom
ote.serialize.details;resolution:=optional,com.ourcompany.searchpromo
te.servlets.search;resolution:=optional,groovy.json;resolution:=optiona
l;version="[2.3,3)",groovy.lang;resolution:=optional;version="[2.3,3)",
javax.activation;resolution:=optional,javax.annotation;resolution:=opti
onal,javax.crypto;resolution:=optional,javax.crypto.spec;resolution:=op
tional,javax.imageio;resolution:=optional,javax.inject;resolution:=opti
onal,javax.jcr;resolution:=optional;version="[2.0,3)",javax.jcr.nodetyp
e;resolution:=optional;version="[2.0,3)",javax.jcr.query;resolution:=op
tional;version="[2.0,3)",javax.jcr.security;resolution:=optional;versio
n="[2.0,3)",javax.mail.internet;resolution:=optional,javax.servlet;reso
lution:=optional,javax.servlet.http;resolution:=optional,javax.servlet.
jsp;resolution:=optional,javax.servlet.jsp.tagext;resolution:=optional,
javax.sql;resolution:=optional,javax.xml.parsers;resolution:=optional,j
avax.xml.transform;resolution:=optional,javax.xml.transform.dom;resolut
ion:=optional,javax.xml.transform.stream;resolution:=optional,org.apach
e.commons.codec.binary;resolution:=optional;version="[1.5,2)",org.apach
e.commons.codec.digest;resolution:=optional;version="[1.5,2)",org.apach
e.commons.collections;resolution:=optional,org.apache.commons.httpclien
t;resolution:=optional,org.apache.commons.httpclient.methods;resolution
:=optional,org.apache.commons.io;resolution:=optional;version="[1.4,2)"
,org.apache.commons.lang;resolution:=optional;version="[2.5,3)",org.apa
che.commons.lang.text;resolution:=optional;version="[2.5,3)",org.apache
.commons.lang3;resolution:=optional;version="[3.3,4)",org.apache.common
s.lang3.math;resolution:=optional;version="[3.3,4)",org.apache.commons.
mail;resolution:=optional;version="[1.2,2)",org.apache.http;resolution:
=optional,org.apache.http.client;resolution:=optional,org.apache.http.c
lient.entity;resolution:=optional,org.apache.http.client.methods;resolu
tion:=optional,org.apache.http.conn;resolution:=optional,org.apache.htt
p.entity;resolution:=optional,org.apache.http.impl.client;resolution:=o
ptional,org.apache.http.message;resolution:=optional,org.apache.jackrab
bit.api.security.user;resolution:=optional;version="[2.4,3)",org.apache
.jackrabbit.commons;resolution:=optional;version="[2.4,3)",org.apache.j
ackrabbit.util;resolution:=optional;version="[2.4,3)",org.apache.sling.
api;resolution:=optional;version="[2.3,3)",org.apache.sling.api.request
;resolution:=optional;version="[2.4,3)",org.apache.sling.api.resource;r
esolution:=optional;version="[2.10,3)",org.apache.sling.api.resource.ob
servation;resolution:=optional;version="[1.2,2)",org.apache.sling.api.s
cripting;resolution:=optional;version="[2.3,3)",org.apache.sling.api.se
rvlets;resolution:=optional;version="[2.2,3)",org.apache.sling.api.wrap
pers;resolution:=optional;version="[2.6,3)",org.apache.sling.commons.js
on;resolution:=optional;version="[2.0,3)",org.apache.sling.commons.mime
;resolution:=optional;version="[2.1,3)",org.apache.sling.commons.osgi;r
esolution:=optional;version="[2.4,3)",org.apache.sling.commons.schedule
r;resolution:=optional;version="[2.5,3)",org.apache.sling.discovery;res
olution:=optional;version="[1.0,2)",org.apache.sling.event.jobs;resolut
ion:=optional;version="[2.0,3)",org.apache.sling.event.jobs.consumer;re
solution:=optional;version="[1.2,2)",org.apache.sling.jcr.api;resolutio
n:=optional;version="[2.4,3)",org.apache.sling.jcr.resource;resolution:
=optional;version="[2.4,3)",org.apache.sling.models.annotations;resolut
ion:=optional;version="[1.4,2)",org.apache.sling.models.annotations.inj
ectorspecific;resolution:=optional;version="[1.1,2)",org.apache.sling.m
odels.factory;resolution:=optional;version="[1.3,2)",org.apache.sling.m
odels.jacksonexporter;resolution:=optional;version="[1.0,2)",org.apache
.sling.rewriter;resolution:=optional;version="[1.0,2)",org.apache.sling
.settings;resolution:=optional;version="[1.3,2)",org.apache.sling.xss;r
esolution:=optional;version="[2.0,3)",org.codehaus.groovy.reflection;re
solution:=optional;version="[2.3,3)",org.codehaus.groovy.runtime;resolu
tion:=optional;version="[2.3,3)",org.codehaus.groovy.runtime.callsite;r
esolution:=optional;version="[2.3,3)",org.codehaus.groovy.runtime.typeh
andling;resolution:=optional;version="[2.3,3)",org.codehaus.groovy.runt
ime.wrappers;resolution:=optional;version="[2.3,3)",org.jsoup;resolutio
n:=optional;version="[1.9,2)",org.jsoup.nodes;resolution:=optional;vers
ion="[1.9,2)",org.osgi.framework;resolution:=optional;version="[1.8,2)"
,org.osgi.service.cm;resolution:=optional;version="[1.5,2)",org.osgi.se
rvice.component;resolution:=optional;version="[1.3,2)",org.osgi.service
.event;resolution:=optional;version="[1.3,2)",org.slf4j;resolution:=opt
ional;version="[1.7,2)",org.w3c.dom;resolution:=optional;version="[0.0,
1)",org.xml.sax;resolution:=optional;version="[0.0,1)",org.xml.sax.help
ers;resolution:=optional;version="[0.0,1)"
Provide-Capability: osgi.service;objectClass:List<String>="com.day.cq.wc
m.foundation.forms.FormStructureHelper",osgi.service;objectClass:List<S
tring>="com.ourcompany.mediasite.config.MediaSiteConfigService",osgi.
service;objectClass:List<String>="com.ourcompany.storefront.config.St
orefrontConfigService",osgi.service;objectClass:List<String>="javax.ser
vlet.Filter,javax.servlet.Servlet",osgi.service;objectClass:List<String
>="javax.servlet.Servlet",osgi.service;objectClass:List<String>="org.ap
ache.sling.models.jacksonexporter.ModuleProvider"
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compone
nt)(version>=1.3.0)(!(version>=2.0.0)))",osgi.service;filter:="(objectC
lass=com.day.cq.dam.api.handler.store.AssetStore)";effective:=active,os
gi.service;filter:="(objectClass=com.day.cq.wcm.foundation.forms.FormSt
ructureHelperFactory)";effective:=active,osgi.service;filter:="(objectC
lass=com.day.cq.wcm.foundation.security.SaferSlingPostValidator)";effec
tive:=active,osgi.service;filter:="(objectClass=com.ourcompany.storef
ront.config.StorefrontConfigService)";effective:=active,osgi.service;fi
lter:="(objectClass=org.apache.sling.api.resource.ResourceResolverFacto
ry)";effective:=active,osgi.service;filter:="(objectClass=org.apache.sl
ing.commons.mime.MimeTypeService)";effective:=active,osgi.service;filte
r:="(objectClass=org.apache.sling.commons.scheduler.Scheduler)";effecti
ve:=active,osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Service-Component: OSGI-INF/com.ourcompany.storefront.workflow.Initiat
orParticipantChooser.xml,OSGI-INF/com.ourcompany.harmony.servlets.Twi
tterServlet.xml,OSGI-INF/com.ourcompany.harmony.servlets.SearchPromot
eFlushServlet.xml,OSGI-INF/com.ourcompany.harmony.services.report.Lis
tingReferenceReportServlet.xml,OSGI-INF/com.ourcompany.importer.facto
ries.impl.EntityFactoryImpl.xml,OSGI-INF/com.ourcompany.harmony.servi
ces.report.impl.ListingReferenceReportImpl.xml,OSGI-INF/com.visitflorid
a.harmony.services.workflow.exec.impl.ListingMetadataProcessorProcess.x
ml,OSGI-INF/com.ourcompany.form.services.fulfillment.TravelguideMappi
ngConfigFactory.xml,OSGI-INF/com.ourcompany.harmony.services.ModeUtil
Activator.xml,OSGI-INF/com.ourcompany.importer.modules.impl.CitiesMod
uleImpl.xml,OSGI-INF/com.ourcompany.harmony.services.report.listener.
ReportingIDCleanupOnCopyListener.xml,OSGI-INF/com.ourcompany.storefro
nt.workflow.InitiateModeration.xml,OSGI-INF/com.ourcompany.harmony.se
rvlets.logs.VFLogTailingServlet.xml,OSGI-INF/com.ourcompany.importer.
modules.impl.WebcamsModuleImpl.xml,OSGI-INF/com.ourcompany.harmony.se
rvlets.StaticImageMetadataServlet.xml,OSGI-INF/com.ourcompany.harmony
.servlets.AssetMetadataServlet.xml,OSGI-INF/com.ourcompany.harmony.se
rvices.cities.impl.CitiesAndRegionsServiceImpl.xml,OSGI-INF/com.visitfl
orida.harmony.services.report.job.ListingReportBuilderJob.xml,OSGI-INF/
com.ourcompany.harmony.services.impl.PagePathConfigImpl.xml,OSGI-INF/
com.ourcompany.searchpromote.servlets.search.PagesSearchResultsServle
t.xml,OSGI-INF/com.ourcompany.storefront.workflow.RequestDenied.xml,O
SGI-INF/com.ourcompany.searchpromote.servlets.search.topicsearch.Topi
cSearchResultsDropdownServlet.xml,OSGI-INF/com.ourcompany.harmony.ser
vices.listeners.ListingIDPathListener.xml,OSGI-INF/com.ourcompany.for
m.services.fulfillment.impl.TravelguideMappingConfigImpl.xml,OSGI-INF/c
om.ourcompany.harmony.servlets.StaticImageServlet.xml,OSGI-INF/com.vi
sitflorida.harmony.services.google.sitemap.impl.GoogleSitemapConfigServ
iceImpl.xml,OSGI-INF/com.ourcompany.harmony.providers.datasources.ord
ertravelguides.impl.LanguageDatasourceConfigImpl.xml,OSGI-INF/com.visit
florida.searchpromote.servlets.RelatedListingsServlet.xml,OSGI-INF/com.
ourcompany.storefront.workflow.RequestApproved.xml,OSGI-INF/com.visit
florida.storefront.download.StorefrontDownloadAssetsServlet.xml,OSGI-IN
F/com.ourcompany.searchpromote.servlets.search.CityAtAGlanceServlet.x
ml,OSGI-INF/com.ourcompany.searchpromote.servlets.RelatedEditorialSer
vlet.xml,OSGI-INF/com.ourcompany.form.services.fulfillment.Travelguid
eEmailJob.xml,OSGI-INF/com.ourcompany.harmony.providers.ImageRenditio
nController.xml,OSGI-INF/com.ourcompany.harmony.services.floridaNowLo
cations.impl.FloridaNowLocationsServiceImpl.xml,OSGI-INF/com.visitflori
da.harmony.services.workflow.exec.impl.ActivatePageReferenceProcess.xml
,OSGI-INF/com.ourcompany.searchpromote.servlets.search.ChildListingRe
sultsServlet.xml,OSGI-INF/com.ourcompany.harmony.services.google.site
map.impl.GoogleSitemapJobConsumer.xml,OSGI-INF/com.ourcompany.harmony
.servlets.partnerportal.ImageUploadServlet.xml,OSGI-INF/com.visitflorid
a.harmony.taglibs.HandleLink.xml,OSGI-INF/com.ourcompany.form.service
s.fulfillment.impl.StorageServiceImpl.xml,OSGI-INF/com.ourcompany.har
mony.services.google.maps.impl.GoogleMapsIntegrationServiceImpl.xml,OSG
I-INF/com.ourcompany.form.services.FormHelperServiceImpl.xml,OSGI-INF
/com.ourcompany.searchpromote.servlets.search.WhatToDoServlet.xml,OSG
I-INF/com.ourcompany.form.FormSubmitServlet.xml,OSGI-INF/com.visitflo
rida.harmony.providers.datasources.ordertravelguides.LanguageDatasource
.xml,OSGI-INF/com.ourcompany.searchpromote.servlets.IndividualListing
Servlet.xml,OSGI-INF/com.ourcompany.harmony.services.twitter.impl.Twi
tterServiceImpl.xml,OSGI-INF/com.ourcompany.storefront.workflow.Store
frontRequestJob.xml,OSGI-INF/com.ourcompany.harmony.servlets.AssetMet
adataCSVServlet.xml,OSGI-INF/com.ourcompany.harmony.services.jobs.Lis
tingIDPathUpdateJob.xml,OSGI-INF/com.ourcompany.harmony.models.filter
s.ListingRequestFilter.xml,OSGI-INF/com.ourcompany.harmony.services.g
igya.impl.GigyaIntegrationServiceImpl.xml,OSGI-INF/com.ourcompany.har
mony.services.listeners.ListingAssetOperationListener.xml,OSGI-INF/com.
ourcompany.harmony.providers.datasources.topicsearchresults.LevelOneD
atasource.xml,OSGI-INF/com.ourcompany.harmony.services.workflow.servi
ce.impl.SendTemplatedEmailService.xml,OSGI-INF/com.ourcompany.harmony
.services.listeners.BrightcoveVideoListener.xml,OSGI-INF/com.visitflori
da.importer.modules.impl.RegionsModuleImpl.xml,OSGI-INF/com.visitflorid
a.searchpromote.servlets.SimilarListingsServlet.xml,OSGI-INF/com.visitf
lorida.storefront.workflow.StoreRequestDatabase.xml,OSGI-INF/com.visitf
lorida.harmony.services.impl.PrivacyPopupConfigImpl.xml,OSGI-INF/com.vi
sitflorida.searchpromote.servlets.search.MeetingsPropertySearchServlet.
xml,OSGI-INF/com.ourcompany.storefront.workflow.RequestPendingConfirm
ation.xml,OSGI-INF/com.ourcompany.harmony.services.taxonomy.impl.Taxo
nomyServiceImpl.xml,OSGI-INF/com.ourcompany.harmony.services.workflow
.exec.impl.CreateDAMFolderCustomProcess.xml,OSGI-INF/com.ourcompany.h
armony.services.google.sitemap.impl.GoogleSitemapServiceImpl.xml,OSGI-I
NF/com.ourcompany.form.services.fulfillment.TravelguideManualGenerati
onServlet.xml,OSGI-INF/com.ourcompany.storefront.workflow.StorefrontR
equestListener.xml,OSGI-INF/com.ourcompany.searchpromote.servlets.sea
rch.ListingsSearchResultServlet.xml,OSGI-INF/com.ourcompany.importer.
modules.impl.EditorialsModuleImpl.xml,OSGI-INF/com.ourcompany.harmony
.providers.datasources.CitiesDatasource.xml,OSGI-INF/com.ourcompany.h
armony.services.impl.StaticReferenceRewriteTransformerFactory.xml,OSGI-
INF/com.ourcompany.form.services.fulfillment.DateFolderCleanupService
.xml,OSGI-INF/com.ourcompany.harmony.servlets.logs.VFLogDownloadServl
et.xml,OSGI-INF/com.ourcompany.harmony.services.helpers.pages.impl.Pa
gesHelperServiceImpl.xml,OSGI-INF/com.ourcompany.harmony.providers.da
tasources.topicsearchresults.LevelTwoDatasource.xml,OSGI-INF/com.visitf
lorida.searchpromote.servlets.SearchSuggestionsServlet.xml,OSGI-INF/com
.ourcompany.form.services.fulfillment.ContentCleanupService.xml,OSGI-
INF/com.ourcompany.harmony.services.socialAccounts.impl.SocialService
Impl.xml,OSGI-INF/com.ourcompany.importer.VFMigrationServlet.xml,OSGI
-INF/com.ourcompany.storefront.data.AssetRequestDaoImpl.xml,OSGI-INF/
com.ourcompany.searchpromote.impl.SearchServiceImpl.xml,OSGI-INF/com.
ourcompany.form.services.RecaptchaIntegrationServiceImpl.xml,OSGI-INF
/com.ourcompany.harmony.services.workflow.exec.impl.SendTemplatedEmai
lProcess.xml,OSGI-INF/com.ourcompany.mediasite.config.MediaSiteConfig
ServiceImpl.xml,OSGI-INF/com.ourcompany.storefront.config.StorefrontC
onfigServiceImpl.xml,OSGI-INF/com.ourcompany.storefront.scheduler.Ass
etRequestCleanUpCronJob.xml,OSGI-INF/com.adobe.cq.wcm.core.components.i
nternal.form.FormStructureHelperImpl.xml,OSGI-INF/com.adobe.cq.wcm.core
.components.internal.jackson.PageModuleProvider.xml,OSGI-INF/com.adobe.
cq.wcm.core.components.internal.servlets.AdaptiveImageServlet.xml,OSGI-
INF/com.adobe.cq.wcm.core.components.internal.servlets.AllowedTitleSize
sDataSourceServlet.xml,OSGI-INF/com.adobe.cq.wcm.core.components.intern
al.servlets.CoreFormHandlingServlet.xml,OSGI-INF/com.adobe.cq.wcm.core.
components.internal.servlets.FormActionTypeDataSourceServlet.xml,OSGI-I
NF/com.adobe.cq.wcm.core.components.internal.servlets.FormActionTypeSet
tingsDataSourceServlet.xml,OSGI-INF/com.adobe.cq.wcm.core.components.in
ternal.servlets.WorkflowModelDataSourceServlet.xml
Sling-Model-Packages: com.ourcompany.harmony.models.components,com.vis
itflorida.harmony.models.templates,com.ourcompany.harmony.models.gigy
a,com.ourcompany.form.components,com.ourcompany.form.templates,com.
ourcompany.mediasite.models.components
Tool: Bnd-3.3.0.201609221906
Views
Replies
Total Likes
Are you using DS1.3 or a mix-match of DS & SCR annotations?
Do you have bnd-maven-plugin in your pom.xml?
snippet from manifest -
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.component)(version>=1.3.0)(!version>=2.0.0)))"
Views
Replies
Total Likes
We do not have bnd-maven-plugin in our pom.xml.
Views
Replies
Total Likes
To me, it seems that you're using extender pattern here and this bundle in itself registered as an extendee though I don't see any 'fragment' header in manifest. This doesn't seem usual thing to me unless its a fragement bundle or marked for another container.
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.component)
Questions:
Do you have the interfaces in a separate bundle and implementation in a separate bundle?
Do you spawn separate threads for scheduler (com.ourcompany.storefront.scheduler.***etRequestCleanUpCronJob.xml) or any other use case that could interfere with this bundle's lifecycle?
You should be able to some clues in the annotations used in java files, error.log and generated descriptor xml files under OSGI-INF/*
Another off-topic item, you should block the "impl" from being exposed. This config would export impl as seen in your manifest file.
com.ourcompany.form.services.fulfillment.impl....
<Export-Package>
com.ourdomain.ourproject.*,
com.ourdomain.importer.*,
com.ourdomain.searchpromote.*,
com.ourdomain.form.*,
com.ourdomain.mediasite.*
</Export-Package>
Views
Replies
Total Likes
Hm, nothing extraordinary.
I would remove the optional from the import statements, and use the standard package dependencies there, your code is unlikely to deal with when dependent packages are not available.
On the other hand: why do you embed the core components into your bundle? Don't you have it deployed directly into AEM?
What is the first bundle being started again after your custom bundle has succesfully started?
Jörg
Views
Replies
Total Likes
Jörg,
Is that something you're getting from the MANIFEST file? That we're embedding core components? The bundle-plugin configuration for our project looks like this.
----
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>com.visitflorida.vf-harmony</Bundle-SymbolicName>
<Export-Package>
com.visitflorida.harmony.*,
com.visitflorida.importer.*,
com.visitflorida.searchpromote.*,
com.visitflorida.form.*
</Export-Package>
<Import-Package>
<!-- all other dependencies should be marked optional -->
*;resolution:=optional
</Import-Package>
<Sling-Model-Packages>
com.visitflorida.harmony.models.components,
com.visitflorida.harmony.models.templates,
com.visitflorida.harmony.models.gigya,
com.visitflorida.form.components,
com.visitflorida.form.templates
</Sling-Model-Packages>
<Embed-Dependency>signpost-core,signpost-commonshttp4</Embed-Dependency>
</instructions>
</configuration>
</plugin>
----
So as far as I can tell we're just embedding the commonshttp4 dependency.
However, we also pull in the Brightcove Connector, slightly customized, and it's bundle-plugin configurations look like this.
----
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Activator>com.coresecure.brightcove.wrapper.Activator</Bundle-Activator>
<Embed-Dependency>
httpclient;scope=compile,
httpcore;scope=compile,
httpmime;scope=compile,
jsoup;scope=compile,
jcodec;scope=compile,
jcodec-javase;scope=compile
</Embed-Dependency>
<!--<Embed-Dependency>-->
<!--httpclient;scope=compile|runtime,-->
<!--<!–jackson-core;scope=compile|runtime,–>-->
<!--<!–java-jwt;scope=compile|runtime,–>-->
<!--</Embed-Dependency>-->
<Import-Package>
sun.net.www.protocol.https.*;resolution:=optional,javax.annotation;resolution:=optional,*
</Import-Package>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
<configuration>
<instructions>
<!--<DynamicImport-Package>${bundle.dynamicImport.package}</DynamicImport-Package>-->
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Directory>OSGI-INF/lib</Embed-Directory>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
----
Might this be where we're running into trouble?
Views
Replies
Total Likes
Do you have any 'xml files under OSGI-INF/lib folder?
Do you use Spring or other framework libraries in this code bundle?
<Embed-Directory>OSGI-INF/lib</Embed-Directory>
<Embed-Transitive>true</Embed-Transitive>
Views
Replies
Total Likes
are the bundles restarting (visible in /system/console/bundles) or just services? Bundles are only restarted if the package imports changes, while bundles might stop/start because of missing and re-appearing dependent services.
That document should help. In case it does not you might want to post the log and the MANIFEST.MF of your bundle here.
Jörg
Views
Replies
Total Likes
Nothing has worked so far. We're still stuck here.
Views
Replies
Total Likes
prestonModOp the only way your custom bundle would cause the out of the box bundles to restart is if you are exporting a java package that is the same as one of the out of the box bundles.
1. Go to the /system/console/bundles UI
2. Click on each of your custom bundles and see the "Importing Bundles" list
3. If any out of the box bundles are listed as importing your bundle
4. Click on the link to the out of the box bundle in that list
5. Look at the "Imported Packages" list on the out of the box bundle and find your bundle listed there - it will tell you which java package your bundle is exporting that it shouldn't be
6. Repeat this process for all of your custom bundles and remove all exports that overlap with out of the box bundles
Right. And this isn't what's happening with our setup. The only bundle importing either of the custom bundles is that one of them imports the other. No out of the box bundles import either custom bundle.
Views
Replies
Total Likes
Anything else to help troubleshoot this? I did everything you said (which I believe comes from the article I originally cited). Here's what I see for Brightcove Connector.
Importing Bundles | com.ourcompany (591) |
That's the end of the line on this scenario, right?
And yet as a test I removed Brightcove Connector from our codebase and the core services no longer restart if I do that. What else can I do. One custom bundle imports another custom bundle. Neither exports each other or a core service.
Views
Replies
Total Likes
Can you please post the complete MANIFEST.MF file from the brightcove bundle (or attach is as a file)?
Views
Replies
Total Likes
Has this issue been resolved? we're having a similar issue where our instances are reloading bundles in an infinite loop. any suggestions or direction on what would cause an infinite loop of bundles to reload?
Views
Replies
Total Likes
Well, that is not necessarily a product issue in the first place, but you can also get there with project bundles and services built in a certain way. Depends pretty much on the special case, it's hard to make generic statements.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies