On 06/27/2012 10:03 AM, ramesh chandra wrote:
Here is the headers info for the bundle(invite-dao) , which is
exporting service. The bundle status shows 'created', however, the
other service which is using this service
is failing to get dependency.
This was working fine.
I am failing to see any thing that is stopping the other service from
getting this service.
any help appreciated.
regards
Ramesh
Headers -
Manifest-Version = 1.0
Bnd-LastModified = 1340808346247
Tool = Bnd-1.50.0
Built-By = ramesh
Build-Jdk = 1.6.0_26
Created-By = Apache Maven Bundle Plugin
Bundle-Name = invite-dao Bundle
Bundle-Description = invite-dao OSGi bundle project.
Bundle-SymbolicName = invite-dao
Bundle-Version = 1.0.0.SNAPSHOT
Bundle-ManifestVersion = 2
*
Export-Service =
com.tableters.alpha.invite.dao.ReqDAO*
Import-Package =
me.prettyprint.cassandra.model;version=[1.0,2),
me.prettyprint.cassandra.serializers;version=[1.0,2),
me.prettyprint.cassandra.service;version=[1.0,2),
me.prettyprint.hector.api;version=[1.0,2),
me.prettyprint.hector.api.beans;version=[1.0,2),
me.prettyprint.hector.api.exceptions;version=[1.0,2),
me.prettyprint.hector.api.factory;version=[1.0,2),
me.prettyprint.hector.api.mutation;version=[1.0,2),
org.osgi.service.blueprint;version=[1.0.0,2.0.0)
Export-Package =
com.tableters.alpha.invite.dao;
uses:=me.prettyprint.hector.api.exceptions,
me.prettyprint.hector.api,
me.prettyprint.cassandra.service,
me.prettyprint.hector.api.beans,
me.prettyprint.cassandra.serializers,
me.prettyprint.cassandra.model,
me.prettyprint.hector.api.mutation,
me.prettyprint.hector.api.factory;
version=1.0.0.SNAPSHOT
--- debug -
2012-06-27 09:57:13,769 | DEBUG | rint Extender: 1 |
BlueprintContainerImpl | 10 - org.apache.aries.blueprint -
0.3.1 | Running blueprint container for bundle
*com.tableters.alpha.invite-service in state WaitForInitialReferences
2012-06-27 09:57:13,769 | INFO | rint Extender: 1 |
BlueprintContainerImpl | 10 - org.apache.aries.blueprint -
0.3.1 | Bundle com.tableters.alpha.invite-service is waiting for
dependencies [(objectClass=com.tableters.alpha.invite.dao.ReqDAO)]*
2012-06-27 09:57:13,769 | DEBUG | rint Extender: 1 |
BlueprintEventDispatcher | 10 - org.apache.aries.blueprint -
0.3.1 | Sending blueprint container event
BlueprintEvent[type=GRACE_PERIOD,
dependencies=[(objectClass=com.tableters.alpha.invite.dao.ReqDAO)]]
for bundle com.tableters.alpha.invite-service
regards,
Ramesh
Thanks David,
Sorry , I posted with wrong subject
I see this part in headers for the service which is importing and other
services.
I am assuming the headers information here might be a clue to why this
service is unable to get hold of the dependency which is available.
Import-Service =
com.tableters.alpha.invite.dao.ReqDAO;multiple:=false
what could be the reason for *multiple:=false* ?
regards,
Ramesh