On 06/27/2012 03:17 PM, ramesh chandra wrote:
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
It might help someone in future.
What caused the error and the problem was the *** I used in import-package.
Removing the star fixed the issue.
<Import-Package>
com.tableters.alpha.invite.common*;version=${project.version},
com.tableters.alpha.invite.dao*;version=${project.version},
*
</Import-Package>
regards,
Ramesh