Well
first of all the Import-Service header isn't used anymore but BND (or
maven-bundle-plugin) still generates it.
Though it gives a good idea for debugging what actually caused the
Grace-Period.
A Grace-Period is always given if the imported service via Blueprint
is not available.
The bnd tool usually tries to extract this information from your blueprint.xml


regards, Achim

2012/6/27 ramesh chandra <[email protected]>:
> Service fails after graceperiod waiting for
> com.tableters.alpha.invite.dao.ReqDAO
>
> I can't find anything unusual except this header.
> I googled but don't see much explanation on this multiple:=false thing.
>
> Does it mean anything ?
>
> invite-service Blueprint Bundle (181)
> -------------------------------------
> Manifest-Version = 1.0
> Bnd-LastModified = 1340807671567
> Tool = Bnd-1.50.0
> Built-By = ramesh
> Build-Jdk = 1.6.0_26
> Created-By = Apache Maven Bundle Plugin
>
> Bundle-Name = invite-service Blueprint Bundle
> Bundle-Description = invite-service OSGi blueprint bundle project.
> Bundle-SymbolicName = com.tableters.alpha.invite-service
> Bundle-Version = 1.0.0.SNAPSHOT
> Bundle-ManifestVersion = 2
>
> Import-Service =
>     com.tableters.alpha.invite.dao.ReqDAO;multiple:=false
>
> Import-Package =
>     com.tableters.alpha.invite.common;version="[1.0,2)",
>     com.tableters.alpha.invite.dao;version="[1.0,2)",
>     org.osgi.service.blueprint;version="[1.0.0,2.0.0)"
> Export-Package =
>
>  com.tableters.alpha.invite.service;uses:="com.tableters.alpha.invite.dao,com.tableters.alpha.invite.common";version=1.0.0.SNAPSHOT
>
> regards,
> Ramesh



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to